思科、神州數碼:
全局模式下
interface range FastEthernet 0/1 - 10
switchport mode access
switchport access vlan vid
華爲:
port-group 1
group-member e0/0/0 to e0/0/10
port link-type access //注意配置有先後順序,必須先指定接口類型,才能家加入VID.
port default vlan vid
思科、神州數碼:
全局模式下
interface range FastEthernet 0/1 - 10
switchport mode access
switchport access vlan vid
華爲:
port-group 1
group-member e0/0/0 to e0/0/10
port link-type access //注意配置有先後順序,必須先指定接口類型,才能家加入VID.
port default vlan vid