3com 8807 참조 가이드

다운로드
페이지 1099
QinQ Configuration Commands
1067
Description
Use the traffic-redirect { nested-vlan | modified-vlan } command to enable 
ACL-based traffic classification on the ports and set/modify the outer VLAN tags to 
be inserted in the packets that match the specified ACL rules. (Note that this 
command only applies to packets that match ACL rules with the permit keyword 
specified.)
Use the undo traffic-redirect command to remove the configuration.
Make sure the VLAN identified by the nested-vlanid argument exists to prevent 
otherwise the packets from being discarded due to no outbound port found.
The traffic-redirect modified-vlan command modifies the outer VLAN tag of 
a packet.
At present, only 3C17514, 3C17516, and 3C17528 cards support the 
traffic-redirect { nested-vlan | modified-vlan } command.
Related commands: traffic-redirectacl.
Example
# Insert the VLAN tag of VLAN 4 in the packets that match ACL 4,100 as the outer 
VLAN tag. (With the assumption that ACL 4,100 and its rules already exist.)
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800]interface Ethernet2/1/1
 
[3Com-Ethernet2/1/1]traffic-redirect inbound link-group 4100 nested-vlan 4 
vlan-vpn enable
Syntax
vlan-vpn enable
undo vlan-vpn
View
Ethernet port view/PVC view
Parameter
None
Description
Use the vlan-vpn enable command to enable VLAN VPN feature for the port or 
the PVC.
Use the undo vlan-vpn command to disable VLAN VPN feature for the port or 
the PVC.
With VLAN VPN enabled, a received packet is tagged with the default VLAN tag of 
the port no matter whether or not the packet carries a VLAN tag. So, if the packet 
already carries a VLAN tag, the default VLAN tag becomes a nested VLAN tag in 
the packet. Otherwise, the packet is transmitted with the default VLAN tag 
carried.