How QoS works for router-originated traffic

This section describes how QoS applies to traffic that originates on 7730 SXR platforms.

Default forwarding class and profile for router-originated traffic

The marking of system-generated-traffic on 7730 SXR platforms follows egress remarking policies as they are attached to the respective subinterface, using forwarding class and profile values defined in the following table.

LACP and LLDP packets do not have a subinterface context as they are interface-based protocols. As a consequence, the 7730 SXR forwarding path is unable to account for these packets under interface queue statistics, as the statistics object is fetched from the subinterface record.

Table 1. Default forwarding class and profile for router-originated traffic

Protocol/Message

forwarding-class-index

profile

resource-priority
IPv4 ARP request/reply 6 out defined by FC rsource priority table
ICMPv4 including echo-request1, echo-reply2, dest-unreachable, redirect, time-exceeded, parameter-problem 0 in defined by FC rsource priority table
ICMPv4 echo-request with ToS/DSCP override = X

Look up X in system-generated-traffic-mapping table

Look up X in system-generated-traffic-mapping table defined by FC rsource priority table
ICMPv4 echo-reply to echo-request with non-zero DSCP X

Look up X in system-generated-traffic-mapping table

Look up X in system-generated-traffic-mapping table defined by FC rsource priority table
UDP traceroute 0 out defined by FC rsource priority table
IPv6 neighbor solicitation 6 out defined by FC rsource priority table
IPv6 neighbor advertisement 6 out defined by FC rsource priority table
All other ICMPv6 including dest unreachable, packet-too-big, time-exceeded, parameter-problem, echo-request1, echo-reply2, router-solicitation, redirect 0 in defined by FC rsource priority table
ICMPv6 echo-request with DSCP override = X

Look up X in system-generated-traffic-mapping table

Look up X in system-generated-traffic-mapping table) defined by FC rsource priority table
ICMPv6 echo-reply to echo-request with non-zero DSCP X

Look up X in system-generated-traffic-mapping table)

Look up X in system-generated-traffic-mapping table defined by FC rsource priority table
BFD 6 out defined by FC rsource priority table
BGP 6 out defined by FC rsource priority table
OSPF 6 out defined by FC rsource priority table
DHCP/DHCPv6 4 out defined by FC rsource priority table
DNS query 4 out defined by FC rsource priority table
FTP/TFTP 4 out defined by FC rsource priority table
gNMI 4 out defined by FC rsource priority table
JSON RPC 4 out defined by FC rsource priority table
LACP 6 out defined by FC rsource priority table
LLDP 4 out defined by FC rsource priority table
NTP 4 out defined by FC rsource priority table
RADIUS 4 out defined by FC rsource priority table
sflow 0 out defined by FC rsource priority table
SNMP 4 out defined by FC rsource priority table
SSH 4 out defined by FC rsource priority table
Syslog 4 out defined by FC rsource priority table
TACACS+ 4 out defined by FC rsource priority table
IS-IS 6 out defined by FC rsource priority table
1 Echo-request generated by a ping command with no DSCP parameter specified
2 Echo-reply to an echo-request packet with DSCP=0

Default DSCP to forwarding class index and profile values

On 7730 SXR platforms, you can specify a DSCP value for ICMP messages. The following table shows the mapping of DSCP to corresponding forwarding class and profile values. This mapping is also available in state using the info from state qos system-generated-traffic command, to determine which DSCP value to use to generate traffic for a given forwarding class and profile combination.

Table 2. Default DSCP to forwarding class index and profile values
DSCP value Forwarding class index Profile
0 0 out
1 0 in
2 0 in-plus
3 0 exceed
4 8 out
5 8 in
6 8 in-plus
7 8 exceed
8 1 out
9 13 out
10 2 in-plus
11 13 in
12 2 in
13 13 in-plus
14 2 out
15 2 exceed
16 1 in
17 13 exceed
18 3 in-plus
19 14 out
20 3 in
21 14 in
22 3 out
23 3 exceed
24 1 in-plus
25 14 in-plus
26 4 in-plus
27 14 exceed
28 4 in
29 15 out
30 4 out
31 4 exceed
32 1 exceed
33 15 in
34 5 in-plus
35 15 in-plus
36 5 in
37 12 out
38 5 out
39 5 exceed
40 7 out
41 7 exceed
42 12 in
43 12 in-plus
44 6 in
45 6 out
46 6 in-plus
47 6 exceed
48 7 in
49 7 in-plus
50 9 out
51 9 in
52 9 in-plus
53 9 exceed
54 12 exceed
55 11 exceed
56 7 in-plus
57 10 out
58 10 in
59 10 in-plus
60 10 exceed
61 11 out
62 11 in
63 11 in-plus