【正文】
t menu option (bridge/vlan): addSelect VLAN ID (14094) [1]: 431Select Ethernet port (126, all): 13Enter tag type (none, ) []: none。Select menu option (bridge/vlan): addSelect VLAN ID (14094) [1]: 431Select Ethernet port (126, all): 24Enter tag type (none, ) []: noneVLAN端口劃分完畢,然后做TRUNK口,也是用addPort命令疊加端口Select menu option (bridge/vlan): addSelect VLAN ID (14094) [1]: 430Select Ethernet port (126, all): 1Enter tag type (none, ) []:Select menu option (bridge/vlan): addSelect VLAN ID (14094) [1]: 431Select Ethernet port (126, all): 1Enter tag type (none, ) []:配置完成 港灣系列:Harbour(Config)create vlan test1 建立test1Harbour(Config)config vlan test1 tag 430 配置test1的vlan ID為430Harbour(Config)config vlan test1 add port 1 tagged 設(shè)置1口為test1的上連口Harbour(Config)config vlan test1 add port 2,3,4,5,6,7,8,9,10,11,12 untagged 設(shè)置212到test1Harbour(Config)create vlan test2Harbour(Config)config vlan test2 tag 431Harbour(Config)config vlan test2 add port 1 taggedHarbour(Config)config vlan test2 add port 13,14,15,16,17,18,19,20,21,22,23,24 untaggedHarbour(Config)save 華為系列: [huawei]inter e0/1 進(jìn)入端口1[huawei]port linktype trunk 配置端口為trunk口[huawei]port trunk permit vlan all 同意所有vlan通過[huawei]vlan 430 配置vlan ID 430[huaweivlan430]description test1 配置vlan430的名字為test1[huaweivlan430]port e0/2 to e0/12 把端口212加入vlan ID 430[huawei]vlan 431 [huaweivlan431]description test2 [huaweivlan431]port e0/13 to e0/24 7 / 7