background image
640
Appendix B
Configuring the Catalyst 1900 Switch
Lab B.3: Creating VLANs
In this lab, you will create multiple VLANs on only one switch. Lab B.4 will
have you create VTP configurations that will allow this VLAN information
to be propagated to the second switch.
1.
Telnet or connect to the first 1900 switch. Set the hostname of the
switch to 1900A.
#config t
(config)#hostname 1900A
1900A#
2.
Create four VLANs (2­5) and name them according to the following list:
1900A#config t
Enter configuration commands, one per line. End with
CNTL/Z
1900A(config)#vlan 2 name Sales
1900A(config)#vlan 3 name Management
1900A(config)#vlan 4 name Engineering
1900A(config)#vlan 5 name Marketing
1900A(config)#exit
Verify your VLANs with the show vlan command.
1900A#sh vlan
VLAN Name Status Ports
--------------------------------------
1 default Enabled 1-12, AUI, A, B
2 Sales Enabled
3 Management Enabled
4 Engineering Enabled
5 Marketing Enabled
VLAN 2
Sales
VLAN 3
Management
VLAN 4
Engineering
VLAN 5
Marketing
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com