Configuring VLANs
VLAN_LAB#sh vlan
VLAN Name Status Ports
------
1 default Enabled 1-24, AUI, A, B
1002 fddi-default Suspended
1003 token-ring-defau Suspended
1004 fddinet-default Suspended
1005 trnet-default Suspended
------
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2
------
1 Ethernet 100001 1500 0 0 0 Unkn 1002 1003
1002 FDDI 101002 1500 0 0 0 Unkn 1 1003
1003 Token-Ring 101003 1500 1005 1 0 Unkn 1 1002
1004 FDDI-Net 101004 1500 0 0 1 IEEE 0 0
1005 Token-Ring-Net 101005 1500 0 0 1 IEEE 0 0
------
VLAN_LAB#conf t
Enter configuration commands, one per line. End with CNTL/Z
VLAN_LAB(config)#ip address 157.91.2.182 255.255.252.0
VLAN_LAB(config)#ip default-gateway 157.91.3.254
VLAN_LAB(config)#exit
VLAN_LAB#conf t
Enter configuration commands, one per line. End with CNTL/Z
VLAN_LAB(config)#vlan
VLAN_LAB(config)#vlan 10 name eng
VLAN_LAB(config)#vlan 11 name sci
VLAN_LAB(config)#exit
VLAN_LAB#sh vlan
VLAN Name Status Ports
------
1 default Enabled 1-24, AUI, A, B
10 eng Enabled
11 sci Enabled
1002 fddi-default Suspended
1003 token-ring-defau Suspended
1004 fddinet-default Suspended
1005 trnet-default Suspended
------
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2
------
1 Ethernet 100001 1500 0 0 0 Unkn 1002 1003
10 Ethernet 100010 1500 0 1 1 Unkn 0 0
11 Ethernet 100011 1500 0 1 1 Unkn 0 0
1002 FDDI 101002 1500 0 0 0 Unkn 1 1003
1003 Token-Ring 101003 1500 1005 1 0 Unkn 1 1002
1004 FDDI-Net 101004 1500 0 0 1 IEEE 0 0
1005 Token-Ring-Net 101005 1500 0 0 1 IEEE 0 0
------
VLAN_LAB#conf t
Enter configuration commands, one per line. End with CNTL/Z
VLAN_LAB(config)#interface eth
VLAN_LAB(config)#interface ethernet 0/1
VLAN_LAB(config-if)#vlan
VLAN_LAB(config-if)#vlan-membership stat
VLAN_LAB(config-if)#vlan-membership static 10
VLAN_LAB(config-if)#int eth 0/2
VLAN_LAB(config-if)#vl
VLAN_LAB(config-if)#vlan-membership 11
^
% Invalid input detected at '^' marker.
VLAN_LAB(config-if)#vlan-membership stati
VLAN_LAB(config-if)#vlan-membership static 11
VLAN_LAB(config-if)#en
% Ambiguous command: "en"
VLAN_LAB(config)#end
VLAN_LAB#sh vlan
VLAN_LAB#sh vlan
VLAN Name Status Ports
------
1 default Enabled 3-24, AUI, A, B
10 eng Enabled 1
11 sci Enabled 2
1002 fddi-default Suspended
1003 token-ring-defau Suspended
1004 fddinet-default Suspended
1005 trnet-default Suspended
------
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2
------
1 Ethernet 100001 1500 0 0 0 Unkn 1002 1003
10 Ethernet 100010 1500 0 1 1 Unkn 0 0
11 Ethernet 100011 1500 0 1 1 Unkn 0 0
1002 FDDI 101002 1500 0 0 0 Unkn 1 1003
1003 Token-Ring 101003 1500 1005 1 0 Unkn 1 1002
1004 FDDI-Net 101004 1500 0 0 1 IEEE 0 0
1005 Token-Ring-Net 101005 1500 0 0 1 IEEE 0 0
------
VLAN_LAB#conf t
Enter configuration commands, one per line. End with CNTL/Z
VLAN_LAB(config)#ip mgmt-vlan 10
VLAN_LAB(config)#end
VLAN_LAB#sh vlan
VLAN Name Status Ports
------
1 default Enabled 3-24, AUI, A, B
10 eng Enabled 1
11 sci Enabled 2
1002 fddi-default Suspended
1003 token-ring-defau Suspended
1004 fddinet-default Suspended
1005 trnet-default Suspended
------
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2
------
1 Ethernet 100001 1500 0 0 0 Unkn 1002 1003
10 Ethernet 100010 1500 0 1 1 Unkn 0 0
11 Ethernet 100011 1500 0 1 1 Unkn 0 0
1002 FDDI 101002 1500 0 0 0 Unkn 1 1003
1003 Token-Ring 101003 1500 1005 1 0 Unkn 1 1002
1004 FDDI-Net 101004 1500 0 0 1 IEEE 0 0
1005 Token-Ring-Net 101005 1500 0 0 1 IEEE 0 0
------
VLAN_LAB#sh vlan-membership
Port VLAN Membership Type Port VLAN Membership Type
------
1 10 Static 13 1 Static
2 11 Static 14 1 Static
3 1 Static 15 1 Static
4 1 Static 16 1 Static
5 1 Static 17 1 Static
6 1 Static 18 1 Static
7 1 Static 19 1 Static
8 1 Static 20 1 Static
9 1 Static 21 1 Static
10 1 Static 22 1 Static
11 1 Static 23 1 Static
12 1 Static 24 1 Static
AUI 1 Static
A 1 Static
B 1 Static
VLAN_LAB#