background image
108
Chapter 3
VLANs
For example, suppose MAC addresses have been entered into a central-
ized VLAN management application. If a node is then attached to an unas-
signed switch port, the VLAN management database can look up the
hardware address and assign and configure the switch port to the correct
VLAN. This can make management and configuration easier for the admin-
istrator. If a user moves, the switch will automatically assign them into the
correct VLAN. However, more administration is needed initially to set up
the database.
Cisco administrators can use the VLAN Management Policy Server
(VMPS) service to set up a database of MAC addresses that can be used for
dynamic addressing of VLANs. VMPS is a MAC-address-to-VLAN mapping
database.
Configuring Static VLANs
The Cisco Switching exam is interested only in static VLAN configuration.
We'll show you how to configure VLANs on a Catalyst 5000 switch as well
as a Catalyst 1900 switch.
It is important to understand the difference between the Catalyst 5000
series VLAN configuration and the IOS-based VLAN configuration.
Catalyst 5000 Series
To configure VLANs on a Catalyst 5000 switch, use the set vlan [vlan#]
[name]
command. Then, after your VLANs are configured, assign the ports
to each VLAN:
Todd5000> (enable) set vlan 2 name Sales
Vlan 2 configuration successful
After the VLAN is configured, use the set vlan number slot/ports
command:
Todd5000> (enable) set vlan 2 2/1-2
VLAN Mod/Ports
---- -----------------------
2 1/1-2
2/1-2
Please configure additional information for VLAN 2.
Todd5000> (enable)
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com