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.

To use commands of this module, 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 any command, contact your AAA administrator for assistance.

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 ]

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

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

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

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

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 [subscriber-group {group-name | resourceid0 | resourceid1 | resourceid2 | resourceid3}] [resource-id value]

Ingress and Egress VLAN Policies:

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.

subscriber-group

Groups subscribers and attaches them to an aggregate shaper based on a logical Group-ID.

group-name

Name of the logical group for the subscribers.

resource-id0, resource-id1, resource-id2, resource-id3

Specifies reserved group-ID values to achieve increased scale support on physical LC-based interfaces.

resource-id

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

Note 

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

Policies with subscriber-group do not support resource-id .

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.

Release 6.2.1

Support was added for subscriber-group keyword.

Release 6.3.2

Specifies reserved group-ID values to achieve increased scale support on physical LC-based interfaces.

Usage Guidelines

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 to which its parent interface is associated with.

The system default does not offer larger scale configuration for subscriber sessions. So, in order to achieve a larger scale for each TM over physical LC-based interfaces, use the group-ID feature configuration along with reserved keywords such as resourceid0 , resourceid1 , resourceid2 and resourceid3 that act as the group-IDs of the subscriber. This functionality is available in Cisco ASR 9000 High Density 100GE Ethernet line cards, and is supported only on Cisco IOS XR 64-bit operating system.

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.

For restrictions on the usage of group-based grand parent shaping feature (using subscriber-group ), see Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide.

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

This example shows how to enable group-based grand parent shaping feature by grouping subscribers and attaching them to an aggregate shaper based on a logical Group-ID:


RP/0/RSP0/CPU0:router#configure
RP/0/RSP0/CPU0:router(config)#interface Bundle-Ether1.1234
RP/0/RSP0/CPU0:router(config-if)#encapsulation ambiguous dot1q 1-4
RP/0/RSP0/CPU0:router(config-if)#service-policy output P0 subscriber-parent subscriber-group G0
RP/0/RSP0/CPU0:router(config-if)#service-policy output P1 subscriber-parent subscriber-group G1
RP/0/RSP0/CPU0:router(config-if)#service-policy output P2 subscriber-parent subscriber-group G2
RP/0/RSP0/CPU0:router(config-if)#service-policy output P3 subscriber-parent subscriber-group G3

This example shows how to enable subscriber QoS on main interface, and to achieve higher subscriber scale configuration on physical line card-based interfaces:


RP/0/RSP0/CPU0:router#configure
RP/0/RSP0/CPU0:router(config)#interface GigabitEthernet 0/1/0/10
RP/0/RSP0/CPU0:router(config-if)#service-policy output parent_policy subscriber-parent subscriber-group resourceid0
RP/0/RSP0/CPU0:router(config-if)#service-policy output parent_policy subscriber-parent subscriber-group resourceid1
RP/0/RSP0/CPU0:router(config-if)#service-policy output parent_policy subscriber-parent subscriber-group resourceid2
RP/0/RSP0/CPU0:router(config-if)#service-policy output parent_policy subscriber-parent subscriber-group resourceid3

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]

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

Interface configuration. This does not apply to BNG.

Layer 2 transport configuration. This does not apply to BNG.

Subinterface configuration. This does not apply to BNG.

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 4.3.0

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

Usage Guidelines

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 policy1 applied to Packet-over-SONET/SDH (POS) interface 0/2/0/0:

RP/0/RSP0/CPU0:router(config)# class-map class1
RP/0/RSP0/CPU0:router(config-cmap)# match precedence ipv4 1
RP/0/RSP0/CPU0:router(config-cmap)# exit
RP/0/RSP0/CPU0:router(config)# policy-map policy1
RP/0/RSP0/CPU0:router(config-pmap)# class class1
RP/0/RSP0/CPU0:router(config-pmap-c)# set precedence 2
RP/0/RSP0/CPU0:router(config-pmap)# exit
RP/0/RSP0/CPU0:router(config)# interface POS 0/2/0/0
RP/0/RSP0/CPU0:router(config-if)# service-policy output policy1
  
This example shows policy map policy2 applied to GigabitEthernet subinterface 0/1/0/0.1.

RP/0/RSP0/CPU0:router(config)# class-map class2
RP/0/RSP0/CPU0:router(config-cmap)# exit

RP/0/RSP0/CPU0:router(config)# policy-map policy2
RP/0/RSP0/CPU0:router(config-pmap)# class-map class2
RP/0/RSP0/CPU0:router(config-pmap-c)# set precedence 3
RP/0/RSP0/CPU0:router(config-pmap)# exit

RP/0/RSP0/CPU0:router(config)# interface gigabitethernet 0/1/0/0.1
RP/0/RSP0/CPU0:router(config-subif)# service-policy input policy2 shared-policy-instance ethernet101
  

Note

This example does not apply to BNG.


This example shows policy map policy 1 applied to Bundle-Ether interfaces 100.1 and 100.2

RP/0/RSP0/CPU0:router(config)# interface Bundle-Ether 100.1
RP/0/RSP0/CPU0:router(config-if)# service-policy policy1 shared-policy-instance subscriber1
RP/0/RSP0/CPU0:router(config-if)# exit

RP/0/RSP0/CPU0:router(config)# interface Bundle-Ether 100.2
RP/0/RSP0/CPU0:router(config-if)# service-policy output policy1 shared-policy-instance subscriber1
  
.

Note

This example does not apply to BNG.


This example is specific to BNG. It 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
  

shape average (BNG)

To shape traffic to the indicated bit rate according to the algorithm specified, use the shape average command in policy map class configuration mode. To remove traffic shaping, use the no form of this command.

shape average {percent {percentage | $shape-rate = percentage} | rate [units] | per-thousand value | per-million value | $shape-rate = rate [units] }

Syntax Description

percent percentage

Specifies the interface bandwidth in percentage. Values can be from 1 to 100.

rate

Average shaping rate in the specified units. Values can be from 1 to 4294967295.

units

(Optional) Units for the bandwidth. Values can be:

  • Excess burst size —values can be from 1 to 4294967295
  • bps —bits per second (default)
  • gbps —gigabits per second
  • kbps —kilobits per second
  • mbps —megabits per second

per-thousand value

Specifies shape rate as parts per thousand of the available bandwidth.

per-million value

Specifies shape rate as parts per million of the available bandwidth.

$

Specifies that a QoS shaper variable is configured.

shape-rate

QoS shaper variable name that can be parameterized.

Command Default

units: bps

Command Modes

Policy map class configuration

Command History

Release

Modification

Release 3.7.2

This command was introduced.

Release 5.2.0

$shape-rate = rate option was added to support QoS shaper parameterization in BNG.

Usage Guidelines

For shape average commands in the child policy, the reference used for percentage parameters is relative to the maximum rate of the parent. If shaping or policing is not configured on the parent, then the parent inherits the interface rate.

If you have both shape and bandwidth configured for a class, ensure that the shape percent value is always greater than the percent value for bandwidth.

The shaper parameters, used to override the locally-configured values in BNG, can either be sent to BNG by the RADIUS server during connection establishment, as CISCO VSAs in an Access Accept message, or can be sent to BNG as part of the CoA messages.

Task ID

Task ID

Operations

qos

read, write

Examples

This example sets traffic shaping to 50 percent of the parent shaper rate:


RP/0/RSP0/CPU0:router(config)# policy-map policy1
RP/0/RSP0/CPU0:router(config-pmap)# class class1
RP/0/RSP0/CPU0:router(config-pmap-c)# shape average percent 50
  

This example shows how to set traffic shaping to 100000 kbps:


RP/0/RSP0/CPU0:router(config)# policy-map policy1
RP/0/RSP0/CPU0:router(config-pmap)# class class1
RP/0/RSP0/CPU0:router(config-pmap-c)# shape average 100000 kbps
  

This example shows how to set the default value of QoS shape-rate variable (shaper4) as 100000 kbps, in BNG:


RP/0/RSP0/CPU0:router(config)# policy-map policy1
RP/0/RSP0/CPU0:router(config-pmap)# class class1
RP/0/RSP0/CPU0:router(config-pmap-c)# shape average $shaper4 = 100000 kbps
  

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 mode

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

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 mode

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.

Release 5.1.1

The show qos interface command output was updated to display Flow Aware call admission control (CAC) and user based rate limiting (UBRL) information.

The show qos interface command output was updated to display QoS Offload on satellite information.

PWHE interface type PW-Ether and PW-IW were added.

The show output was updated for PWHE interface details.

Usage Guidelines

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.

(Only BNG) 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 which shows the QoS information on a Ten Gigabit Ethernet interface, applicable for the releases 5.3.2 onwards:

RP/0/RSP0/CPU0:tardis1-pwhe-spe#show qos interface tenGigE 0/0/0/0/0 output
Interface: TenGigE0_0_0_0_0 output
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: EGRESS_CHILD_POLICY Total number of classes: 8
----------------------------------------------------------------------
Level: 0 Policy: EGRESS_CHILD_POLICY Class: cp1
QueueID: 525248 (Priority 1)
Queue Limit: 126976 kbytes Abs-Index: 179 Template: 0 Curve: 7
Shape CIR Profile: INVALID
----------------------------------------------------------------------
Level: 0 Policy: EGRESS_CHILD_POLICY Class: cp2
QueueID: 525249 (Priority 2)
Queue Limit: 13824 kbytes (54443 packets) Abs-Index: 129 Template: 0 Curve: 6
Shape CIR Profile: INVALID
----------------------------------------------------------------------
Level: 0 Policy: EGRESS_CHILD_POLICY Class: cp3
QueueID: 525251 (Priority 3)
Queue Limit: 13824 kbytes (54443 packets) Abs-Index: 129 Template: 0 Curve: 5
Shape CIR Profile: INVALID
----------------------------------------------------------------------
Level: 0 Policy: EGRESS_CHILD_POLICY Class: cp4
QueueID: 525252 (Priority 4)
Queue Limit: 13824 kbytes (54443 packets) Abs-Index: 129 Template: 0 Curve: 0
Shape CIR Profile: INVALID
----------------------------------------------------------------------
Level: 0 Policy: EGRESS_CHILD_POLICY Class: cp5
QueueID: 525253 (Priority 5)
Queue Limit: 13824 kbytes (54443 packets) Abs-Index: 129 Template: 0 Curve: 0
Shape CIR Profile: INVALID
----------------------------------------------------------------------
Level: 0 Policy: EGRESS_CHILD_POLICY Class: cp6
QueueID: 525254 (Priority 6)
Queue Limit: 13824 kbytes (54443 packets) Abs-Index: 129 Template: 0 Curve: 0
Shape CIR Profile: INVALID
----------------------------------------------------------------------
Level: 0 Policy: EGRESS_CHILD_POLICY Class: cp7
QueueID: 525255 (Priority 7)
Queue Limit: 13824 kbytes (54443 packets) Abs-Index: 129 Template: 0 Curve: 0
Shape CIR Profile: INVALID
----------------------------------------------------------------------
Level: 0 Policy: EGRESS_CHILD_POLICY Class: class-default
QueueID: 525250 (Priority Normal)
Queue Limit: 13824 kbytes (54443 packets) Abs-Index: 129 Template: 0 Curve: 0
Shape CIR Profile: INVALID
WFQ Profile: 0/206 Committed Weight: 906 Excess Weight: 906
Bandwidth: 0 kbps, BW sum for Level 0: 0 kbps, Excess Ratio: 900

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
----------------------------------------------------------------------
  
This example shows the L2VPN QoS information on TenGigE 0/4/0/0/7 interface:

RP/0/RSP0/CPU0:router# show qos interface TenGigE 0/4/0/0/7 output
Thu Sep  5 10:02:14.217 UTC
NOTE:- Configured values are displayed within parentheses
Interface TenGigE0/4/0/0/7 ifh 0x2000048  -- output policy
NPU Id:       0
Total number of classes:       8
Interface Bandwidth:           10000000 kbps
Accounting Type:               Layer2 (Include Layer 2 encapsulation and above)
------------------------------------------------
Level1 Class                             =   prec-1
Schedule entry ID                        =   0x32 (0x10001)
Egressq Queue ID                         =   50 (LP queue)
Queue Max. BW.                           =   100000 kbps (1 %)
Queue Min. BW.                           =   0 kbps (default)
Weight                                   =   25 (BWR not configured)
Guaranteed service rate                  =   100000 kbps
TailDrop Threshold                       =   1250000 bytes / 100 ms (default)
Policer not configured for this class
WRED not configured for this class
 
Level1 Class (HP2)                       =   prec-2
Schedule entry ID                        =   0x33 (0x10002)
Egressq Queue ID                         =   51 (HP2 queue)
Guaranteed service rate                  =   10000000 kbps
TailDrop Threshold                       =   12500000 bytes / 10 ms (default)
 
Policer Bucket Id                        =   0x9000100095103
Policer committed rate                   =   99968 kbps (1 %)
Policer conform burst                    =   124928 bytes (default)
Policer conform action                   =   Just TX
Policer exceed action                    =   DROP PKT
WRED not configured for this class
 
Level1 Class                             =   prec-3
Schedule entry ID                        =   0x36 (0x10003)
Egressq Queue ID                         =   54 (LP queue)
Queue Max. BW.                           =   100000 kbps (1 %)
Queue Min. BW.                           =   100000 kbps (1 %)
Weight                                   =   25 (BWR not configured)
Guaranteed service rate                  =   100000 kbps
TailDrop Threshold                       =   13750 bytes / 1 ms (1100 us)
Policer not configured for this class
WRED not configured for this class
 
Level1 Class                             =   prec-5
Schedule entry ID                        =   0x37 (0x10004)
Egressq Queue ID                         =   55 (LP queue)
Queue Max. BW.                           =   100000 kbps (1 %)
Queue Min. BW.                           =   0 kbps (default)
Weight                                   =   25 (BWR not configured)
Guaranteed service rate                  =   100000 kbps
TailDrop Threshold                       =   1250000 bytes / 100 ms (default)
Policer not configured for this class
 
WRED table handle                        =   0x0
 
RED profile
WRED Min. Threshold                      =   249856 bytes (20 ms)
WRED Max. Threshold                      =   374784 bytes (30 ms)
WRED First Segment                       =   1334
WRED Segment Size                        =   11
 
Level1 Class (HP1)                       =   prec-6
Schedule entry ID                        =   0x3a (0x10005)
Egressq Queue ID                         =   58 (HP1 queue)
Guaranteed service rate                  =   10000000 kbps
TailDrop Threshold                       =   12500000 bytes / 10 ms (default)
 
Policer Bucket Id                        =   0x90001000a5103
Policer committed rate                   =   99968 kbps (1 %)
Policer conform burst                    =   124928 bytes (default)
Policer conform action                   =   Just TX
Policer exceed action                    =   DROP PKT
WRED not configured for this class
 
Level1 Class (HP1)                       =   prec-7
Schedule entry ID                        =   0x3b (0x10006)
Egressq Queue ID                         =   59 (HP1 queue)
Guaranteed service rate                  =   10000000 kbps
TailDrop Threshold                       =   12500000 bytes / 10 ms (default)
 
Policer Bucket Id                        =   0x90001000b5103
Policer committed rate                   =   99968 kbps (1 %)
Policer conform burst                    =   124928 bytes (default)
Policer conform action                   =   Just TX
Policer exceed action                    =   DROP PKT
WRED not configured for this class
 
Level1 Class                             =   prec-0
Egressq Queue ID                         =   62 (Default LP queue)
 
Policer Bucket Id                        =   0x90001000c5103
Policer committed rate                   =   99968 kbps (1 %)
Policer conform burst                    =   1245184 bytes (default)
Policer conform action                   =   Just TX
Policer exceed action                    =   DROP PKT
WRED not configured for this class
 
Level1 Class                             =   class-default
Schedule entry ID                        =   0x3e (0x10008)
Egressq Queue ID                         =   62 (Default LP queue)
Queue Max. BW.                           =   100000 kbps (1 %)
Queue Min. BW.                           =   0 kbps (default)
Weight                                   =   25 (BWR not configured)
Guaranteed service rate                  =   100000 kbps
TailDrop Threshold                       =   1250000 bytes / 100 ms (default)
Policer not configured for this class
WRED not configured for this class

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 CAC:

RP/0/RSP0/CPU0:router# show qos interface gigabitEthernet 0/1/0/0 input

Interface: GigabitEthernet0_1_0_0 input 
Bandwidth configured: 1000000 kbps Bandwidth programed: 1000000 kbps
ANCP user configured: 0 kbps ANCP programed in HW: 0 kbps
Port Shaper programed in HW: 0 kbps 
Policy: premium_services (Flow Aware Policy) Total number of classes: 5
----------------------------------------------------------------------
Level: 0 Policy: premium_services Class: dscp_cs5
QueueID: 98 (Port Default)
Policer Profile: 56 (Single)
Conform: 100000 kbps (100 mbps) Burst: 1250000 bytes (0 Default)
Child Policer Conform: TX
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 0 Policy: premium_services Class: dscp_cs6
Flow QoS Info: CAC  Cac Action
CAC Flow Mask Mode: 5-Tuple (0x20)
CAC Flow Rate: 128 kbps
CAC Rate: 896 kbps
CAC Max Flow Count: 7
CAC Flow Age: 20 Seconds
QueueID: N/A
----------------------------------------------------------------------
Level: 1 Policy: video_flows Class: video_admitted
Flow QoS Info: CAC Admit Class
CAC Flow Mask Mode: 5-Tuple (0x20)
CAC Max Flow Count: 7
CAC Flow Age: 20 Seconds
CAC Reject Action: Redirect
Number of CAC flows admitted: 0Parent Policy: premium_services Class: dscp_cs6
QueueID: 98 (Port Default)
Child Mark: set disc 1   
----------------------------------------------------------------------
Level: 1 Policy: video_flows Class: class-default
Flow QoS Info: CAC Redirect Class
Parent Policy: premium_services Class: dscp_cs6
QueueID: 98 (Port Default)
Child Mark: set dscp 32  
----------------------------------------------------------------------
Level: 0 Policy: premium_services Class: class-default
QueueID: 98 (Port Default)
Policer Profile: 54 (Single)
Conform: 30000 kbps (30 mbps) Burst: 375000 bytes (0 Default)
Child Policer Conform: TX
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------

This is the sample output of the show qos interface command for UBRL:

RP/0/RSP0/CPU0:router# show qos interface gigabitEthernet 0/1/0/0 input

Interface: GigabitEthernet0_1_0_0 input 
Bandwidth configured: 1000000 kbps Bandwidth programed: 1000000 kbps
ANCP user configured: 0 kbps ANCP programed in HW: 0 kbps
Port Shaper programed in HW: 0 kbps 
Policy: voice_flow (Flow Aware Policy) Total number of classes: 3
----------------------------------------------------------------------
Level: 0 Policy: voice_flow Class: voice_prec6
QueueID: 98 (Port Default)
Policer Profile: 56 (Single)
Conform: 5000 kbps (5 mbps) Burst: 62500 bytes (0 Default)
Child Policer Conform: set dscp 34  
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 0 Policy: voice_flow Class: ubrl1
Flow QoS Info: UBRL
UBRL Flow Mask Mode: src-ip (0x80)
UBRL Flow Age: 200 Seconds
Number of UBRL flows learnt: 0
QueueID: 98 (Port Default)
Flow Policer Profile: 58 (Single)
Conform: 10000 kbps (10 mbps) Burst: 125000 bytes (0 Default)
Catch-all Policer Profile: 57 (Single)
Conform: 100000000 kbps (100000000 kbps) Burst: 12500000 bytes (12500000 bytes)
Child Policer Conform: set dscp 34  
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 0 Policy: voice_flow Class: class-default
QueueID: 98 (Port Default)
Policer Profile: 54 (Single)
Conform: 30000 kbps (30 mbps) Burst: 375000 bytes (0 Default)
Child Policer Conform: TX
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
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 mode

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.

Release 5.1.1

This command was updated to support SPI over PW-Ether subinterface.

Usage Guidelines

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 spi5 output location 0/1/cPU0
Interface: GigabitEthernet0_1_1_5 
-------------------------------------------------------
shared-policy-instance: spi5 output 
Bandwidth configured: 1000000 kbps Bandwidth programed: 1000000 kbps
ANCP user configured: 0 kbps ANCP programed in HW: 0 kbps
Port Shaper programed in HW: 0 kbps 
Policy: parent Total number of classes: 3
----------------------------------------------------------------------
Level: 0 Policy: parent Class: class-default
QueueID: N/A
Shape CIR : NONE
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: child Class: prec1
Parent Policy: parent Class: class-default
QueueID: 131112 (Priority 1)
Queue Limit: 318 kbytes Abs-Index: 46 Template: 0 Curve: 6
Shape CIR Profile: INVALID
Policer Profile: 56 (Single)
Conform: 25000 kbps (5 percent) Burst: 312500 bytes (0 Default)
Child Policer Conform: TX
Child Policer Exceed: DROP
Child Policer Violate: DROP
----------------------------------------------------------------------
Level: 1 Policy: child Class: class-default
Parent Policy: parent Class: class-default
QueueID: 131114 (Priority Normal)
Queue Limit: 5888 kbytes Abs-Index: 109 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 1: 0 kbps, Excess Ratio: 1
----------------------------------------------------------------------

show qos summary BNG

To view the QoS summary, use the show qos summary command in EXEC mode.

show qos summary {shared-policy-instance instance-name location node-id | police {interface type instance | location node-location} | policy policy-name {interface type instance | location node-location} | queue {interface type instance | location node-location}} {input | output} [ member type instance] [host-link type instance] [ location node-location ] [np np-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 instance. For more information, use the question mark (?) online help function .

location node-location

Identifies fully qualified location specification.

input

Shows the specified policy map to the input interface.

output

Shows the specified policy map to the output interface.

np np-location

(Optional) Node processor location. The node processor location is np0, np1, np2, or np3.

The np keyword is available only for BVI interface type.

member

Specifies member's interface name.

The member keyword is available only for bundle-ether, PW-Ether and PW-IW interface types.

host-link

(Optional) Specifies the host-link.

This keyword is applicable only for satellite interfaces.

Command Default

None

Command Modes

EXEC mode

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.

The np keyword was introduced.

Release 5.1.1

PWHE interface type PW-Ether and PW-IW were added.

Usage Guidelines

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/1/CPU0 for a shared-policy-instance:

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

List of interfaces/NPs retrieved
GigabitEthernet0/1/1/1 (member of Bundle-Ether1.1)
GigabitEthernet0/1/1/2 (member of Bundle-Ether1.1)
  

This example shows policer interface statistics of BVI interface at location 0/5/cpu0:


RP/0/RSP0/CPU0:router# show qos summary police interface bvi 1 output location 0/5/cpu0 np np1

Legend:
=======
1. Policer ID is displayed in HEX.
2. A '*' against the counter means the action is drop.
3. Conform displays match counter for non-policer leaf.

Policy:Class                       PoliceID     Conform      Exceed     Violate
BVI1 NP1
foo
:dscp48                           6145               0           0*          0*
foo
:class-default                    6146               0           0*          0*