Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Command Reference, Release 4.3.x
QOS Commands
Downloads: This chapterpdf (PDF - 1.25MB) The complete bookPDF (PDF - 4.57MB) | Feedback

QOS Commands

QOS Commands

This module describes the Cisco IOS XR software commands used to configure the QoS commands for Broadband Network Gateway (BNG) on the Cisco ASR 9000 Series Router. For details regarding the related configurations, refer to the Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide.

qos account

To enable QoS Layer 2 overhead accounting, use the qos account command in dynamic template configuration mode. To disable this qos account, use the no form of this command.

qos account[ AAL5| user-defined offset atm] [ mux-1483 routed| mux-dot1q-rbe| mux-pppoa| mux-rbe| snap-1483routed| snap-dot1q-rbe| snap-pppoa| snap-rbe ]

no qos account

Syntax Description

AAL5

Specifies AAL5 for qos.

user-defined

Specifies the user-defined keyword.

offset

Specifies the user-defined offset size.

atm

Adds ATM cell tax to the L2 overhead.

mux-1483 routed

Specifies the mux-1483 routed.

mux-dot1q-rbe

Specifies the mux-dot1q-rbe.

mux-pppoa

Specifies the mux-pppoa.

mux-rbe

Specifies the mux-rbe.

snap-1483routed

Specifies the snap-1483routed.

snap-dot1q-rbe

Specifies the snap-dot1q-rbe.

snap-pppoa

Specifies the snap-pppoa

snap-rbe

Specifies the snap-rbe.

Command Default

None

Command Modes

Dynamic template configuration

Command History

Release Modification

Release 4.2.0

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

This command is available only in the dynamic template type ppp submode.

Task ID

Task ID Operation

qos

read, write

Examples

This is an example of configuring the qos account command in dynamic template configuration mode:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# dynamic-template type ppp p1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)# qos account AAL5 snap-rbe

Related Commands

Command

Description

qos output minimum-bandwidth

Sets the minimum guaranteed output bandwidth for a subscriber.

qos output minimum-bandwidth

To set the minimum guaranteed output bandwidth for a subscriber, use the qos output minimum-bandwidth command in dynamic template configuration mode.

qos output minimum-bandwidth range

Syntax Description

range

Specifies the minimum bandwidth range (1- 4294967295 kpbs).

Command Default

None

Command Modes

Dynamic template configuration

Command History

Release Modification

Release 4.2.0

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance..

This command is available only in the dynamic template type ppp submode. The value specified in this command is used only if IGMP HQoS correlation is configured. This is to ensure that the resultant bandwidth does not go below the specified value.

Task ID

Task ID Operation

vrrp

read, write

Examples

This is an example of configuring the qos output minimum-bandwidth command in dynamic template configuration mode:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# dynamic-template type ppp p1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)# qos output minimum-bandwidth 10

Related Commands

Command

Description

qos account

Enables QoS Layer 2 overhead accounting.

service-policy (QoS-BNG)

To enable the QoS policy on a parent S-VLAN, or to enable ingress and egress VLAN policies on an access-interface, use the service-policy command in the interface configuration mode. To disable this feature, use the no form of this command.

Egress S-VLAN Policy:

service-policy output service_policy_name subscriber-parent [ resource-id value ]

no service-policy output service_policy_name subscriber-parent [ resource-id value ]

Ingress and Egress VLAN Policies:

service-policy { input | | output } service_policy_name

no service-policy { input | | output } service_policy_name

Syntax Description

input

Attaches the specified service-policy to the ingress direction.

output

Attaches the specified service-policy to the egress direction.

service_policy_name

Name of the input or output service-policy.

subscriber-parent

Configures an S-VLAN policy.

Note   

This keyword applies only to the egress direction.

resource-id

Specifies a resource ID that allows to map the desired chunk to be used for this S-VLAN and all the subscribers under it.

Note   

This keyword applies only to an S-VLAN policy and not to VLAN policy.

value

The resource ID value that ranges from 0-3.

Command Default

None

Command Modes

Interface configuration

Command History

Release Modification

Release 4.2.0

This command was introduced.

Release 4.3.0

Support for the resource-id keyword was added.

Release 4.3.1

Support for the ingress and egress VLAN policies on an access interface was added.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

If the resource-id option is not specified, then the S-VLAN policy and all the subscribers under it are assigned to the default chunk, which its parent interface is associated with.

The VLAN policy needs to be attached to the access interfaces, before bringing up the sessions with the QoS policy. It is recommended that you do not remove VLAN policies when sessions are already active.

You cannot make non-rate modifications when sessions are already active on the access-interface. To make non-rate modifications to the VLAN policy, you must bring down the sessions that are brought up over the access-interface, modify the policy, and then bring up the sessions again over the access-interface.

Task ID

Task ID Operation

qos

read, write

Examples

This example shows how to configure an egress S-VLAN policy using the service-policy command, with subscriber-parent keyword, in the interface configuration mode:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface bundle-ether 18.12
RP/0/RSP0/CPU0:router(config-subif)# service-policy output svlan-policy subscriber-parent resource-id 1

This example shows how to configure an ingress VLAN policy on an access-interface:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface bundle-ether 18.203
RP/0/RSP0/CPU0:router(config-subif)# service-policy input mark

This example shows how to configure an egress VLAN policy on an access-interface:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface bundle-ether 18.203
RP/0/RSP0/CPU0:router(config-subif)# service-policy output metering

service-policy (interface-BNG)

To attach a policy map to an input interface or output interface to be used as the service policy for that interface, and optionally multiple subinterfaces, use the service-policy command in the appropriate configuration mode. To remove a service policy from an input or output interface, use the no form of the command.

service-policy { input | output } policy-map [ shared-policy-instance instance-name ]

no service-policy { input | output } policy-map [ shared-policy-instance instance-name ]

Syntax Description

input

Attaches the specified policy map to the input interface.

output

Attaches the specified policy map to the output interface.

policy-map

Name of a service policy map (created using the policy-map command) to be attached.

shared-policy-instance

(Optional) Allows sharing of QoS resources across multiple subinterfaces.

Note   

Sharing across multiple physical interfaces is not supported.

instance-name

(Optional) String of up to 32 characters to identify the shared policy instance.

Command Default

No service policy is specified.

Command Modes

Dynamic template configuration

Command History

Release

Modification

Release 3.7.2

This command was introduced.

Release 3.9.0

This command was updated to support shared policy instance over bundle interfaces.

Release 3.6.0

The command was supported in Layer 2 transport configuration mode.

Release 4.3.0

The command was supported in dynamic template configuration mode in BNG.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

You can attach a single policy map to one or more interfaces to specify the service policy for those interfaces. The class policies composing the policy map are then applied to packets that satisfy the class map match criteria for the class. To apply a new policy to an interface, you must remove the previous policy. A new policy cannot replace an existing policy.

To enter the dynamic template configuration mode, run dynamic-template command in the global configuration mode.

Task ID

Task ID

Operations

qos

read, write

Examples

This example shows policy map policy 1 applied in the dynamic template configuration mode.
RP/0/RSP0/CPU0:router(config)#dynamic-template type ppp p1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)#service-policy policy1 shared-policy-instance subscriber1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)#exit

RP/0/RSP0/CPU0:router(config)# dynamic-template type ipsubscriber ipsub1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)# service-policy output policy1 shared-policy-instance subscriber1
  

show qos inconsistency (BNG)

To display inconsistency information for the QoS policy on an interface, use the show qos inconsistency command in EXEC mode.

show qos inconsistency { detail warning-type { file filename | location node-id } | summary { file filename | location node-id } }

Syntax Description

detail

Displays interface and policy name details of the inconsistency.

warning-type

Selects the warning types to display:

  • 0—All warning types
  • 1—ANCP - No shaper at top policy map
  • 2—ANCP - Multiple classes at top policy map
  • 3—ANCP - Downstream rate less than shaper rate
  • 4—ANCP - Downstream rate more than port speed
  • 5—ANCP - Policy resolution failure
  • 6—ANCP - Traffic manager program failure
  • 7—Port speed - Policy resolution failure
  • 8—Port speed - Traffic manager program failure
  • 9—Bundle member addition failure
  • 10—Interface state not matching system configuration

file filename

Specify a file name, such as disk0:tmp.log or bootflash:.

location node-id

Displays detailed QoS information for the designated node. The node-id argument is entered in the rack/slot/module notation.

summary

Displays summary counts of QoS inconsistency warnings.

Command Default

None

Command Modes

EXEC

Command History

Release

Modification

Release 3.7.2

This command was introduced.

Release 4.3.0

The command was supported in dynamic template configuration mode in BNG.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

To enter the dynamic template configuration mode, run dynamic-template command in the global configuration mode.

Task ID

Task ID

Operations

qos

read

Examples

This example provides detail about QoS policy inconsistency, for all warning types:

RP/0/RSP0/CPU0:router# show qos inconsistency detail 0 location 0/7/CPU0 

Interface Lists with QoS Inconsistency Warning:
=========================================================

                     Node 0/7/CPU0
---------------------------------------------------------

Interfaces with QoS Inconsistency:  ANCP - No Shaper at top policymap
==========================================================================
Interface                  Direction  Policy Name             SPI Name
--------------------------------------------------------------------------
GigabitEthernet0/7/0/1.5     output    parent-none              

Interfaces with QoS Inconsistency:  ANCP - Downstream Rate less than Shaper Rate
==========================================================================
Interface                  Direction  Policy Name             SPI Name
--------------------------------------------------------------------------
GigabitEthernet0/7/0/1       output    parent                  SPI1
GigabitEthernet0/7/0/1.2     output    parent                   
GigabitEthernet0/7/0/1       output    normal-policy-name      normal-spi-name
  

This example displays summary counts of inconsistency warnings:

RP/0/RSP0/CPU0:router#
RP/0/RSP0/CPU0:router# show qos inconsistency summary location 0/7/CPU0 

Summary Counts of QoS Inconsistency Warnings:
=========================================================


                     Node 0/7/CPU0

   Inconsistency Warning Type                 Count
--------------------------------------------------------
ANCP - No Shaper at top policymap:               1
ANCP - Downstream Rate less than Shaper Rate:    4
  

Related Commands

Command

Description

show qos interface (BNG)

Displays QoS information for a specific interface.  

show qos interface (BNG)

To display QoS information for a specific interface, use the show qos interface command in the EXEC mode.

show qos interface type interface-path-id { input | output } { member type interface-path-id } [ host-link interface-path-id| location node-id ]

Syntax Description

type

Interface type. For more information, use the question mark (?) online help function.

interface-path-id

Either a physical interface instance or a virtual interface instance as follows:

  • Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
    • rack : Chassis number of the rack.
    • slot : Physical slot number of the modular services card or line card.
    • module : Module number. A physical layer interface module (PLIM) is always 0.
    • port : Physical port number of the interface.
    Note   

    In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric ( RSP0 RP0 or RP1 ) and the module is CPU0. Example: interface MgmtEth0/ RSP0 RP1 /CPU0/0.

  • Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.

input

Attaches the specified policy map to the input interface.

output

Attaches the specified policy map to the output interface.

member

Specifies member of bundle interface or pin-down (generic list) interface of PWHE interface.

Note    This keyword is applicable only for bundle and PWHE interface.

host-link

(Optional) Specifies the host-link.

Note    This keyword is applicable only for satellite information.

location node-id

(Optional) Displays detailed QoS information for the designated node. The node-id argument is entered in the rack/slot/module notation.

Command Default

No default behavior or values

Command Modes

EXEC

Command History

Release

Modification

Release 3.7.2

This command was introduced.

Release 4.3.0

The command was supported in dynamic template configuration mode in BNG.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

The show qos interface command displays configuration for all classes in the service policy that is attached to an interface.

Use this command to check the actual values programmed in the hardware from the action keywords in the police rate command.

To enter the dynamic template configuration mode, run dynamic-template command in the global configuration mode.

Task ID

Task ID

Operations

qos

read

Examples

This is the sample output shows the QoS information on a GigabitEthernet interface:

RP/0/RSP0/CPU0:router# show qos interface gig0/0/0/11.1 output

Wed Mar 18 18:25:20.140 UTC 
Interface: GigabitEthernet0_0_0_11.1 output Bandwidth: 1000000 kbps ANCP: 999936 kbps 
Policy: parent-3play-subscriber-line Total number of classes: 5
----------------------------------------------------------------------
Level: 0 Policy: parent-3play-subscriber-line Class: class-default
QueueID: N/A
Shape Profile: 1 CIR: 200000 kbps (200 mbps)
CBS: 100352 bytes PIR: 999936 kbps PBS: 12517376 bytes
WFQ Profile: 1 Committed Weight: 51 Excess Weight: 100
Bandwidth: 200000 kbps, BW sum for Level 0: 1000000 kbps, Excess Ratio: 100
----------------------------------------------------------------------
Level: 1 Policy: child-3play Class: 3play-voip
Parent Policy: parent-3play-subscriber-line Class: class-default
QueueID: 136 (Priority 1)
Queue Limit: 16 kbytes Profile: 3 Scale Profile: 0
Policer Profile: 0 (Single)
Conform: 65 kbps (65 kbps) Burst: 1598 bytes (0 Default)
Child Policer Conform: TX
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 1 Policy: child-3play Class: 3play-video
Parent Policy: parent-3play-subscriber-line Class: class-default
QueueID: 137 (Priority 2)
Queue Limit: 8 kbytes (11 Unknown) Profile: 4 Scale Profile: 0
Policer Profile: 24 (Single)
Conform: 128 kbps (128 kbps) Burst: 1598 bytes (0 Default)
Child Policer Conform: TX
Child Policer Exceed: DROP
Child Policer Violate: DROP
WRED Type: COS based Table: 0 Profile: 4 Scale Profile: 0 Curves: 3
Default RED Curve Thresholds Min : 8 kbytes Max: 8 kbytes
WRED Curve: 1 Thresholds Min : 8 kbytes Max: 8 kbytes
 Match: 3
WRED Curve: 2 Thresholds Min : 8 kbytes Max: 8 kbytes
 Match: 4
----------------------------------------------------------------------
Level: 1 Policy: child-3play Class: 3play-premium
Parent Policy: parent-3play-subscriber-line Class: class-default
QueueID: 138 (Priority Normal)
Queue Limit: 2097 kbytes Profile: 2 Scale Profile: 0
WFQ Profile: 6 Committed Weight: 1020 Excess Weight: 1020
Bandwidth: 200000 kbps, BW sum for Level 1: 200000 kbps, Excess Ratio: 1
----------------------------------------------------------------------
Level: 1 Policy: child-3play Class: class-default
Parent Policy: parent-3play-subscriber-line Class: class-default
QueueID: 139 (Priority Normal)
Queue Limit: 65 kbytes Profile: 1 Scale Profile: 3
WFQ Profile: 0 Committed Weight: 1 Excess Weight: 1020
Bandwidth: 0 kbps, BW sum for Level 1: 200000 kbps, Excess Ratio: 1
----------------------------------------------------------------------
  

Use the host-link option to display the output for the desired Bundle ICL. In cases when the Satellite is hosted on a redundant (Bundle ICL), the qos command to check for the qos programming also needs to include the host-link option.

The host-link is the underlying ICL Bundle member, this output can be executed for all the members belonging to the ICL Bundle via the host-link option.

For eg, Bundle ICL, Bundle-ether 2, hosting the sat-ether interface gig 100/0/0/34 has a member tengige 0/3/0/7. The qos command to check for the qos programming would be:

RP/0/RSP0/CPU0:router # sh qos inter gigabitEthernet 100/0/0/34 output host-link tenGigE 0/3/0/7 location 0/3/CPU0 

Interface: GigabitEthernet100_0_0_34 output 
Bandwidth configured: 500000 kbps Bandwidth programed: 500000 kbps
ANCP user configured: 0 kbps ANCP programed in HW: 0 kbps
Port Shaper programed in HW: 500000 kbps 
Policy: grand Total number of classes: 10
----------------------------------------------------------------------
Level: 0 Policy: grand Class: class-default
QueueID: N/A
Shape CIR : ALL
Shape PIR Profile : 2/4(S) Scale: 488 PIR: 499712 kbps  PBS: 6246400 bytes
WFQ Profile: 2/9 Committed Weight: 10 Excess Weight: 10
Bandwidth: 0 kbps, BW sum for Level 0: 0 kbps, Excess Ratio: 1
----------------------------------------------------------------------
Level: 1 Policy: parent Class: class-default
Parent Policy: grand Class: class-default
QueueID: N/A
Shape CIR : NONE
Shape PIR Profile : 2/4(S) Scale: 244 PIR: 249856 kbps  PBS: 3123200 bytes
WFQ Profile: 2/9 Committed Weight: 10 Excess Weight: 10
Bandwidth: 0 kbps, BW sum for Level 1: 0 kbps, Excess Ratio: 1
----------------------------------------------------------------------
Level: 2 Policy: child Class: prec1
Parent Policy: parent Class: class-default
QueueID: 131264 (Priority 1)
Queue Limit: 2496 kbytes Abs-Index: 89 Template: 0 Curve: 6
Shape CIR Profile: INVALID
Policer Profile: 54 (Single)
Conform: 50000 kbps (20 percent) Burst: 625000 bytes (0 Default)
Child Policer Conform: set dscp 46  set cos 7   
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 2 Policy: child Class: prec2
Parent Policy: parent Class: class-default
QueueID: 131265 (Priority 2)
Queue Limit: 624 kbytes (100 ms) Abs-Index: 59 Template: 0 Curve: 6
Shape CIR Profile: INVALID
Shape PIR Profile : 2/0(E) PIR: 50000 kbps PBS: 624992 bytes
Child Mark: set dscp 46  set cos 7   
----------------------------------------------------------------------
Level: 2 Policy: child Class: prec3
Parent Policy: parent Class: class-default
QueueID: 131267 (Priority 3)
Queue Limit: 472 kbytes (100 ms) Abs-Index: 53 Template: 0 Curve: 6
Shape CIR Profile: INVALID
Shape PIR Profile : 2/1(E) PIR: 37496 kbps PBS: 468736 bytes
Child Mark: set dscp 46  set cos 7   
----------------------------------------------------------------------
Level: 2 Policy: child Class: prec4
Parent Policy: parent Class: class-default
QueueID: 131266 (Priority Normal)
Queue Limit: 60 kbytes Abs-Index: 18 Template: 0 Curve: 0
Shape CIR Profile: INVALID
Child Mark: set dscp 46  set cos 7   
WFQ Profile: 2/39 Committed Weight: 40 Excess Weight: 40
Bandwidth: 0 kbps, BW sum for Level 2: 0 kbps, Excess Ratio: 4
----------------------------------------------------------------------
Level: 2 Policy: child Class: prec5
Parent Policy: parent Class: class-default
QueueID: 131268 (Priority Normal)
Queue Limit: 44 kbytes Abs-Index: 15 Template: 0 Curve: 0
Shape CIR Profile: INVALID
WFQ Profile: 2/29 Committed Weight: 30 Excess Weight: 30
Bandwidth: 0 kbps, BW sum for Level 2: 0 kbps, Excess Ratio: 3
----------------------------------------------------------------------
Level: 2 Policy: child Class: prec6
Parent Policy: parent Class: class-default
QueueID: 131269 (Priority Normal)
Queue Limit: 28 kbytes Abs-Index: 11 Template: 0 Curve: 0
Shape CIR Profile: INVALID
WFQ Profile: 2/19 Committed Weight: 20 Excess Weight: 20
Bandwidth: 0 kbps, BW sum for Level 2: 0 kbps, Excess Ratio: 2
----------------------------------------------------------------------
Level: 2 Policy: child Class: prec7
Parent Policy: parent Class: class-default
QueueID: 131270 (Priority Normal)
Queue Limit: 16 kbytes Abs-Index: 8 Template: 0 Curve: 0
Shape CIR Profile: INVALID
Child Mark: set cos 5   
WFQ Profile: 2/9 Committed Weight: 10 Excess Weight: 10
Bandwidth: 0 kbps, BW sum for Level 2: 0 kbps, Excess Ratio: 1
----------------------------------------------------------------------
Level: 2 Policy: child Class: class-default
Parent Policy: parent Class: class-default
QueueID: 131271 (Priority Normal)
Queue Limit: 16 kbytes Abs-Index: 8 Template: 0 Curve: 0
Shape CIR Profile: INVALID
WFQ Profile: 2/9 Committed Weight: 10 Excess Weight: 10
Bandwidth: 0 kbps, BW sum for Level 2: 0 kbps, Excess Ratio: 1
This is the sample output of the show qos interface command for PW-HE subinterfaces.
RP/0/RSP0/CPU0:router# show qos interface  pw-ether1.1 input member tengige0/2/0/5
Interface: TenGigE0_2_0_5 input 
Bandwidth configured: 10000000 kbps Bandwidth programed: 10000000 kbps
ANCP user configured: 0 kbps ANCP programed in HW: 0 kbps
Port Shaper programed in HW: 0 kbps 
Policy: PW-HE-Ingress Total number of classes: 9
----------------------------------------------------------------------
Level: 0 Policy: PW-HE-Ingress Class: class-default
QueueID: N/A
Policer Profile: 55 (Single)
Conform: 2000000 kbps (2 gbps) Burst: 25000000 bytes (0 Default)
----------------------------------------------------------------------
Level: 1 Policy: DSCP_CE-PE_ETM Class: 3play-voip
Parent Policy: PW-HE-Ingress Class: class-default
QueueID: 160 (Port Priority 1)
Policer Profile: 56 (Single)
Conform: 20000 kbps (1 percent) Burst: 125000 bytes (50 ms)
Child Policer Conform: TX
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 1 Policy: DSCP_CE-PE_ETM Class: multicast_limit
Parent Policy: PW-HE-Ingress Class: class-default
QueueID: 161 (Port Priority 2)
Policer Profile: 57 (SrTCM)
Conform: 40000 kbps (2 percent) Burst: 128000 bytes (128000 bytes)
Peak Burst: 128000 bytes (256000 bytes)
Child Policer Conform: set prec 5 
Child Policer Exceed: set prec 4 
Child Policer Violate: set prec 4 
----------------------------------------------------------------------
Level: 1 Policy: DSCP_CE-PE_ETM Class: dscp_EF_ipprec_5
Parent Policy: PW-HE-Ingress Class: class-default
QueueID: 162 (Port Default)
Policer Profile: 58 (Single)
Conform: 100000 kbps (5 percent) Burst: 256000 bytes (256000 bytes)
Child Policer Conform: set exp-imp 5 
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 1 Policy: DSCP_CE-PE_ETM Class: dscp_AF4x_ipprec_4
Parent Policy: PW-HE-Ingress Class: class-default
QueueID: 162 (Port Default)
Policer Profile: 59 (Single)
Conform: 200000 kbps (10 percent) Burst: 2500000 bytes (100 ms)
Child Policer Conform: set exp-imp 4 
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 1 Policy: DSCP_CE-PE_ETM Class: dscp_AF3x_ipprec_3_6_7
Parent Policy: PW-HE-Ingress Class: class-default
QueueID: 162 (Port Default)
Policer Profile: 60 (Single)
Conform: 400000 kbps (20 percent) Burst: 5000000 bytes (0 Default)
Child Policer Conform: set exp-imp 3 
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 1 Policy: DSCP_CE-PE_ETM Class: dscp_AF2x_ipprec_2
Parent Policy: PW-HE-Ingress Class: class-default
QueueID: 162 (Port Default)
Policer Profile: 61 (Single)
Conform: 440000 kbps (22 percent) Burst: 5500000 bytes (0 Default)
Child Policer Conform: set exp-imp 2 
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 1 Policy: DSCP_CE-PE_ETM Class: ip_best_effort_BE
Parent Policy: PW-HE-Ingress Class: class-default
QueueID: 162 (Port Default)
Policer Profile: 62 (Single)
Conform: 300000 kbps (15 percent) Burst: 3750000 bytes (0 Default)
Child Policer Conform: set exp-imp 0 
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 1 Policy: DSCP_CE-PE_ETM Class: class-default
Parent Policy: PW-HE-Ingress Class: class-default
QueueID: 162 (Port Default)
Policer Profile: 63 (Single)
Conform: 500000 kbps (25 percent) Burst: 6250000 bytes (0 Default)
Child Policer Conform: TX
Child Policer Exceed: DROP
Child Policer Violate: DROP

This table describes the significant fields shown in the display.

Table 1 show QoS interface Field Descriptions

Field

Description

Level 0 class

Level 0 class identifier in hexadecimal format.

Level 1 class

Level 1 class identifier in hexadecimal format.

class name

Name that was assigned to this class with the class command.

Conform

Number of conform packets transmitted.

Burst

Configured burst size, expressed in bytes, gigabytes (GB), kilobytes (KB), megabytes (MB), milliseconds (ms), or microseconds (us).

Queue ID

Queue identifier.

Child Policer Conform

Child Policer conform action (transmitted or dropped).

Child Policer Exceed

Child Policer exceed action (transmitted or dropped).

Child Policer Violate

Child Policer violate action (transmitted or dropped).

Flow QoS Info

Information pertaining to CAC actions, and UBRL.

CAC Flow Mask Mode

Configured flow mask for CAC actions.

CAC Flow Rate

Configured rate for CAC actions.

CAC Rate

Configured total bandwidth for CAC admitted flows.

UBRL Flow Mask Mode

Configured flow mask for UBRL.

Flow Age

Configured expiry time to purge out stale flow records set in the flow cache.

show qos shared-policy-instance (BNG)

To list interface details for a specific location of a specific shared policy instance, attached to either an input or output interface, use the show qos shared-policy-instance command in EXEC mode.

show qos shared-policy-instance instance-name { input | output } location node-id

Syntax Description

instance-name

String of up to 32 characters to identify the shared policy instance.

input

Displays details for the shared policy instance attached to the input interface.

output

Displays details for the shared policy instance attached to the output interface

location node-id

Location of node. The node-id argument is entered in rack/slot/module notation.

Command Default

None

Command Modes

EXEC

Command History

Release

Modification

Release 3.7.2

This command was introduced.

Release 3.9.0

This command was updated to support shared policy instance over bundle interfaces.

Release 4.3.0

The command was supported in BNG.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

To enter the dynamic template configuration mode, run dynamic-template command in the global configuration mode.

Task ID

Task ID

Operations

qos

read, write

Examples

This example shows the results of the command to show details of the shared policy instance attached to the input interface at location 0/RSP0/CPU0:

RP/0/RSP0/CPU0:router# show qos shared-policy-instance instancetwo input location 0/RSP0/CPU0

shared-policy-instance: instancetwo input Bandwidth: 10000000 kbps
Policy: shape Total number of classes: 2
-----------------------------------------------------------------------
Level: 0 Policy: shape Class: class-default
QueueID: N/A
Shape Profile: 1 CIR: 16 kbps CBS: 1024 bytes PIR: 128000 kbps PBS:1605632
bytes WFQ Profile: 1 Committed Weight: 1 Excess Weight: 1
Bandwidth: 0 kbps, Parent Bandwidth: 10000000 kbps, Excess Ratio: 1
-----------------------------------------------------------------------
Level: 1 Policy: child Class: class-default Parent Policy: shape Class: class-default
QueueID: 268435466 (Priority Normal)
Queue Limit: 1572 kbytes Profile: 1 Scale Profile: 14 WFQ Profile: 2 
Committed Weight: 10 Excess Weight: 1020
Bandwidth: 0 kbps, Parent Bandwidth: 0kbps, Excess Ratio: 1
--------------------------------------------------------------------------
  
RP/0/RSP0/CPU0:router# show qos shared-policy-instance spi1 output location 0/1/cPU0 

Instancespi1  --   Direction: output
Policy                   l2_egress
Total number of classes:   2
-----------------------------------------------
MPLS vmrid               17
IPV4 vmrid               16
IPV6 vmrid               24
    LEVEL1 class: classid    =  0x1
    class name               =   qos_grp1
    queue ID                 =   18
    port ID                  =   2 (Bandwidth = 1000000, MTU = 1522)
    Queue Max. BW.           =   250 mbits/sec (250000 kbps)
    Queue Max. Burst         =   200 ms (4194304 bytes)
    Queue Limit              =   16384 packets (16384 pkts)

    LEVEL1 class: classid    =  0x2
    class name               =   class-default
    queue ID                 =   19
    port ID                  =   2 (Bandwidth = 1000000, MTU = 1522)
    Weight                   =   1 ( BW Remaining % = 0)
    Queue Limit              =   16384 packets (16384 pkts)

show qos summary (BNG)

To list the interfaces at a specific location, use the show qos summary command in EXEC mode.

show qos summary [ shared-policy-instance instance-name location rack/slot/module/interface.subinterface | police [ interface type instance | location [ rack/slot/module/interface.subinterface | location-name ] ] | policy policy-name [ interface type instance | location node-location ] | queue [ interface type instance | location node-location ] ]

Syntax Description

shared-policy-instance instance-name

String of up to 32 characters to identify the shared policy instance.

police

Show policer interface statistics.

policy policy-name

String to identify the policy.

queue

Show queue statistics.

interface type instance

Interface type and number.

location node-location

Identifies fully qualified location specification.

Command Default

None

Command Modes

EXEC

Command History

Release

Modification

Release 3.7.2

This command was introduced.

Release 4.3.0

The command was supported in dynamic template configuration mode in BNG.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

To enter the dynamic template configuration mode, run dynamic-template command in the global configuration mode.

Task ID

Task ID

Operations

qos

read, write

Examples

This example shows the results of the command to show interfaces at location 0/RSP0/CPU0 for a shared-policy-instance:

RP/0/RSP0/CPU0:router# show qos summary shared-policy-instance instancetwo location 0/RSP0/CPU0

list of interfaces retrieved
  TenGigE0/0/0.1
  TenGigE0/0/0.2
RP/0/RSP0/CPU0:router#