2950-IOS# sho vlan VLAN Name Status Ports default active Fao/1, Fao/2, Fa0/3, Fao/4 Fa0/5, Fao/6, Fao/7, Fao/8 Fao/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fao/16 Fa0/17, Fa0/18, Fa0/19, Fao/20 Fao/21, Fa0/22, Fa0/23, Fao/24 Gi0/1, Gi0/2 Lab-VLAN active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Configuring VLANs Assigning ports to VLANs in IOS is done 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): 2950-I0S(config)# int fo/1 2950-I0S(config-if)# switchport access vlan 10 2950-I0S(config-if)# int fo/2 0-IOS(config-if)# switchport access vlan 10 Newer versions of IOS allow commands to be applied to multiple interfaces with the interface range command. Using this command, you can accomplish the same result as before while saving some precious keystrokes: 2950-IOS (config)# interface range fo/1 - 2 2950-IOS (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: 2950-IOS# sho vlan VLAN Name Status Ports default active Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fao/8, Fa0/9, Fao/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gi0/1, Gi0/2 Lab-VLAN active Fa0/1, Fa0/2 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Chapter 4: VLANs CHAPTER 5 Trunking A trunk, using Cisco's terminology, is an interface or link that can carry frames for multiple VLANs at once. As we saw in the previous chapter, a trunk can be used to connect two switches SO that devices in VLANs on one switch can communicate with devices in the same VLANs on another switch. Unless there is only one VLAN to be connected, switches are connected at layer two using trunks. Figure 5-1 shows 