6.3. Frame-Based Accounting Command Reference

6.3.1. Command Hierarchies

6.3.1.1. Configuration Commands

config
— qos
[no] egress-enable

6.3.1.2. Show Commands

show
— qos
access-egress [policy-id] [association | detail]
network [policy-id] [detail]
network-queue [network-queue-policy-name] [detail]
queue-mgmt [name] [detail]
sap-egress [policy-id] [association | detail]
sap-ingress [policy-id] [association | match-criteria | detail]

6.3.2. Command Descriptions

6.3.2.1. Configuration Commands

frame-based-accounting

Syntax 
frame-based-accounting
Context 
config>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure frame-based accounting.

egress-enable

Syntax 
[no] egress-enable
Context 
config>qos>frame-based-accounting
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables frame-based accounting for access egress, network queue, port scheduler, SAP or network aggregate rate, and port-level egress-rate.

The no form of this command disables frame-based accounting for all egress QoS.

Default 

no egress-enable

ingress-enable

Syntax 
[no] ingress-enable
Context 
config>qos>frame-based-accounting
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables frame-based accounting for SAP-ingress and network QoS.

The no form of this command disables frame-based accounting for SAP-ingress and network QoS.

Default 

no ingress-enable

6.3.2.2. Show Commands

sap-ingress

Syntax 
sap-ingress [policy-id] [association | match-criteria | detail]
Context 
show>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the accounting status of a SAP-ingress policy along with other details of the policy. When frame-based-accounting is enabled, accounting is shown as frame-based, otherwise it is shown as packet-based.

Parameters 
policy-id —
Displays information about the specific policy ID.
association—
Displays the associations of the SAP-ingress policy.
match-criteria—
Displays the match criteria of the SAP-ingress policy.
detail—
Displays the detailed information of the SAP-ingress policy.
Output 

The following output is an example of SAP-ingress QoS policy information.

Sample Output
*A:Dut-1# show qos sap-ingress 1 
===============================================================================
QoS Sap Ingress
===============================================================================
-------------------------------------------------------------------------------
Sap Ingress Policy (1)
-------------------------------------------------------------------------------
Policy-id          : 1                        Scope              : Template    
Default FC         : be                                                        
Criteria-type      : None                                                      
Accounting         : frame-based                                               
Classifiers Allowed: 16                       Meters Allowed     : 8           
Classifiers Used   : 2                        Meters Used        : 2           
Description    : Default SAP ingress QoS policy.
 
===============================================================================
*A:Dut-1#

network

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

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the accounting status of a network QoS policy, in addition to other details about the policy. When frame-based-accounting is enabled, accounting is shown as frame-based, otherwise it is shown as packet-based.

Parameters 
policy-id —
Displays information about the specific policy ID.
detail—
Displays the detailed policy information.
Output 

The following output is an example of network QoS policy information.

Sample Output
*A:Dut-1# show qos network 1 
===============================================================================
QoS Network Policy
===============================================================================
-------------------------------------------------------------------------------
Network Policy (1)
-------------------------------------------------------------------------------
Policy-id      : 1                            Remark       : False             
Forward Class  : be                           Profile      : Out               
Attach Mode    : l2                           Config Mode  : l2+mpls           
Scope          : Template                     Policy Type  : port              
Accounting     : frame-based                                                   
Description    : Default network-port QoS policy.
-------------------------------------------------------------------------------
Meter Mode   CIR Admin   CIR Rule   PIR Admin   PIR Rule    CBS       MBS
-------------------------------------------------------------------------------
1     TrTcm_CA  0         closest       max       closest   32        128 
-------------------------------------------------------------------------------
FC                  UCastM         MCastM         
-------------------------------------------------------------------------------
No FC-Map Entries Found. 
-------------------------------------------------------------------------------
Port Attachments
-------------------------------------------------------------------------------
Port-id : 1/1/3                                                                
Port-id : 1/1/6                                                                
Port-id : 1/1/7                                                                
Port-id : 1/1/8                                                                
Port-id : 1/1/9                                                                
Port-id : 1/1/10                                                               
Port-id : 1/1/11                                                               
Port-id : 1/1/12                                                               
Port-id : 1/1/13                                                               
Port-id : 1/1/14                                                               
Port-id : 1/1/15                                                               
Port-id : 1/1/16                                                               
Port-id : 1/1/17                                                               
Port-id : 1/1/18                                                               
Port-id : 1/1/19                                                               
Port-id : 1/1/20                                                               
Port-id : 1/1/21                                                               
Port-id : 1/1/22                                                               
Port-id : 1/1/23                                                               
Port-id : 1/1/24                                                               
===============================================================================
*A:Dut-1#

sap-egress

Syntax 
sap-egress [policy-id] [association | detail]
Context 
show>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the accounting status of a SAP-egress policy, in addition to other details about the policy. When frame-based-accounting is enabled, accounting is shown as frame-based, otherwise it is shown as packet-based.

Parameters 
policy-id —
Displays information about the specific policy ID.
association—
Displays the policy associations.
detail—
Displays the detailed policy information.

access-egress

Syntax 
access-egress [policy-id] [association | detail]
Context 
show>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the accounting status of an access-egress policy, in addition to other details about the policy. When frame-based-accounting is enabled, accounting is shown as frame-based, otherwise it is shown as packet-based.

Parameters 
policy-id —
Displays information about the specific policy ID.
association—
Displays the policy associations.
detail—
Displays the policy information in detail.
Output 

The following output is an example of access-egress QoS policy information.

Sample Output
 
*A:SAS# show qos sap-egress 1 
===============================================================================
QoS Sap Egress
===============================================================================
-------------------------------------------------------------------------------
Sap Egress Policy (1)
-------------------------------------------------------------------------------
Scope : Template 
Remark : False Remark Pol Id : 2
Accounting : frame-based 
Description : Default SAP egress QoS policy.
===============================================================================

network-queue

Syntax 
network-queue [network-queue-policy-name] [detail]
Context 
show>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the accounting status of a network-queue policy, in addition to other details about the policy. When frame-based-accounting is enabled, accounting is shown as frame-based, otherwise it is shown as packet-based.

Parameters 
network-queue-policy-name—
Displays information about the specific network queue policy.
detail—
Displays the detailed policy information.
Output 

The following output is an example of network queue policy information.

Sample Output
*A:Dut-1# show qos network-queue default 
===============================================================================
QoS Network Queue Policy
===============================================================================
-------------------------------------------------------------------------------
Network Queue Policy (default)
-------------------------------------------------------------------------------
Policy         : default                                                       
Accounting     : frame-based                                                   
Description    : Default network queue QoS policy.
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Port-id : 1/1/6                                                                
Port-id : 1/1/7                                                                
Port-id : 1/1/8                                                                
Port-id : 1/1/9                                                                
Port-id : 1/1/10                                                               
Port-id : 1/1/11                                                               
Port-id : 1/1/12                                                               
Port-id : 1/1/13                                                               
Port-id : 1/1/14                                                               
Port-id : 1/1/15                                                               
Port-id : 1/1/16                                                               
Port-id : 1/1/17                                                               
Port-id : 1/1/18                                                               
Port-id : 1/1/20                                                               
Port-id : 1/1/21                                                               
Port-id : 1/1/22                                                               
Port-id : 1/1/23                                                               
Port-id : 1/1/24                                                               
===============================================================================
*A:Dut-1#

queue-mgmt

Syntax 
queue-mgmt [name] [detail]
Context 
show>qos
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the CBS, MBS, and slope parameters configured for the queue. It also displays the policy associations.

Parameters 
name—
Displays the name of the specific policy ID.
detail—
Displays the detailed policy information.
Output 

The following output is an example of queue management information.

Sample Output
*A:7210SAS>show>qos# queue-mgmt detail
 
===============================================================================
QoS Queue Management Policy
===============================================================================
Policy         : default
Description    : Default Queue Management policy.
CBS            : Default                      MBS          : Default
Time Avg       : 7
 
High Slope Parameters
-------------------------------------------------------------------------------
Start Avg      : 70                           Admin State  : Disabled
Max Avg        : 90                           Max Prob.    : 75
 
Low Slope Parameters
-------------------------------------------------------------------------------
Start Avg      : 50                           Admin State  : Disabled
Max Avg        : 75                           Max Prob.    : 75
 
Associations
-------------------------------------------------------------------------------
SAP Ingress
-------------------------------------------------------------------------------
No SAP Ingress Associations found.
-------------------------------------------------------------------------------
 
SAP Egress
-------------------------------------------------------------------------------
SAP Egress Policy Id          : 1
Queue Ids                     : 1, 2, 3, 4, 5, 6, 7, 8
-------------------------------------------------------------------------------
 
SAP Associations
-------------------------------------------------------------------------------
Service-Id     : 100 (VPLS)                   Customer-Id  : 1
 - SAP : 1/1/9:100
 - SAP : 2/1/10:100
-------------------------------------------------------------------------------
 
Network Queues
-------------------------------------------------------------------------------
Network Queue Policy Name     : default
Queue Ids                     : 1, 2, 3, 4, 5, 6, 7, 8
-------------------------------------------------------------------------------
 
Network-Port Associations
-------------------------------------------------------------------------------
Port-id : 1/1/1
Port-id : 1/1/2
Port-id : 1/1/3
Port-id : 1/1/4
Port-id : 1/1/5
Port-id : 1/1/6
Port-id : 1/1/7
Port-id : 1/1/8
Port-id : 1/1/10
Port-id : 1/1/11
Port-id : 1/1/12
Port-id : 1/1/13
Port-id : 1/1/14
Port-id : 1/1/15
Port-id : 1/1/16
Port-id : 1/1/17
Port-id : 1/1/18
Port-id : 1/1/19
Port-id : 1/1/20
Port-id : 1/1/21
Port-id : 1/1/22
Port-id : 2/1/1
Port-id : 2/1/2
Port-id : 2/1/3
Port-id : 2/1/4
Port-id : 2/1/5
Port-id : 2/1/6
Port-id : 2/1/7
Port-id : 2/1/8
Port-id : 2/1/9
Port-id : 2/1/11
Network Queue Policy Name     : _tmnx_hybrid_default
Queue Ids                     : 1, 2, 3, 4, 5, 6, 7, 8
-------------------------------------------------------------------------------
 
Network-Port Associations
-------------------------------------------------------------------------------
No Matching Entries
 
===============================================================================
*A:7210SAS>show>qos#