126
L2SWITCH(config-if)# vlan-stacking priority 3
L2SWITCH(config)# interface gigaethernet1/0/2
L2SWITCH(config-if)# vlan-stacking port-based role tunnel
L2SWITCH(config-if)# vlan-stacking tunnel-tpid index 2
L2SWITCH(config)# interface gigaethernet1/0/5
L2SWITCH(config-if)# vlan-stacking port-based role access
L2SWITCH(config-if)# vlan-stacking spvid 100
L2SWITCH(config-if)# vlan-stacking priority 4
L2SWITCH(config)# interface gigaethernet1/0/6
L2SWITCH(config-if)# vlan-stacking port-based role tunnel
L2SWITCH(config-if)# vlan-stacking tunnel-tpid index 2
L2SWITCH(config-if)# exite
L2SWITCH(config)# exit
L2SWITCH# show vlan-stacking
L2SWITCH# show vlan-stacking tpid-table
L2SWITCH# show vlan-stacking port-based-qinq
Selective Q-in-Q
The traffic based Q-in-Q is also called Selective Q-in-Q. Selective Q-in-Q allows the Switch to
add different outer VLAN tags to the incoming frames received on one port according to their
inner VLAN tags. In the Selective Q-in-Q mode, switch performs traffic classification for the
traffic incoming to a port based on the VLAN ID. When a user uses different VLAN IDs for
different services, traffic can be classified according to the VLAN ID. For example, the VLAN
ID 20 for surfing on the internet by PC, VLAN ID 30for IPTV and VLAN ID 40for VIP
customers. After receiving user data, the switch labels the traffic of surfing on the Internet by PC
with 500 as a SPVID outer tag, IPTV with 600, and VIP customers with 700.
This following example shows how to configure ports 3 on the Switch to tag incoming frames
with the different service provider’s VID and priority.
L2SWITCH(config)# vlan-stacking selective
L2SWITCH(config)# vlan-stacking tpid-table index 6 value 9100
L2SWITCH(config)# vlan 20
L2SWITCH(config-vlan)# fixed 3,4
L2SWITCH(config-vlan)# tagged 3
L2SWITCH(config-vlan)# exit
Содержание NGI-M08C4-L2
Страница 1: ......
Страница 285: ...285 9 2 2 Web Configurations...