Show Commands

Note: The following command outputs are examples only; actual displays may differ depending on supported functionality and user configuration.

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

Default

show all values

Output

The following output is an example of DSCP name to DSCP value mappings information, and Table: DSCP Name to Value Mappings Field Descriptions describes the fields.

Output Example
*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: DSCP Name to Value Mappings Field Descriptions

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

Default

all network policies

detail

displays detailed information for the specific policy ID

Output

The following outputs are examples of network policy information:

Output Example
*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.       : 192.168.0.0/16               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.       : 192.168.0.10/16              Port Id      : A/1
-------------------------------------------------------------------------------
Ring MDA Association
-------------------------------------------------------------------------------
MDA            :  1/11
===============================================================================
Table: Network Policy Field Descriptions

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

Output Example
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: Ethernet Ring Network Policy Field Descriptions

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, mcfw, mld, msdp, ndis, ntp, ospf, pcep, pim, ptp, radius, rip, rsvp, snmp, snmp-notification, ssh, syslog, tacplus, telnet, tftp, traceroute, vrrp

Note:

  • 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.

  • 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: Application QoS Field Descriptions describes the fields.

Output Example
A:7705:Dut-B# show router sgt-qos application
===============================================================================
DSCP Application Values
===============================================================================
Application         Configured DSCP Value         Default DSCP Value(s)
-------------------------------------------------------------------------------
bgp                 none                          nc1
cflowd              none                          nc1
dhcp                none                          nc1, af41, nc2
dns                 none                          af41
ftp                 none                          af41
icmp                none                          be, nc1
igmp                none                          nc1
ldp                 none                          nc1
mcfw                none                          nc1
mld                 none                          nc1
msdp                none                          nc1
ndis                none                          nc1, nc2
ntp                 none                          nc1
ospf                none                          nc1
pcep                none                          nc1
pim                 none                          nc1
ptp                 none                          nc1
radius              none                          nc1
rip                 none                          nc1
rsvp                none                          nc1
snmp                none                          af41
snmp-notification   none                          af41
ssh                 none                          af41
syslog              none                          af41
tacplus             none                          af41
telnet              none                          af41
tftp                none                          af41
traceroute          none                          be
vrrp                none                          nc1
===============================================================================
===============================================================================
Dot1p Application Values
===============================================================================
Application         Configured Dot1p Value        Default Dot1p Value
-------------------------------------------------------------------------------
arp                 none                          7
isis                none                          7
===============================================================================
A:7705:Dut-B#
Table: Application QoS Field Descriptions

Label

Description

Application

The DSCP or dot1p application

Configured 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(s)

The default DSCP value

Some applications have multiple DSCP default values depending on the context or service

Configured 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: Valid DSCP Names lists the valid DSCP names.

Output

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

Output Example
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: DSCP-to-FC Mapping Field Descriptions

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