Configuring the Switch

3-174

3
Web – Click VLAN, 802.1Q VLAN, Static Table. Select a VLAN ID from the
scroll-down list. Modify the VLAN name and status if required. Select the
membership type by marking the appropriate radio button in the list of ports or
trunks. Click Apply.
Figure 3-100 Configuring a VLAN Static Table
CLI – The following example adds tagged and untagged ports to VLAN 2.
Console(config)#interface ethernet 1/1 4-155
Console(config-if)#switchport allowed vlan add 2 tagged 4-226
Console(config-if)#exit
Console(config)#interface ethernet 1/2
Console(config-if)#switchport allowed vlan add 2 untagged
Console(config-if)#exit
Console(config)#interface ethernet 1/13
Console(config-if)#switchport allowed vlan add 2 tagged