1-24
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule permit udp source-port eq dns
[Sysname-acl-adv-3000] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] traffic-priority inbound ip-group 3000 dscp cs2
# Set the 802.1p priority of inbound packets sourced from IP address 1.1.1.1 to the value of their IP
precedence on Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] traffic-priority outbound ip-group 2000 cos from-ipprec
traffic-priority vlan
Syntax
traffic-priority vlan vlan-id { inbound | outbound } acl-rule { { dscp dscp-value | ip-precedence
{ pre-value | from-cos } } | cos { pre-value | from-ipprec } | local-precedence pre-value }*
undo traffic-priority vlan vlan-id { inbound | outbound } acl-rule
View
System view
Parameters
vlan-id: VLAN ID, in the range of 1 to 4094.
inbound: Re-marks priority for the packets received on any ports in the specified VLAN.
outbound: Re-marks priority for the packets to be transmitted by any ports in the specified VLAN.
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.
dscp dscp-value: Sets the DSCP precedence, which is in the range 0 to 63. You can also provide one
of the keywords listed in
Table 1-7 for the dscp-value argument.
ip-precedence { pre-value | from-cos }: Sets the IP precedence. You can assign a value in digits in the
range of 0 to 7 for the pre-value argument or in words as shown in
Table 1-6. Alternatively, you can
specify the from-cos keyword for the switch to extract the 802.1p priority for the IP precedence.
cos { pre-value | from-ipprec }: Sets the 802.1p priority. You can assign a value in digits in the range of
0 to 7 for the pre-value argument or in words as shown in
Table 1-10. Alternatively, you can specify the
from-ipprec keyword for the switch to extract the IP precedence for the 802.1p priority.