3com 5500-ei pwr Reference Guide

Page of 1314
 
1-33 
traffic-remark-vlanid 
Syntax 
traffic-remark-vlanid inbound acl-rule remark-vlan remark-vlanid 
undo traffic-remark-vlanid inbound acl-rule 
View 
Ethernet port view 
Parameters  
inbound: Maps the VLAN IDs carried in the inbound packets to a specified VLAN ID. 
acl-rule: ACL rules to be applied for traffic classification. This argument can be the 
combination of multiple ACLs. For more information about this argument, refer to 
and 
. Note that the ACL rules referenced must be those defined with the permit 
keyword. 
remark-vlan remark-vlanid: Specified the target VLAN ID, to which the VLAN IDs of the 
packets matching specific ACL rules are to be mapped. 
Description  
Use the traffic-remark-vlanid command to enable VLAN mapping and set the target 
VLAN ID for packets matching specific ACL rules. 
Use the undo traffic-remark-vlanid command to disable VLAN mapping for packets 
matching specific ACL rules. 
Related commands: display qos-interface traffic-remark-vlanid
Examples 
# Enable VLAN mapping on Ethernet 1/0/1 to map the VLAN IDs of the inbound packets 
sourced from VLAN 5 to VLAN ID 1001.  
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] acl number 4000 
[Sysname-acl-ethernetframe-4000] rule permit source 5 
[Sysname-acl-ethernetframe-4000] quit 
[Sysname] interface Ethernet 1/0/1 
[Sysname-Ethernet1/0/1] traffic-remark-vlanid inbound link-group 400 0  
remark-vlan 1001 
traffic-statistic 
Syntax 
traffic-statistic inbound acl-rule 
undo traffic-statistic inbound acl-rule