1-31
Do not configure 802.1p priority marking and local precedence marking for the same traffic.
With 802.1p priority marking, the new 802.1p priority will be mapped to a local precedence
automatically. If local precedence marking is also configured, there will be two local
precedence values for the traffic, resulting in conflict. In this case, the device will display
an error prompt.
Examples
# Set the 802.1p priority to 1 for the packets received on any ports in VLAN 2 and destined
to MAC address 000F-E200-1234.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] rule permit cos 3 dest 000f-e200-1234
ffff-ffff-ffff
[Sysname-acl-ethernetframe-4000] quit
[Sysname] traffic-priority vlan 2 inbound link-group 4000 cos 1
traffic-redirect
Syntax
traffic-redirect { inbound | outbound } acl-rule { cpu | { interface interface-type
interface-number | link-aggregation-group agg-id } [ untagged ] }
undo traffic-redirect { inbound | outbound } acl-rule
View
Ethernet port view
Parameters
inbound: Redirects inbound packets.
outbound: Redirects outbound packets.
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
Table 1-4
and
Table 1-5. Note that the ACL rules referenced must be those defined with the permit
keyword.
cpu: Redirects the packets to the CPU.
interface interface-type interface-number: Specifies the target port, to which the packets
are to be redirected. The interface-type interface-number argument refers to the port type
and port number.