background image
248
Chapter 6
Inter-VLAN Routing
2.
Type the command show vlan to view the configured VLANs on the
switch.
Cat5000>(enable)sh vlan
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------- --------- ------- -------------------
1 default active 5 2/3-12
2 Sales active 10
3 Admin active 11
1002 fddi-default active 6
1003 token-ring-default active 9
1004 fddinet-default active 7
1005 trnet-default active 8 1003
[output cut]
3.
Verify that VTP is up and running correctly by telneting into 1900A
and 1900B and typing show vlan. The same VLANs should appear if
VTP if working properly. If not, verify that you spelled the VTP
domain the same on all switches.
4.
Configure HostA to be in VLAN 1, HostB to be in VLAN 2, and
HostC to be in VLAN 3.
1900A#config t
Enter configuration commands, one per line. End with
CNTL/Z
1900A(config)#int e0/1
1900A(config-if)#vlan-membership static 1
1900A(config-if)#int e0/2
1900A(config-if)#vlan-membership static 2
1900B#config t
Enter configuration commands, one per line. End with
CNTL/Z
1900B(config)#int e0/2
1900B(config-if)#vlan-membership static 3
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com