![Vivotek AW-IHT-1270 Скачать руководство пользователя страница 96](http://html1.mh-extra.com/html/vivotek/aw-iht-1270/aw-iht-1270_user-manual_1041015096.webp)
88
This example shows how to configure switch A with ports 1 on the Switch to tag incoming frames
with the service provider’s VID of 200 (ports are connected to customer X network) and
configure port 7 to service provider’s VID of 100 (ports are connected to customer Y network).
This example also shows how to set the priority for port 1 to 3 and port 7 to 4.
L2SWITCH(config)# vlan-stacking port-based
L2SWITCH(config)# vlan-stacking tpid-table index 2 value 88a8
L2SWITCH(config)# vlan 10
L2SWITCH(config-vlan)# fixed 7,8
L2SWITCH(config-vlan)# tagged 7
L2SWITCH(config-vlan)# exit
L2SWITCH(config)# vlan 100
L2SWITCH(config-vlan)# fixed 7,8
L2SWITCH(config-vlan)# tagged 8
L2SWITCH(config-vlan)# exit
L2SWITCH(config)# vlan 20
L2SWITCH(config-vlan)# fixed 1,2
L2SWITCH(config-vlan)# tagged 1
L2SWITCH(config-vlan)# exit
L2SWITCH(config)# vlan 200
L2SWITCH(config-vlan)# fixed 1,2
L2SWITCH(config-vlan)# tagged 2
L2SWITCH(config-vlan)# exit
L2SWITCH(config)# interface gigaethernet1/0/1
L2SWITCH(config-if)# vlan-stacking port-based role access
L2SWITCH(config-if)# vlan-stacking spvid 200
L2SWITCH(config-if)# vlan-stacking priority 3
L2SWITCH(config)# interface gigaethernet1/0/2