Administrator Guide

13 Dell Campus Networking Interoperability with Cisco Catalyst 1.1 | version 1.1
2.2.2 Configuring Multiple VLANS Cisco Catalyst
The following commands illustrate how to create multiple VLANs on the Cisco Catalyst. First, the switch is put
in configuration mode, then the vlan 30-35 command is issued to create VLANs 30 through 35. Optionally,
names can be given to each VLAN to help identify them. Configuration mode is then exited and the show
vlan brief command is issued to verify the creation of the VLANs.
C6504#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
C6504(config)#vlan 31-35
% Applying VLAN changes may take few minutes. Please wait...
C6504(config-vlan)#vlan 31
% Applying VLAN changes may take few minutes. Please wait...
C6504(config-vlan)#name Public
C6504(config-vlan)#vlan 32
% Applying VLAN changes may take few minutes. Please wait...
C6504(config-vlan)#name Guest
C6504(config-vlan)#end
C6504#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -----------------------------
1 default active
30 Management active Gi4/1
31 Public active
32 VLAN0032 active
33 Guest active
34 VLAN0034 active
35 VLAN0035 active
Adding ports to a VLAN
Once the VLANs are created, use the following commands to assign ports to each VLAN.
C6504(config)#interface gigabitEthernet 4/2
C6504(config-if)#description "Management"
C6504(config-if)#switchport
C6504(config-if)#switchport mode access
C6504(config-if)#switchport access vlan 30
C6504(config-if)#interface range gi4/3-6
C6504(config-if-range)#description "Public”
C6504(config-if-range)#switchport
C6504(config-if-range)#switchport mode access
C6504(config-if-range)#switchport access vlan 31
C6504(config-if-range)#interface range gi4/7-10
C6504(config-if-range)#description "Guest"
C6504(config-if-range)#switchport
C6504(config-if-range)#switchport mode access
C6504(config-if-range)#switchport access vlan 33