Network QoS Policy Command Reference

Command Hierarchies

Configuration Commands

QoS Policy Network Commands

config
— qos
[no] network network-policy-id [create] [network-policy-type {ip-interface | ring | default}]
description description-string
scope {exclusive | template}
— no scope
egress
[no] fc fc-name
dot1p dot1p-priority
— no dot1p
dot1p-in-profile dot1p-priority
dot1p-out-profile dot1p-priority
dscp-in-profile dscp-name
dscp-out-profile dscp-name
lsp-exp-in-profile lsp-exp-value
lsp-exp-out-profile lsp-exp-value
default-action fc fc-name profile {in | out}
dscp dscp-name fc fc-name profile {in | out}
— no dscp
lsp-exp lsp-exp-value fc fc-name profile {in | out}
— no lsp-exp lsp-exp-value
ring
default-action queue queue-id profile {in | out}
dot1p dot1p-priority queue queue-id profile {in | out}
— no dot1p dot1p-priority

Self-generated Traffic Configuration Commands

config
— router
application dscp-app-name dscp {dscp-value | dscp-name}
application dot1p-app-name dot1p dot1p-priority
— no application {dscp-app-name | dot1p-app-name}
dscp dscp-name fc fc-name
— no dscp dscp-name

Operational Commands

config
— qos
copy network src-pol dst-pol [overwrite]

Show Commands

show
— qos
dscp-table [value dscp-value]
network policy-id [detail]
show
— router
application [app-name] [dscp | dot1p]
dscp-map [dscp-name]

Command Descriptions

Configuration Commands

Generic Commands

description

Syntax 
description description-string
no description
Context 
config>qos>network
config>qos>mc-mlppp>sap-egress
Description 

This command associates a text string with a configuration context to help identify the context in the configuration file.

The no form of this command removes any description string from the context.

Default 

n/a

Parameters 
description-string—
a text string describing the entity. Allowed values are any string up to 80 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

Network QoS Policy Commands

network

Syntax 
[no] network network-policy-id [create] [network-policy-type {ip-interface | ring | default}]
Context 
config>qos
Description 

This command creates or edits a QoS network policy. The network policy defines the treatment that GRE, IP, or MPLS packets receive as they ingress and egress the network port.

The network-policy-type keyword defines the type of network policy that will be created. The ip-interface type network policy is assigned to router interfaces. The ring type network policy is assigned to bridging domain ports on a ring adapter card.

Using the network-policy-type keyword is optional. If network-policy-type is not used, a default ip-interface policy is created.

Note:

With the addition of ring ports on the 2-port 10GigE (Ethernet) Adapter card, the network-policy-type keyword allows the creation of network QoS policies for IP interfaces in the IP domain (that is, ingress and egress network ports) and for ring policies in the bridging domain.

Network policy-id 1 exists as the default policy that is applied to all network interfaces by default. Network policy-id 1 cannot be modified or deleted, and is reapplied when the network-policy-type default keyword is used.

If a new network policy is created for the IP domain (for instance, policy-id 2), only the default action and egress forwarding class parameters are identical to the default policy-id 1. A new network policy does not contain the default DSCP-to-FC or MPLS EXP-to-FC mapping. To create a new network policy that includes the default ingress DSCP-to-FC or MPLS EXP-to-FC mapping, the default network policy-id 1 can be copied (using the copy command). You can modify parameters or use the no modifier to remove an object from the configuration. Similarly, the copy and modify process is used to create a new ring type network policy, where the dot1p-to-queue and profile state mapping are available for use in the new policy.

Any changes made to an existing policy, using any of the sub-commands, will be applied immediately to all network interfaces where this policy is applied. For this reason, when many changes are required on a policy, it is highly recommended that the policy be copied to a work area policy-id. That work-in-progress policy can be modified until complete and then written over the original policy-id. Use the config qos copy command to maintain policies in this manner.

The no form of this command deletes the network policy. A policy cannot be deleted until it is removed from all services where it is applied. The default network policy policy-id 1 cannot be deleted.

Default 

System Default Network Policy 1 defined

Parameters 
network-policy-id—
uniquely identifies the policy on the 7705 SAR
Values—
1 to 65535
Values—
1
create—
keyword used to create a network QoS policy
network-policy-type {ip-interface | ring | default}
keyword used to define the type of network policy
Values—
ip-interface: creates a network QoS policy for the IP domain by providing access to the egress and ingress commands
ring: creates a ring network QoS policy for the bridging domain by providing access to the ring command
default: sets the network policy type to policy ID 1

scope

Syntax 
scope {exclusive | template}
no scope
Context 
config>qos>network
Description 

This command configures the network policy scope as exclusive or template. The policy’s scope cannot be changed if the policy is applied to an interface.

The no form of this command sets the scope of the policy to the default of template.

Default 

template

Parameters 
exclusive—
when the scope of a policy is defined as exclusive, the policy can only be applied to one network. If a policy with an exclusive scope is assigned to a second network, an error message is generated. If the policy is removed from the exclusive network, it will become available for assignment to another exclusive network.

The system default policies cannot be defined as exclusive scope. An error will be generated if scope exclusive is executed in any policies with a policy-id equal to 1.

template—
when the scope of a policy is defined as template, the policy can be applied to multiple networks on the router.

Default QoS policies are configured with template scopes. An error is generated if you try to modify the template scope parameter to exclusive scope on default policies.

Network Egress QoS Policy Commands

egress

Syntax 
egress
Context 
config>qos>network
Description 

This command is used to enter the CLI mode that creates or edits egress policy entries that specify the forwarding class to be instantiated when this policy is applied to the network port.

The forwarding class and profile state mapping to in-profile and out-of-profile DSCP and MPLS EXP bits mapping for all labeled packets are also defined under this node.

For MPLS tunnels, if network egress Ethernet ports are used, dot1p bit marking can be enabled in conjunction with EXP bit marking. In this case, the tunnel and pseudowire EXP bits do not have to be the same as the dot1p bits.

For GRE and IP tunnels, dot1p marking and pseudowire EXP marking can be enabled, and DSCP marking can also be enabled.

The service packets are transported over an MPLS LSP, GRE tunnel, or IP tunnel.

All out-of-profile service packets are marked with the corresponding DSCP (for GRE or IP packets) or EXP (for MPLS packets) bit value at network egress. All in-profile service packets are marked with the corresponding in-profile DSCP or EXP bit value based on the forwarding class they belong to.

fc

Syntax 
[no] fc fc-name
Context 
config>qos>network>egress
Description 

This command specifies the forwarding class name. The fc fc-name represents a CLI parent node that contains sub-commands or parameters describing the marking criteria for that forwarding class. The fc command overrides the default parameters for that forwarding class defined in the network default policy-id 1.

The no form of this command reverts to the defined parameters in the default network policy policy-id 1. If the fc-name is removed from the default network policy policy-id 1, that forwarding class reverts to the factory defaults.

Default 

Undefined forwarding classes default to the configured parameters in the default network policy policy-id 1.

Parameters 
fc-name—
the case-sensitive, system-defined forwarding class name for which policy entries will be created
Values—
be, l2, af, l1, h2, ef, h1, nc
Values—
n/a

Network Ingress QoS Policy Commands

ingress

Syntax 
ingress
Context 
config>qos>network
Description 

This command is used to enter the CLI mode that creates or edits policy entries that specify the DSCP to forwarding class mapping for all GRE or IP packets and define the MPLS EXP bits to forwarding class mapping for all labeled packets.

When pre-marked GRE, IP, or MPLS packets ingress on a network port, they get a per-hop behavior (that is, the QoS treatment through the 7705 SAR based on the mapping defined under the current node).

default-action

Syntax 
default-action fc fc-name profile {in | out}
Context 
config>qos>network>ingress
Description 

This command defines or edits the default action to be taken for packets that have  undefined DSCP or MPLS EXP bits set. The default-action command specifies the forwarding class to which such packets are assigned.

Multiple default-action commands will overwrite each previous default-action command.

Default 

n/a

Parameters 
fc-name —
specifies the forwarding class name. All packets with DSCP or MPLS EXP bits not defined will be placed in this forwarding class.
Values—
be, l2, af, l1, h2, ef, h1, nc
Values—
be
profile {in | out}—
all packets that are assigned to this forwarding class will be considered in or out of profile based on this command. In case of congestion, the in-profile packets are preferentially queued over the out-of-profile packets.
Values—
in, out
Values—
out

dscp

Syntax 
dscp dscp-name fc fc-name profile {in | out}
no dscp
Context 
config>qos>network>ingress
Description 

This command creates a mapping between the DSCP of the network ingress traffic and the forwarding class for GRE or IP packets.

Ingress traffic that matches the specified DSCP is assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all 64 DSCP values with the forwarding class. For undefined code points, packets are assigned to the forwarding class specified under the default-action command.

The no form of this command removes the DSCP-to-FC association. The default-action then applies to that code point value.

Default 

n/a

Parameters 
dscp-name—
specifies the DSCP to be associated with the forwarding class. The DSCP value is derived from the most significant six bits in the IP header ToS byte field (DSCP bits). The six DSCP bits define 64 DSCP values used to map packets to per-hop QoS behavior.

A maximum of 64 DSCP rules are allowed on a single policy. The specified name must exist as a dscp-name. Table 28 lists all the valid DSCP names.

Table 28:  Valid DSCP Names  

dscp-name

be, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cs1, cp9, af11, cp11, af12, cp13, af13, cp15,

cs2, cp17, af21, cp19, af22, cp21, af23, cp23, cs3, cp25, af31, cp27, af32, cp29,

af33, cp31, cs4, cp33, af41, cp35, af42, cp37, af43, cp39, cs5, cp41, cp42, cp43,

cp44, cp45, ef, cp47, nc1, cp49, cp50, cp51, cp52, cp53, cp54, cp55, nc2, cp57,

cp58, cp59, cp60, cp61, cp62, cp63

fc-name —
specifies the forwarding class name with which the DSCP will be associated
Values—
be, l2, af, l1, h2, ef, h1, nc
Values—
be
profile {in | out} —
all packets that are assigned to this forwarding class will be considered in or out of profile based on this command. In case of congestion, the in-profile packets are preferentially queued over the out-of-profile packets.
Values—
in, out
Values—
out

lsp-exp

Syntax 
lsp-exp lsp-exp-value fc fc-name profile {in | out}
no lsp-exp lsp-exp-value
Context 
config>qos>network>ingress
Description 

This command creates a mapping between the LSP EXP bits of the network ingress traffic and the forwarding class.

Ingress traffic that matches the specified LSP EXP bits will be assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all of the eight LSP EXP bit values with the forwarding class. For undefined values, packets are assigned to the forwarding class specified under the default-action command.

The no form of this command removes the association of the LSP EXP bit value with the forwarding class. The default-action then applies to that LSP EXP bit pattern.

Default 

n/a

Parameters 
lsp-exp-value—
specifies the LSP EXP values to be associated with the forwarding class
Values—
0 to 7 (decimal representation of 3-bit EXP field)
Values—
n/a
fc-name
specifies the FC name that the EXP bit pattern will be associated with
Values—
be, l2, af, l1, h2, ef, h1, nc
Values—
n/a
profile {in | out}—
indicates whether the LSP EXP value is the in-profile or out-of-profile value
Values—
in, out
Values—
out

Network Ring QoS Policy Commands

ring

Syntax 
ring
Context 
config>qos>network
Description 

This command is used to enter the CLI context that creates or edits policy entries that specify the dot1p-to-queue mapping for all packets.

default-action

Syntax 
default-action queue queue-id profile {in | out}
Context 
config>qos>network>ring
Description 

This command defines or edits the default action to be taken for packets that have undefined dot1p bits set. The default-action command specifies the queue to which received packets are assigned as well as their profile state.

Multiple default-action commands will overwrite each previous default-action command.

Default 

n/a

Parameters 
queue-id—
specifies the queue ID. All packets with dot1p bits not defined by a dot1p command will be placed in this queue.
Values—
1 to 8
Values—
1
profile {in | out}—
all packets with dot1p bits not defined by a dot1p command will be considered in profile or out of profile based on this command. In case of congestion, the in-profile packets are preferentially queued over the out-of-profile packets.
Values—
in, out
Values—
out

dot1p

Syntax 
dot1p dot1p-priority queue queue-id profile {in | out}
no dot1p dot1p-priority
Context 
config>qos>network>ring
Description 

This command creates a mapping between the dot1p bits of the ingress traffic and the queue and profile state. A maximum of eight dot1p entries are allowed on a single policy.

The no form of the command removes the association of the dot1p bit value with the queue and profile state. The default-action then applies to that dot1p bit pattern.

Default 

0

Parameters 
dot1p-priority—
specifies the dot1p bit value to be associated with the queue and the profile state
Values—
0 to 7
Values—
n/a
queue-id—
specifies the queue in which all packets with the dot1p bits value are placed
Values—
1 to 8
Values—
1
profile {in | out}—
specifies the profile state of packets with the dot1p bit value, either in-profile or out-of-profile
Values—
in, out
Values—
out

Network Egress QoS Policy Forwarding Class Commands

dot1p

Syntax 
dot1p dot1p-priority
no dot1p
Context 
config>qos>network>egress>fc
Description 

This command explicitly defines the egress dot1p priority bits values for the forwarding class.

Note:

When a single dot1p-priority is specified, it is applied to both in-profile and out-of-profile packets. The other forms of the command described below (dot1p-in-profile and dot1p-out-profile) allow different dot1p values for in-profile or out-of-profile packets to be specified.

The no form of the command sets the dot1p priority bits value to 0.

Default 

0

Parameters 
dot1p-priority—
the explicit dot1p value for the specified forwarding class. Setting the value to 0 is equivalent to removing the marking value.
Values—
0 to 7
Values—
n/a

dot1p-in-profile

Syntax 
dot1p-in-profile dot1p-priority
no dot1p-in-profile
Context 
config>qos>network>egress>fc
Description 

This command specifies dot1p in-profile mappings.

The no form of the command reverts to the factory default in-profile dot1p-priority setting for policy-id 1.

Parameters 
dot1p-priority—
defines the dot1p marking for the forwarding class

A maximum of eight dot1p rules are allowed on a single policy.

Values—
0 to 7

dot1p-out-profile

Syntax 
dot1p-out-profile dot1p-priority
no dot1p-out-profile
Context 
config>qos>network>egress>fc
Description 

This command specifies dot1p out-profile mappings.

The no form of the command reverts to the factory default out-profile dot1p-priority setting for policy-id 1.

Parameters 
dot1p-priority—
defines the dot1p marking for the forwarding class

A maximum of eight dot1p rules are allowed on a single policy.

Values—
0 to 7

dscp-in-profile

Syntax 
dscp-in-profile dscp-name
no dscp-in-profile
Context 
config>qos>network>egress>fc
Description 

This command specifies the in-profile DSCP name for the forwarding class. The corresponding DSCP value is used for all in-profile GRE or IP packets that require marking at egress on this forwarding class.

IP traffic from network interfaces is always trusted. There is no re-marking performed on network egress for global routing table (GRT) forwarded IP traffic (with the exception of GRE tunnels).

When multiple DSCP names are associated with the forwarding class at network egress, the last name entered overwrites the previous value.

The no form of this command reverts to the factory default in-profile dscp-name setting for policy-id 1.

Default 

policy-id 1: factory setting

policy-id 2 to 65535: policy-id 1 setting

Parameters 
dscp-name—
specifies the DSCP to be associated with the forwarding class. The DSCP value is derived from the most significant six bits in the IP header ToS byte field (DSCP bits). The six DSCP bits define 64 DSCP values used to map packets to per-hop QoS behavior.

A maximum of 64 DSCP rules are allowed on a single policy. The specified name must exist as a dscp-name. Table 28 lists all the valid DSCP names.

dscp-out-profile

Syntax 
dscp-out-profile dscp-name
no dscp-out-profile
Context 
config>qos>network>egress>fc
Description 

This command specifies the out-of-profile DSCP name for the forwarding class. The corresponding DSCP value is for all out-of-profile GRE or IP packets that require marking at egress on this forwarding class.

IP traffic from network interfaces is always trusted. There is no re-marking performed on network egress for global routing table (GRT) forwarded IP traffic (with the exception of GRE tunnels).

When multiple DSCP names are associated with the forwarding class at network egress, the last name entered overwrites the previous value.

The no form of this command reverts to the factory default out-profile dscp-name setting for policy-id 1.

Default 

policy-id 1: factory setting

policy-id 2 to 65535: policy-id 1 setting

Parameters 
dscp-name—
specifies the DSCP to be associated with the forwarding class. The DSCP value is derived from the most significant six bits in the IP header ToS byte field (DSCP bits). The six DSCP bits define 64 DSCP values used to map packets to per-hop QoS behavior.

A maximum of 64 DSCP rules are allowed on a single policy. The specified name must exist as a dscp-name. Table 28 lists all the valid DSCP names.

lsp-exp-in-profile

Syntax 
lsp-exp-in-profile lsp-exp-value
no lsp-exp-in-profile
Context 
config>qos>network>egress>fc
Description 

This command specifies the in-profile LSP EXP value for the forwarding class. The EXP value will be used for all in-profile LSP labeled packets requiring marking at egress on this forwarding class.

When multiple EXP values are associated with the forwarding class at network egress, the last name entered overwrites the previous value.

The no form of this command reverts to the factory default in-profile EXP setting for policy-id 1.

Default 

policy-id 1: factory setting

policy-id 2 to 65535: policy-id 1 setting

Parameters 
lsp-exp-value—
the 3-bit LSP EXP bit value, expressed as a decimal integer
Values—
0 to 7
Values—
n/a

lsp-exp-out-profile

Syntax 
lsp-exp-out-profile lsp-exp-value
no lsp-exp-out-profile
Context 
config>qos>network>egress>fc
Description 

This command specifies the out-of-profile LSP EXP value for the forwarding class. The EXP value will be used for all out-of-profile LSP labeled packets requiring marking at egress on this forwarding class queue.

When multiple EXP values are associated with the forwarding class at network egress, the last name entered overwrites the previous value.

The no form of this command reverts to the factory default out-of-profile EXP setting for policy-id 1.

Default 

policy-id 1: factory setting

policy-id 2 to 65535: policy-id 1 setting

Parameters 
lsp-exp-value—
the 3-bit LSP EXP bit value, expressed as a decimal integer
Values—
0 to 7
Values—
n/a

Self-generated Traffic Commands

sgt-qos

Syntax 
sgt-qos
Context 
config>router
Description 

This command enables the context to configure DSCP or dot1p re-marking for self-generated traffic.

Parameters 
router-name—
the router instance
Values—
Base or management
Values—
Base

application

Syntax 
application dscp-app-name dscp {dscp-value | dscp-name}
application dot1p-app-name dot1p dot 1p-priority
no application {dscp-app-name | dot1p-app-name}
Context 
config>router>sgt-qos
Description 

This command configures DSCP or dot1p re-marking for self-generated application traffic. When an application is configured using this command, the specified DSCP name or value is used for all packets generated by this application.

The value set in this command:

  1. sets the DSCP bits in the IP packet
  2. maps to the FC; this value will be signaled from the CSM to the egress forwarding complex
  3. based on this signaled FC, the egress forwarding complex QoS policy sets the IEEE 802.1 dot1p bits
  4. the dot1p and the LSP EXP bits are set by the egress complex for all packets based on the signaled FC. This includes ARP and IS-IS packets that, due to their nature, do not carry DSCP bits.
  5. the DSCP value in the egress IP header will be as configured in this command, and the egress QoS policy will not overwrite this value

Only one DSCP name or value can be configured per application. If multiple entries are configured, the subsequent entry overrides the previously configured entry.

The no form of this command reverts the DSCP value for the application back to its default value.

Default 

n/a (that is, sgt-qos does not enforce a DSCP value and the application uses its default value, as shown in Table 25)

Parameters 
dscp-app-name—
the DSCP application name
Values—
bgp, dhcp, dns, ftp, icmp, igmp, ldp, mld, ntp, ospf, pim, ptp, radius, rip, rsvp, snmp, snmp-notification, ssh, syslog, tacplus, telnet, tftp, traceroute
Note:

  1. PTP in the context of SGT QoS is defined as Precision Timing Protocol and is an application in the 7705 SAR. The PTP application name is also used in areas such as event-control and logging. Precision Timing Protocol is defined in IEEE 1588-2008.
  2. PTP in the context of IP filters is defined as Performance Transparency Protocol. IP protocols can be used as IP filter match criteria; the match is made on the 8-bit protocol field in the IP header.
dscp-value—
the value that maps to the DSCP name
Values—
0 to 63
dscp-name—
the DSCP to be associated with the forwarding class. Table 28 lists the valid DSCP names.
dot1p-app-name—
the dot1p application name
Values—
arp, isis
dot1p-priority—
the dot1p priority
Values—
none | 0 to 7

dscp

Syntax 
dscp dscp-name fc fc-name
no dscp dscp-name
Context 
config>router>sgt-qos
Description 

This command creates a mapping between the DSCP of the self-generated traffic and the forwarding class.

Self-generated traffic that matches the specified DSCP is assigned to the corresponding forwarding class. Multiple commands can be entered to associate some or all of the 64 DSCP values with the forwarding class.

All DSCP names that define a DSCP value must be explicitly defined.

The no form of the command removes the DSCP-to-FC association.

Default 

n/a

Parameters 
dscp-name—
the DSCP to be associated with the forwarding class. Table 28 lists the valid DSCP names.
fc-name—
the forwarding class name with which the DSCP will be associated
Values—
be, l2, af, l1, h2, ef, h1, nc
Values—
be

Operational Commands

copy

Syntax 
copy network src-pol dst-pol [overwrite]
Context 
config>qos
Description 

This command copies existing QoS policy entries for a QoS policy ID to another QoS policy ID.

The copy command is used to create new policies using existing policies and also allows bulk modifications to an existing policy with the use of the overwrite keyword.

Parameters 
src-pol dst-pol—
indicates that the source and destination policies are network policy IDs. Specify the source policy that the copy command will copy and specify the destination policy to which the command will duplicate the policy to a new or different policy ID.
Values—
1 to 65535
overwrite—
specifies that the existing destination policy is to be replaced. Everything in the existing destination policy will be overwritten with the contents of the source policy. If overwrite is not specified, an error will occur if the destination policy ID exists.

ALU>config>qos# copy network 1 427

MINOR: CLI Destination "427" exists use {overwrite}.

ALU>config>qos# copy network 1 427 overwrite

Show Commands

dscp-table

Syntax 
dscp-table [value dscp-value]
Context 
show>qos
Description 

This command displays DSCP name to DSCP value mappings.

Parameters 
value dscp-value
the specific DSCP value for which to display information
Values—
0 to 63
Values—
show all values
Output 

The following output is an example of DSCP name to DSCP value mappings information, and Table 29 describes the fields.

Sample Output
*A:ALU-1# show qos dscp-table 
===========================================================
DSCP Mapping
===========================================================
DSCP Name      DSCP Value     TOS (bin)      TOS (hex)
-----------------------------------------------------------
be             0              0000 0000      00
cp1            1              0000 0100      04
cp2            2              0000 1000      08
cp3            3              0000 1100      0C
cp4            4              0001 0000      10
cp5            5              0001 0100      14
cp6            6              0001 1000      18
cp7            7              0001 1100      1C
cs1            8              0010 0000      20
cp9            9              0010 0100      24
af11           10             0010 1000      28
cp11           11             0010 1100      2C
af12           12             0011 0000      30
cp13           13             0011 0100      34
af13           14             0011 1000      38
cp15           15             0011 1100      3C
cs2            16             0100 0000      40
cp17           17             0100 0100      44
af21           18             0100 1000      48
cp19           19             0100 1100      4C
af22           20             0101 0000      50
cp21           21             0101 0100      54
af23           22             0101 1000      58
cp23           23             0101 1100      5C
cs3            24             0110 0000      60
cp25           25             0110 0100      64
af31           26             0110 1000      68
cp27           27             0110 1100      6C
af32           28             0111 0000      70
cp29           29             0111 0100      74
af33           30             0111 1000      78
cp31           31             0111 1100      7C
cs4            32             1000 0000      80
cp33           33             1000 0100      84
af41           34             1000 1000      88
cp35           35             1000 1100      8C
af42           36             1001 0000      90
cp37           37             1001 0100      94
af43           38             1001 1000      98
cp39           39             1001 1100      9C
cs5            40             1010 0000      A0
cp41           41             1010 0100      A4
cp42           42             1010 1000      A8
cp43           43             1010 1100      AC
cp44           44             1011 0000      B0
cp45           45             1011 0100      B4
ef             46             1011 1000      B8
cp47           47             1011 1100      BC
nc1            48             1100 0000      C0
cp49           49             1100 0100      C4
cp50           50             1100 1000      C8
cp51           51             1100 1100      CC
cp52           52             1101 0000      D0
cp53           53             1101 0100      D4
cp54           54             1101 1000      D8
cp55           55             1101 1100      DC
nc2            56             1110 0000      E0
cp57           57             1110 0100      E4
cp58           58             1110 1000      E8
cp59           59             1110 1100      EC
cp60           60             1111 0000      F0
cp61           61             1111 0100      F4
cp62           62             1111 1000      F8
cp63           63             1111 1100      FC
===========================================================
*A:ALU-1#

Table 29:  DSCP Name to Value Mappings Command Output Field  

Label

Description

DSCP Name

The name of the DSCP to be associated with the forwarding class

DSCP Value

The DSCP value ranges (from 0 to 63)

TOS (bin)

The type of service in binary format

TOS (hex)

The type of service in hexadecimal format

network

Syntax 
network [policy-id] [detail]
Context 
show>qos
Description 

This command displays network policy information.

Parameters 
policy-id—
displays information for the specific policy ID
Values—
1 to 65535
Values—
all network policies
detail—
displays detailed information for the specific policy ID
Output 

The following outputs are examples of network policy information:

  1. Network policy information (Sample Output, Table 30)
  2. Ethernet ring policy information (Sample Output, Table 31)
Sample Output
*A:ALU-1# show qos network 
===============================================================================
Network Policies
===============================================================================
Policy-Id            Description
-------------------------------------------------------------------------------
1                    Default network QoS policy.
100                  Network QoS policy 100.
===============================================================================
 
 
*A:ALU-1# show qos network detail 
===============================================================================
QoS Network Policy
===============================================================================
-------------------------------------------------------------------------------
Network Policy (1)
-------------------------------------------------------------------------------
Policy-id      : 1
Forward Class  : be                           Profile      : Out
Ring Queue     : 1                            Ring Profile : Out
Scope          : Template                     Policy Type  : Default
Description    : Default network QoS policy.
-------------------------------------------------------------------------------
DSCP                                    Forwarding Class                Profile
-------------------------------------------------------------------------------
be                                      be                              Out
ef                                      ef                              In
cs1                                     l2                              In
nc1                                     h1                              In
nc2                                     nc                              In
af11                                    af                              In
af12                                    af                              Out
af13                                    af                              Out
af21                                    l1                              In
af22                                    l1                              Out
af23                                    l1                              Out
af31                                    l1                              In
af32                                    l1                              Out
af33                                    l1                              Out
af41                                    h2                              In
af42                                    h2                              Out
af43                                    h2                              Out
-------------------------------------------------------------------------------
LSP EXP Bit Map                         Forwarding Class                Profile
-------------------------------------------------------------------------------
0                                       be                              Out
1                                       l2                              In
2                                       af                              Out
3                                       af                              In
4                                       h2                              In
5                                       ef                              In
6                                       h1                              In
7                                       nc                              In
-------------------------------------------------------------------------------
Dot1p Bit Map                         Queue                           Profile
-------------------------------------------------------------------------------
0                                       1                               Out
1                                       2                               In
2                                       3                               Out
3                                       3                               In
4                                       5                               In
5                                       6                               In
6                                       7                               In
7                                       8                               In
-------------------------------------------------------------------------------
Egress Forwarding Class Queuing
-------------------------------------------------------------------------------
FC Value       : 0                            FC Name      : be
- DSCP Mapping
Out-of-Profile : be                           In-Profile   : be
- Dot1p Mapping
Out-of-Profile : 0                            In-Profile   : 0
- LSP EXP Bit Mapping
Out-of-Profile : 0                            In-Profile   : 0
FC Value       : 1                            FC Name      : l2
- DSCP Mapping
Out-of-Profile : cs1                          In-Profile   : cs1
- Dot1p Mapping
Out-of-Profile : 1                            In-Profile   : 1
- LSP EXP Bit Mapping
Out-of-Profile : 1                            In-Profile   : 1
FC Value       : 2                            FC Name      : af
- DSCP Mapping
Out-of-Profile : af12                         In-Profile   : af11
- Dot1p Mapping
Out-of-Profile : 2                            In-Profile   : 2
- LSP EXP Bit Mapping
Out-of-Profile : 2                            In-Profile   : 3
FC Value       : 3                            FC Name      : l1
- DSCP Mapping
Out-of-Profile : af22                         In-Profile   : af21
- Dot1p Mapping
Out-of-Profile : 3                            In-Profile   : 3
- LSP EXP Bit Mapping
Out-of-Profile : 2                            In-Profile   : 3
FC Value       : 4                            FC Name      : h2
- DSCP Mapping
Out-of-Profile : af42                         In-Profile   : af41
- Dot1p Mapping
Out-of-Profile : 4                            In-Profile   : 4
- LSP EXP Bit Mapping
Out-of-Profile : 4                            In-Profile   : 4
FC Value       : 5                            FC Name      : ef
- DSCP Mapping
Out-of-Profile : ef                           In-Profile   : ef
- Dot1p Mapping
Out-of-Profile : 5                            In-Profile   : 5
- LSP EXP Bit Mapping
Out-of-Profile : 5                            In-Profile   : 5
FC Value       : 6                            FC Name      : h1
- DSCP Mapping
Out-of-Profile : nc1                          In-Profile   : nc1
- Dot1p Mapping
Out-of-Profile : 6                            In-Profile   : 6
- LSP EXP Bit Mapping
Out-of-Profile : 6                            In-Profile   : 6
FC Value       : 7                            FC Name      : nc
- DSCP Mapping
Out-of-Profile : nc2                          In-Profile   : nc2
- Dot1p Mapping
Out-of-Profile : 7                            In-Profile   : 7
- LSP EXP Bit Mapping
Out-of-Profile : 7                            In-Profile   : 7
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
Interface      : system
IP Addr.       : n/a                          Port Id      : system
Interface      : address
IP Addr.       : n/a                          Port Id      : n/a
Interface      : back
IP Addr.       : n/a                          Port Id      : n/a
Interface      : dhcp_interface
IP Addr.       : n/a                          Port Id      : n/a
Interface      : int_formpls
IP Addr.       : n/a                          Port Id      : 1/3/11.1
Interface      : interface_1
IP Addr.       : n/a                          Port Id      : n/a
Interface      : router_interface_1
IP Addr.       : 20.20.20.20/32               Port Id      : n/a
Interface      : vprn_interface
IP Addr.       : n/a                          Port Id      : n/a
Interface      : ipv6_interface
IP Addr.       : n/a                          Port Id      : n/a
Interface      : management
IP Addr.       : 138.120.210.88/24            Port Id      : A/1
-------------------------------------------------------------------------------
Ring MDA Association
-------------------------------------------------------------------------------
MDA            :  1/11
===============================================================================
Table 30:  Network Policy Command Output Fields  

Label

Description

Policy-Id

The ID that uniquely identifies the policy

Forward Class

The forwarding class name

Profile

The profile state of the traffic: In or Out

Ring Queue

The queue identifier

Ring Profile

The profile state of the ring traffic: In or Out

Scope

The scope of the policy: Template or Exclusive

Policy Type

The type of network policy: Ip-interface, Ring, or Default

Description

A text string that helps identify the policy’s context in the configuration file

DSCP

The DSCP name associated with the forwarding class:

Forwarding Class — the forwarding class associated with the DSCP

Profile — whether the DSCP mapping pertains to in-profile or out-of-profile traffic

LSP EXP Bit Map

The LSP EXP mapping value used for in-profile or out-of-profile traffic:

Forwarding Class — the default-action forwarding class name. All packets with MPLS EXP bits not defined will be placed in this forwarding class.

Profile — whether the LSP EXP bit mapping pertains to in-profile or out-of-profile traffic

Dot1p Bit Map

The dot1p mapping value used for queue and profile state:

Queue — the queue in which all packets with the associated dot1p bit values will be placed

Profile — whether the dot1p bit mapping pertains to in-profile or out-of-profile traffic

Egress/Ingress Forwarding Class Queuing

FC Value

The forwarding class value

FC Name

The forwarding class name

DSCP Mapping

Out-of-Profile - the out-of-profile DSCP  mapping for the forwarding class

In-Profile - the in-profile DSCP mapping for the forwarding class

Dot1p Mapping

Out-of-Profile - the out-of-profile dot1p bit mapping for the forwarding class

In-Profile - the in-profile dot1p bit mapping for the forwarding class

LSP EXP Bit Mapping

Out-of-Profile - the out-of-profile LSP EXP bit mapping for the forwarding class

In-Profile - the in-profile LSP EXP bit mapping for the forwarding class

Interface Association

Interface

The name of the interface

IP Addr.

The IP address of the interface

Port Id

The physical port identifier that associates the interface

Ring MDA Association

MDA

The CLI identifier of the adapter card associated with the policy

Sample Output
show qos network <policy-id>
========================================================================
QoS Network Policy
========================================================================
------------------------------------------------------------------------
------------------------------------------------------------------------
Network Policy (1)
Policy-id      : 1                            
Forward Class  : be                           Profile      : Out
Ring Queue     : 1                            Ring Profile : Out
Scope          : Template                     Policy Type  : Default
Description    : Default network QoS policy.
========================================================================
========================================================================
QoS Network Policy
========================================================================
------------------------------------------------------------------------
Network Policy (4)
------------------------------------------------------------------------
Policy-id      : 4                            
Ring Queue     : 1                            Ring Profile : Out
Scope          : Template                     Policy Type  : Ring
Description    : (Not Specified)
========================================================================
 
========================================================================
QoS Network Policy
========================================================================
------------------------------------------------------------------------
Network Policy (111)
------------------------------------------------------------------------
Policy-id      : 111                          
Forward Class  : be                           Profile      : Out
Scope          : Template                     Policy Type  : IpInterface
Description    : (Not Specified)
========================================================================
Table 31:  Ethernet Ring Network Policy Output Fields  

Label

Description

Policy-id

The ID that uniquely identifies the policy

Forward Class

The forwarding class name

Profile

Whether the DSCP mapping pertains to in-profile or out-of-profile traffic

Ring Queue

The queue assigned to the policy

Ring Profile

The profile assigned to the policy: In or Out

Scope

The policy scope: Exclusive or Template

Policy Type

The type of policy: Ip-interface, Ring, or Default

Description

A text string that helps identify the policy’s context in the configuration file

sgt-qos

Syntax 
sgt-qos
Context 
show>router
Description 

This command displays QoS information about self-generated traffic.

application

Syntax 
application [app-name] [dscp | dot1p]
Context 
show>router>sgt-qos
Description 

This command displays application QoS settings.

Parameters 
app-name—
the specified application
Values—
arp, bgp, dhcp, dns, ftp, icmp, igmp, isis, ldp, mld, ntp, ospf, pim, ptp, radius, rip, rsvp, snmp, snmp-notification, ssh, syslog, tacplus, telnet, tftp, traceroute
Note:

  1. PTP in the context of SGT QoS is defined as Precision Timing Protocol and is an application in the 7705 SAR. The PTP application name is also used in areas such as event-control and logging. Precision Timing Protocol is defined in IEEE 1588-2008.
  2. PTP in the context of IP filters is defined as Performance Transparency Protocol. IP protocols can be used as IP filter match criteria; the match is made on the 8-bit protocol field in the IP header.
dscp—
specifies to show all DSCP applications
dot1p—
specifies to show all dot1p applications
Output 

The following output is an example of application QoS information, and Table 32 describes the fields.

Sample Output
A:ALU-1# show router sgt-qos application
===============================================================================
DSCP Application Values
===============================================================================
Application         DSCP Value                    Default DSCP Value
-------------------------------------------------------------------------------
bgp                 none                          none
dhcp                none                          none
dns                 nc2                           none
ftp                 none                          none
icmp                none                          none
igmp                none                          none
ldp                 none                          none
mld                 none                          none
ntp                 none                          none
ospf                none                          none
pim                 none                          none
radius              none                          none
rsvp                none                          none
snmp                none                          none
snmp-notification   none                          none
ssh                 none                          none
syslog              none                          none
tacplus             none                          none
telnet              be                            none
tftp                none                          none
traceroute          none                          none
===============================================================================
===============================================================================
Dot1p Application Values
===============================================================================
Application         Dot1p Value                   Default Dot1p Value
-------------------------------------------------------------------------------
arp                 5                             7
isis                none                          7
===============================================================================
A:ALU-1#
Table 32:  Application QoS Output Fields  

Label

Description

Application

The DSCP or dot1p application

DSCP Value

The DSCP name or value assigned to the application; if you assign a value to the application (0 to 63), the DSCP name that maps to the value is displayed

Default DSCP Value

The default DSCP value

Dot1p Value

The dot1p priority assigned to the application (applies only to ARP and IS-IS)

Default Dot1p Value

The default dot1p value

dscp-map

Syntax 
dscp-map [dscp-name]
Context 
show>router>sgt-qos
Description 

This command displays the DSCP-to-FC mappings.

Parameters 
dscp-name—
the specified DSCP name. Table 28 lists the valid DSCP names.
Output 

The following output is an example of DSCP-to-FC mapping information, and Table 33 describes the fields.

Sample Output
A:ALU-1# show router sgt-qos dscp-map
===============================================================================
DSCP to FC Mappings
===============================================================================
DSCP Value          FC Value            Default FC Value
-------------------------------------------------------------------------------
be                  nc                  nc
cp1                 be                  be
cp2                 be                  be
cp3                 be                  be
cp4                 be                  be
cp5                 be                  be
cp6                 be                  be
cp7                 be                  be
cs1                 be                  be
cp9                 be                  be
af11                af                  af
cp11                be                  be
af12                af                  af
cp13                be                  be
af13                af                  af
cp15                be                  be
cs2                 be                  be
cp17                be                  be
af21                l1                  l1
cp19                be                  be
af22                l1                  l1
cp21                be                  be
af23                l1                  l1
cp23                be                  be
cs3                 be                  be
cp25                be                  be
af31                l1                  l1
cp27                be                  be
af32                l1                  l1
cp29                be                  be
af33                l1                  l1
cp31                be                  be
cs4                 be                  be
cp33                be                  be
af41                nc                  nc
cp35                be                  be
af42                af                  h2
cp37                be                  be
af43                h2                  h2
cp39                be                  be
cs5                 be                  be
cp41                be                  be
cp42                be                  be
cp43                be                  be
cp44                be                  be
cp45                be                  be
ef                  ef                  ef
cp47                be                  be
nc1                 nc                  nc
cp49                be                  be
cp50                h2                  h2
cp51                be                  be
cp52                be                  be
cp53                be                  be
cp54                be                  be
cp55                be                  be
nc2                 nc                  nc
cp57                be                  be
cp58                be                  be
cp59                be                  be
cp60                be                  be
cp61                be                  be
cp62                be                  be
cp63                be                  be
===============================================================================
A:ALU-1#
Table 33:  DSCP-to-FC Mapping Output Fields  

Label

Description

DSCP Value

The DSCP values (displayed as names) of the self-generated traffic

FC Value

The FC value mapped to each DSCP value

Default FC Value

The default FC value