下面的交换机命令中( ) 为端口指定VLAN。
AS1(config-if)# vlan-membership static
BS1(config-if)# vlan database
CS1(config-if)# switchport mode access
DS1(config-if)#switchport access vlan 1
AS1(config-if)# vlan-membership static
BS1(config-if)# vlan database
CS1(config-if)# switchport mode access
DS1(config-if)#switchport access vlan 1