The following example deletes a statically bound VLAN from a port:
Gxxx-001(super)# clear port static-vlan 10/3 34
VLAN 34 is unbound from port 10/3
The following example deletes a VLAN and its interface:
Gxxx-001(super)# clear vlan 34
This command will assign all ports on VLAN 34 to their default in
the entire management domain – do you want to continue (Y/N)? y
All ports on VLAN-id assigned to default VLAN.
VLAN 34 was deleted successfully.
The following example sets the current VLAN as the ICC-VLAN:
Gxxx-001(super)# interface Vlan 66
Gxxx-001(super-if:Vlan 66)# icc-vlan
Done!
The following example enters configuration mode for a VLAN interface:
Gxxx-001(super)# interface Vlan 66
Gxxx-001(super-if:Vlan 66)#
The following example deletes a VLAN interface:
Gxxx-001(super)# no interface vlan 66
Done!
The following example statically binds a VLAN to a port:
Gxxx-001(super)# set port vlan-binding-mode 10/3 static
Set Port vlan binding method:10/3
The following example sets a port’s VLAN ID:
Gxxx-001(super)# set port vlan 54 10/3
Port 10/3 added to VLAN 54
The following example sets a port’s VLAN binding mode:
Gxxx-001(super)# set port vlan-binding-mode 10/3 bind-to-configured
Set Port vlan binding method:10/3
The following example configures the VLAN tagging mode of a port:
Gxxx-001(super)# set trunk 10/3 dot1q
Dot1Q VLAN tagging set on port 10/3.
The following example creates a VLAN:
Gxxx-001(super)# set vlan 2121 name Training
VLAN id 2121, vlan-name Training created.
The following example displays a list of the MAC addresses in the CAM of a VLAN:
Gxxx-001(super)# show cam vlan 54
Total Matching CAM Entries Displayed = 3
Dest MAC/Route Dest VLAN Destination Ports
------------------- ---- -----------------
00:01:02:dd:2f:9f 54 6/13
00:02:2d:47:00:6f 54 10/3
00:02:4b:5b:28:40 54 6/13
The following example displays the ICC-VLAN:
Gxxx-001(super)# show icc-vlan
VLAN 1
The following example displays interface configuration and statistics for a VLAN:
Gxxx-001(super)# show interfaces Vlan 1
VLAN 1 is up, line protocol is up
Physical address is 00.04.0d.29.c6.bd.
MTU 1500 bytes. Bandwidth 100000 kbit.
Reliability 255/255 txLoad 1/255 rxLoad 1/255
Encapsulation ARPA, ICC-VLAN
Link status trap disabled
Full-duplex, 100Mb/s
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, Last output never
Last clearing of 'show interface' counters never.
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 input drops, 0 output drops, 0 unknown protocols
0 packets input, 0 bytes
0 broadcasts received, 0 giants
0 input errors, 0 CRC
0 packets output, 0 bytes
0 output errors, 0 collisions
The following example displays port VLAN binding information:
Gxxx-001(super)# show port vlan-binding-mode 10
port 10/3 is bind to all configured VLANs
The following example displays VLAN tagging information:
Gxxx-001(super)# show trunk
Port Mode Binding mode Native VLAN
------ ----- ------------------------- -----------
10/3 dot1q bound to configured VLANs 54
The following example displays the VLANs configured on the device:
Gxxx-001(super)# show vlan
VLAN ID VLAN-name
------- --------------------------------
1 V1
54 Marketing
66 V66
2121 Training
Total number of VLANs: 4