0 enet 100100 200 enet 100200 300 enet 100300 1002 fddi 101002 1003 tr 101003 1004 fdnet 101004 1500 - ieee - 1005 trnet 101005 1500 - ibm - Remote SPAN VLANs Primary Secondary Type Ports You assign ports to VLANs in IOS in interface configuration mode. Each interface must be configured individually with the switchport access command (this is in contrast to the CatOS switches, which allow you to add all the ports at once with the set vlan command): 3750-I0S(config)#int g1/0/1 3750-I0S(config-if)#switchport access vlan 10 3750-I0S(config-if)#intg 3750-I0S(config-if)#switchport access vlan 10 Modern versions of IOS allow you to apply commands to multiple interfaces with the interface range command. Using this command, you can accomplish the same result as before while saving some precious keystrokes: 3750-I0S(config)#interface range g1/0/1 - 2 3750-I0S(config-if-range)#switchport access vlan 10 Now, when you execute the show vlan command, you'll see that the ports have been assigned to the proper VLAN: 3750-IOS#sho vlan VLAN Name Status Ports 1 default active Gi1/0/3, Gi1/0/4, Gi1/0/5 Gi1/0/6, Gi1/0/7, Gi1/0/8 Gi1/0/9, Gi1/0/10, Gi1/0/11 Gi1/0/12, Gi1/0/13, Gi1/0/14 Gi1/0/15, Gi1/0/16, Gi1/0/17 Gi1/0/18, Gi1/0/21, Gi1/0/22 Gi1/0/23, Gi1/0/24, Gi1/0/25 Gi1/0/26, Gi1/0/27, Gi1/0/28 Gi1/0/29, Gi1/0/30, Gi1/0/31 Chapter 4: VLANs Gi1/0/32, Gi1/0/33, Gi1/0/34 Gi1/0/35, Gi1/0/36, Gi1/0/37 Gi1/0/38, Gi1/0/39, Gi1/0/40 Gi1/0/41, Gi1/0/42, Gi1/0/43 Gi1/0/44, Gi1/0/46, Gi1/0/49 Gi1/0/50, Gi1/0/51, Gi1/0/52 Lab-VLAN active Gi1/0/1, Gi1/0/2 100 VLAN0100 active VLAN0200 active 300 VLAN0300 active 1002 fddi-default act/unsup Nexus and NX-OS NX-OS uses a command interface similar to IOS. NX-OS behaves a little bit differently, especially concerning the configuration of interfaces. The methods used for configuring VLANs are very similar to IOS. First we create the VLAN with the vlan vlan-# command: NX-7K-1-Cozy(config)# vlan 10 Once you've created the VLAN, enter VLAN configuration mode and name the VLAN with the name vlan-name com