H3C s3600 series Command Manual page 775

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

If 802.1p priority marking is configured, the traffic will be mapped to the local precedence
corresponding to the re-marked 802.1p priority and assigned to the output queue corresponding to
the local precedence.
If local precedence marking is configured, the traffic will be assigned to the output queue
corresponding to the re-marked local precedence.
If IP precedence or DSCP marking is configured, the traffic will be marked with new IP precedence
or DSCP precedence.
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.
Related commands: display qos-interface traffic-priority.
Examples
# Set the 802.1p priority of the inbound packets with 802.1p priority 5 to 1 on Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] rule permit cos 5
[Sysname-acl-ethernetframe-4000] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] traffic-priority inbound link-group 4000 cos 1
# Set the DSCP precedence of inbound DNS protocol packets to 16 (corresponding to the cs2 keyword)
on Ethernet 1/0/1.
<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
1-26

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents