Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Command Reference, Release 5.1.x
Link Bundles Commands
Downloads: This chapterpdf (PDF - 1.28MB) The complete bookPDF (PDF - 3.38MB) | Feedback

Link Bundles Commands

Link Bundles Commands

A link bundle is a group of one or more ports that are aggregated together and treated as a single link. This chapter describes the commands used for QoS on link bundles. For detailed information on Link Bundles, related concepts and configuration tasks, see the Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide

clear qos counters (shared-policy-instance)

To clear counters of a specific shared policy instance, use the clear qos counters (shared-policy-instance) command in EXEC mode .

clear qos counters 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

(Optional) Clear the QoS counters of the shared policy instance attached to the input interface.

output

(Optional) Clear the QoS counters of the shared policy instance attached to the output interface.

location node-id

Location of the node. The node-id argument is entered in the rack/slot/module format. Specify the active RSP location as the node-id for a shared policy instance over bundle interfaces and PWHE subinterfaces.

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.

Usage Guidelines

You must be in a user group associated with a task group that includes the proper task IDs. The command reference guides include the task IDs required for each command. If you suspect user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

Task ID

Task ID

Operations

qos

read, write

Examples

The following example shows how to clear the qos counters for a specific shared policy instance:

RP/0/RSP0/CPU0:router# clear qos counters shared-policy-instance ethernet101 input location 0/1/CPU0

Related Commands

Command

Description

service-policy (interface)

Attaches a policy map to an input interface or output interface to be used as the service policy for that interface.  

show policy-map shared-policy-instance

Displays the statistics for all details of the shared policy instance.  

clear qos counters interface

To clear QoS counters for a specified interface, use the clear qos counters interface command in EXEC mode.

clear qos counters interface { type | all } [ input | output ] nv [ satellite satellite-id ]

Syntax Description

type

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

all

Specifies all interfaces.

input

(Optional) Clears input QoS counters that are attached to the specified interface.

output

(Optional) Clears output QoS counters that are attached to the specified interface.

nv

Clears the statistics of the satellite access or fabric interfaces.

satellite

Clears the per class statistics on the inbound or outbound traffic for the specified satellite.

satellite-id

Clears the satellite statistics based on the specified satellite ID.

Command Default

No default behavior or values

Command Modes

EXEC

Command History

Release

Modification

Release 3.7.2

This command was introduced.

Release 3.9.0

The interface keyword was added.

Release 5.1.1

The nv satellite keywords and the satellite-id variable were added.

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 clear qos counters interface command clears all input and output QoS counters that are attached to a specified interface, unless the input or output keyword is specified. If the input or output keyword is specified, only counters attached to the interface in a specified direction are cleared.

The MIB counters are not reset with this command.


Note


The clear qos counters interface command when executed on satellite may lead to unexpected behavior for QoS offload.

Task ID

Task ID

Operations

qos

read, write

Examples

This example shows how to clear QoS counters attached to Gigabit Ethernet interface 0/1/0/9 on satellite 100:
RP/0/RSP0/CPU0:router# clear qos counters interface TenGigE 0/1/0/9 nv satellite 100  
This example shows how to clear output QoS counters attached to interface 0/7/0/3 on satellite 100:
RP/0/RSP0/CPU0:router# clear qos counters interface 0/7/0/3 output nv satellite 100
This example shows how to clear output QoS counters attached to all interfaces on satellite 100:
RP/0/RSP0/CPU0:router# clear qos counters interface all output nv satellite 100

encap-sequence

To set the traffic class for traffic on multiclass multilink (MCMP) interfaces in the egress direction, use the encap-sequence command in class map configuration mode.

encap-sequence [ class-id | none ]

no encap-sequence class-id

Syntax Description

class-id

(Optional) Encapsulation sequence number. Range is 1-15.

none

(Optional) No encapsulation sequence.

Command Default

No default behavior or values

Command Modes

Class map configuration

Command History

Release

Modification

Release 3.9.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 appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

The encap-sequence command is not supported on class-default.

Task ID

Task ID

Operations

qos

read/write

Examples

The following example shows an encapsulation sequences set for three classes in one policy map:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# policy-map policy1
RP/0/RSP0/CPU0:router(config-pmap)# class voice
RP/0/RSP0/CPU0:router(config-pmap-c)# priority level 1
RP/0/RSP0/CPU0:router(config-pmap-c)# police rate 128
RP/0/RSP0/CPU0:router(config-pmap-c)# encap-sequence none
RP/0/RSP0/CPU0:router(config-pmap-c)# class video
RP/0/RSP0/CPU0:router(config-pmap-c)# priority level 2
RP/0/RSP0/CPU0:router(config-pmap-c)# police 1000
RP/0/RSP0/CPU0:router(config-pmap-c)# encap-sequence 2
RP/0/RSP0/CPU0:router(config-pmap-c)# class mission-critical
RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth 1000
RP/0/RSP0/CPU0:router(config-pmap-c)# encap-sequence 1

Related Commands

Command

Description

class (policy-map)

Specifies the name of the class whose policy you want to create or change.  

policy-map

Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy.  

priority (QoS)

Assigns a priority to a class of traffic belonging to a policy map.