Dump commands

dump

Syntax

dump router-name

Context

tools

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables context to display information for debugging.

Parameters

router-name

Specifies a router name, up to 32 characters.

Default

base

accounting-policy

Syntax

accounting-policy acct-policy-id flash-write-count [clear]

Context

tools>dump

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command dumps the total count of flash writes for the accounting policy specified by the user. The clear option allows the user to clear the count maintained per accounting policy and restart the counter.

Parameters

flash-write-count

Specifies the total number of flash writes up to the present for the accounting policy specified by accounting policy 'id'.

acct-policy-id

Specifies the accounting policy.

Values

1 to 99

clear

Clears statistics.

top-active-meps

Syntax

top-active-meps [rx-sort | tx-sort] [clear]

Context

tools>dump>eth-cfm

Platforms

7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C

Description

This command displays, and optionally clears, the most active MEPs on the system.

Default

sorts total in both directions

Parameters

rx-sort

Specifies to sort in the receive (Rx) direction.

tx-sort

Specifies to sorts in the transmit (Tx) direction.

clear

Clears the current counters.

eth-ring

Syntax

eth-ring ring-index [clear]

eth-ring control-sap-tag port-id [list-in-use | next-available]

Context

tools>dump

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays Ethernet-ring information.

Parameters

ring-index

Specifies the ring index.

Values

1 to 128

clear

Clears statistics.

lag

Syntax

lag lag-id lag-id

Context

tools>dump

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays LAG information.

Parameters

lag-id

Specifies an existing LAG ID.

Values

1 to 12

Output

Sample output

*A:7210 SAS>tools>dump# lag lag-id 1 
Port state      : Up
Selected subgrp : 1
NumActivePorts  : 2
ThresholdRising : 2
ThresholdFalling: 0
IOM bitmask     : 2
Config MTU      : 1522
Oper. MTU       : 1522
Bandwidth       : 200000

multi-chassis   : NO

------------------------------------------------------------------------------------
Indx   PortId   RX pkts   TX pkts   State Active Port  Cfg Oper Speed       BW AP CS
                                                 Pri   Mtu Mtu                    
------------------------------------------------------------------------------------
   0    1/1/
1         1         1      Up    yes 32768 1522 1522  1000   100000  0  2
   1    1/1/
2         0         0      Up    yes 32768 1522 1522  1000   100000  0  2

ldp-treetrace

Syntax

ldp-treetrace {prefix ip-prefix/mask | manual-prefix ip-prefix/mask} [path-destination ip-address] [trace-tree]

Context

tools>dump

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command displays LDP treetrace information.

Note:

The tools dump ldp-treetrace prefix command displays entries only if ldp-treetrace is enabled, that is, configure test-oam ldp-treetrace no shutdown is configured.

Parameters

prefix ip-prefix/mask

Specifies the IP prefix and host bits.

Values

host bits: must be 0 mask: 0 to 32

Output

The following output is an example of LDP treetrace information.

Sample output — automated LDP treetrace
*A:Dut-B# tools dump ldp-treetrace prefix 10.20.1.6/32 
    Discovered Paths: 
    ===================
    Id   PathDst           EgrNextHop        ReplyRtrAddr      DiscoveryTime 
           DiscoveryTtl      ProbeState        ProbeTmOutCnt     RtnCode 
    ===  ================  ================  ================  ===================
    001       127.1.0.255        10.10.41.2         10.10.9.6  11/09/2010 16:15:54
                     002                OK                00             EgressRtr
    002       127.2.0.255        10.10.42.2         10.10.9.6  11/09/2010 16:15:54
                     002                OK                00             EgressRtr
    003       127.3.0.255        10.10.43.2         10.10.9.6  11/09/2010 16:15:54
                     002                OK                00             EgressRtr
    004       127.4.0.255        10.10.44.2         10.10.9.6  11/09/2010 16:15:54
                     002                OK                00             EgressRtr
    005       127.5.0.255        10.10.45.2         10.10.9.6  11/09/2010 16:15:54
                     002                OK                00             EgressRtr

    ldp-treetrace discovery state: Done  
    ldp-treetrace discovery status: ' OK '  
    Total number of discovered paths: 5 
    Total number of probe-failed paths: 0 
    Total number of failed traces: 0     
*A:Dut-B# 

persistence

Syntax

persistence

Context

tools>dump

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context display persistence information for debugging.

summary

Syntax

summary

Context

tools>dump>persistence

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays persistence summary information for debugging.

Output

Sample output
A:ALA-B# tools dump persistence summary 
=====================================================================
Persistence Summary on Slot A
=====================================================================
Client             Location            Entries in use    Status
---------------------------------------------------------------------
xxxxxx            cf1:\l2_dhcp.pst    200               ACTIVE
---------------------------------------------------------------------
Persistence Summary on Slot B
=====================================================================
Client             Location            Entries in use    Status
---------------------------------------------------------------------
xxxxxx              cf1:\l2_dhcp.pst    200               ACTIVE
---------------------------------------------------------------------
A:ALA-B#

system

Syntax

system

Context

tools>dump

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command dumps tools for system information.

cpu-pkt-stats

Syntax

cpu-pkt-stats

Context

tools>dump>system

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command dumps statistics for CPU traffic.

system-resources

Syntax

system-resources slot-number [sap-ingress-qos] [associations]

system-resources slot-number egress-acls

system-resources slot-number ingress-acls

system-resources mcast-groups

Context

tools>dump

Platforms

7210 SAS-K 2F6C4T (Network Mode) and 7210 SAS-K 3SFP+ 8C (Network Mode)

Description

This command displays system resource information.

Parameters

slot-number

Specifies a slot to view system resources information.

Values

1

sap-ingress-qos

Specifies details about usage of resources allocated for QoS classification and different match criteria under QoS classification.

associations

Specifies all SAPs that use each chunk ID.

egress-acls

Specifies details on usage of resources allocated for egress filter resource consumption.

ingress-acls

Specifies details on usage of resources allocated for ingress filter resource consumption.

mcast-groups

Specifies details on usage of resources allocated for multicast group resource consumption.

Output

The following outputs are examples of system resources information:

The following table describes tools>dump>system-resource SAP ingress QoS output fields.

Table: Output fields: tools dump system-resource SAP ingress QoS

Labels

Descriptions

Total Chunks Configured

Displays the total number of chunks configured for use by SAP ingress QoS classification across all the match criteria

Total Chunks Available

Displays the total number of chunks alloted by software for use by SAP ingress QoS classification across all the match criteria

Number of Chunks in Use

Displays the total number of chunks in use by SAP for SAP ingress QoS classification

Number of Free Chunks

Displays the total number of chunks available for use by SAP for SAP ingress QoS classification

Number of Chunks in use for IP match

Displays the total number of chunks in use for by SAP that use IP classification match criteria in the SAP ingress QoS policy

Number of Chunks in use for IPv6 match

Displays the total number of chunks in use for by SAP that use IPv6 classification match criteria in the SAP ingress QoS policy

Number of Chunks in use for MAC match

Displays the total number of chunks in use for by SAP that use MAC classification match criteria in the SAP ingress QoS policy

Classification Entries

The total number of Classification entries that are available/allocated/free per chunk

Information is displayed only for chunks that are in use.

Meters

The total number of Meters that are available/allocated/free per chunk

Information is displayed only for chunks that are in use.

Number of Chunks available for use with IP match criteria

Displays the total number of chunks in use for by SAP that use IP classification match criteria in the SAP ingress QoS policy

This assumes all of the free chunks are alloted to IP classification match criteria.

Number of Chunks available for use with IPv6 match criteria

Displays the total number of chunks in use for by SAP that use IPv6 classification match criteria in the SAP ingress QoS policy

This assumes all of the free chunks are alloted to IPv6 classification match criteria.

Number of Chunks available for use with MAC match criteria

Displays the total number of chunks in use for by SAP that use MAC classification match criteria in the SAP ingress QoS policy

This assumes all of the free chunks are alloted to MAC classification match criteria.

Sample output: SAP ingress QoS

*A:7210-SAS>tools>dump# system-resources sap-ingress-qos
Sap Resource Manager info at 001 d 10/11/12 04:42:00.043:

Sap Ingress Resource Usage for Slot #1, Cmplx #0:

Total Chunks Configured : 6
Total Chunks Available  : 6
Number of Chunks in Use : 1
Number of Free Chunks   : 5
Number of Chunks in use for IP match   :0
Number of Chunks in use for IPv6 match :0
Number of Chunks in use for MAC match  :1
                 |  Classification Entries   |           Meters
    Chunk | Type | Total  |Allocated|  Free  | Total  |Allocated|  Free
  --------+------+--------+---------+--------+--------+---------+---------
         0|   Mac|     512|        2|     510|     256|        1|     255

Number of Chunks available for use with IP match*   : 5
Number of Chunks available for use with IPv6 match* : 0
Number of Chunks available for use with MAC match*  : 5

* - Assumes all remaining chunks are used
*A:Dut-A>tools>dump#
Sample output: SAP ingress QoS and SAP egress aggregate meter for 7210 SAS-D

The following example displays the resource utilization for SAP ingress QoS and SAP egress aggregate meter for the 7210 SAS-D, and Table: Output fields: tools dump system-resource SAP ingress QoS and Table: Output fields: tools dump system-resource describe the output fields.


*A:7210SAS>tools>dump# system-resources sap-ingress-qos
Sap Resource Manager info at 007 h 01/01/70 07:18:39.032:

Sap Ingress Resource Usage for Slot #1, Cmplx #0:

Total Chunks Configured : 1
Total Chunks Available  : 1
Number of Chunks in Use : 0
Number of Free Chunks   : 1
Number of Fixed Chunks  : 1

Number of Chunks in use for IP match       : 0
Number of Chunks in use for IPv6 match     : 0
Number of Chunks in use for IP + Mac match : 0
Number of Chunks in use for MAC match      : 0
Number of pre-allocated Chunks with MAC match# :1

                 |  Classification Entries   |           Meters
    Chunk | Type | Total  |Allocated|  Free  | Total  |Allocated|  Free
  --------+------+--------+---------+--------+--------+---------+---------
         1|   Mac|     128|        2|     126|      64|        1|      63

Number of Chunks available for use with IP match*        : 1
Number of Chunks available for use with IPv6 match*      : 0
Number of Chunks available for use with Ip + Mac match*  : 1
Number of Chunks available for use with MAC match*       : 1

# - Chunk 1 with 128 entries is statically assigned to SAP ingress QoS MAC criteria.
* - Assumes all remaining chunks are used


*A:7210SAS>tools>dump#*A:NS1050C0070>tools>dump# system-resources
Resource Manager info at 007 h 01/01/70 07:17:52.952:

Hardware Resource Usage per Node:

                                 |   Total   | Allocated |    Free
  -------------------------------+-----------+-----------+------------

Hardware Resource Usage for Slot #1, CardType iom-sas, Cmplx #0:
                                 |   Total   | Allocated |    Free
  -------------------------------+-----------+-----------+------------
        SAP Ingress QoS Policies |       1791|          1|       1790
        Access Egr. QoS Policies |        255|          1|        254
     SAP Ingress Aggregate-Meter |        128|          0|        128
       Shared Qos Ingress Meters |        128|          0|        128
  Shared Qos Ingress CAM Entries |        256|          0|        256
          Mac Qos Ingress Meters |         64|          1|         63
     Mac Qos Ingress CAM Entries |        128|          2|        126
        IPv4  Qos Ingress Meters |          0|          0|          0
    IPv4 Qos Ingress CAM Entries |          0|          0|          0
        IPv6  Qos Ingress Meters |          0|          0|          0
    IPv6 Qos Ingress CAM Entries |          0|          0|          0
    IP + Mac  Qos Ingress Meters |          0|          0|          0
IP + Mac Qos Ingress CAM Entries |          0|          0|          0
    SAP Egress Agg-Meter Entries |        256|          0|        256
          Network Ingress Meters |         90|          0|         90
         Network Ing CAM Entries |        180|          0|        180
         Port Scheduler Policies |          0|          0|          0
      Ingress Shared ACL Entries |        512|          0|        512
         Ingress Mac ACL Entries |          0|          0|          0
        Ingress IPv4 ACL Entries |          0|          0|          0
    Ing IPv6 128 bit ACL Entries |          0|          0|          0
     Ing IPv6 64 bit ACL Entries |          0|          0|          0
       Egress Shared ACL Entries |          0|          0|          0
     Egress Mac only ACL Entries |          0|          0|          0
     Egress Mac+IPv4 ACL Entries |          0|          0|          0
    Egr IPv6 128 bit ACL Entries |          0|          0|          0
 Egr Mac+IPv6 64 bit ACL Entries |          0|          0|          0
      Ingress SAP Lookup Entries |        240|          0|        240
      Egress Sap Counter Entries |          0|          0|          0
Num VLAN-ID/Range in Con Profile |       4096|          0|       4096

*A:7210SAS>tools>dump#
Table: Output fields: tools dump system-resource

Labels

Descriptions

SAP Ingress QoS Policies

Number of SAP ingress policies that are allowed to be configured (software-limit)

Access Egr. QoS Policies

Number of Access egress policies that are allowed to be configured (software-limit)

SAP Egress QoS Policies

Number of SAP egress policies that are allowed to be configured (software-limit)

SAP Ingress Aggregate-Meter

Number of SAP ingress aggregate meter (that is, per SAP aggregate meter) allowed (hardware limit)

Shared Qos Ingress Meters

Number of SAP ingress meter (that is, per FC meter) across all type of match-criteria (that is, MAC, IPv4, IPv6) (hardware limit)

Shared Qos Ingress CAM Entries

Number of SAP ingress classification CAM entries across all match-criteria (hardware limit)

Mac Qos Ingress Meters

Number of SAP ingress meter (that is, per FC meter) for MAC match-criteria (hardware limit)

Mac Qos Ingress CAM Entries

Number of SAP ingress classification CAM entries for MAC match-criteria (hardware limit)

IPv4 Qos Ingress Meters

Number of SAP ingress meter (that is, per FC meter) for IPv4 match-criteria (hardware limit)

IPv4 Qos Ingress CAM Entries

Number of SAP ingress classification CAM entries for IPv4 match-criteria (hardware limit)

IPv6 Qos Ingress Meters

Number of SAP ingress meter (that is, per FC meter) for IPv6 match-criteria (hardware limit)

IPv6 Qos Ingress CAM Entries

Number of SAP ingress classification CAM entries for IPv6 match-criteria (hardware limit)

IP + Mac Qos Ingress Meters

Number of SAP ingress meter (that is, per FC meter) for IP+MAC match-criteria (hardware limit)

IP + Mac Qos Ingress CAM Entries

Number of SAP ingress classification CAM entries for IP+MAC match-criteria (that is, IP and MAC criteria in the same policy) (hardware limit)

DSCP Qos Ingress Meters

Number of SAP ingress meter (that is, per FC meter) when using IP DSCP table-based classification (hardware limit)

DSCP CAM Entries

Number of CAM entries for IP DSCP table-based classification. (hardware limit)

DSCP Profile

Number of IP DSCP table-based classification resources (hardware limit)

Network Ing Port Meters

Number of Network Port Ingress Meters (hardware limit)

Network Ing Port CAM Entries

Number of Network port ingress classification CAM entries used for FC classification. (hardware limit)

Network Ing IpIntf Meters

Number of Network IP interface meters ( hardware limit)

Network Ing IpIntf CAM Entries

Number of Network IP interface ingress classification CAM entries used for FC classification. (hardware limit)

Network MPLS Exp Profile Table

Number of MPLS EXP to FC mapping table resources (hardware limit)

Port Scheduler Policies

Number of Port Scheduler policies that can be configured (software limit)

Queue Management Policies

Number of Queue Management policies that can be configured (software limit)

Remark Policies

Number of Remark policies that can be configured (software limit)

Shared Egr QOS MAP Entries

Number of entries in the remark table used for access SAP egress marking, network IP interface egress MPLS EXP marking, and access egress marking (hardware limit)

Egress QOS CAM Entries

Number of resources used for access SAP egress queuing (hardware limit)

These resources are taken from the ingress-internal-tcam pool.

Dscp Classification policies

Number of IP DSCP table-based classification policy templates (software limit)

Ingress Shared ACL Entries

Number of CAM entries for ingress ACLs across all match-criteria (some of these are shared with SAP aggregate meter)

See the system resource profile command description for more information.

Ingress Mac ACL Entries

Ingress ACL CAM entries for MAC match criteria

Ingress IPv4 ACL Entries

Ingress ACL CAM entries for IPv4 match criteria

Ing IPv6 128 bit ACL Entries

Ingress ACL CAM entries for IPv6 with 128-bit addresses match criteria

Ing IPv6 64 bit ACL Entries

Ingress ACL CAM entries for IPv6 with 64-bit addresses match criteria

Egress Shared ACL Entries

Number of CAM entries for egress ACLs across all match-criteria

Egress Mac only ACL Entries

Egress ACL CAM entries for MAC match criteria

Egress Mac+IPv4 ACL Entries

Egress ACL CAM entries for MAC and IPv4 match criteria

Egr IPv6 128 bit ACL Entries

Egress ACL CAM entries for IPv6 128-bit match criteria

Egr Mac+IPv6 64 bit ACL Entries

Egress ACL CAM entries for MAC + IPv6 64-bit match criteria

Ingress SAP Lookup Entries

Number of entries used to identify the SAP on port ingress (hardware limit)

Egress Aggregate Meter

Resources used for egress aggregate meter configured for access SAP (hardware limit)

TWAMP/LT Entries

Number of CAM entries used for TWAMP/TWAMP light (hardware limit)

MEP Lookup CAM Entries

The number of CAM entries (pre-ingress resource pool) used for CFM/Y.1731 Down MEP processing (hardware limit)

DN MEP Entries

Number of CAM entries in the ingress-internal-tcam pool for CFM/Y.1731 Down MEP processing (hardware limit)

Num VLAN-ID/Range in Con Profile

The number of VLAN IDs that can be listed explicitly in the connection profile, instead of specifying the range value (hardware limit)

Egress TLS Mcast Entries

The number of egress multicast entries (software limit)

Sample output: SAP ingress QoS policy associations
*A:dut-a# tools dump system-resources sap-ingress-qos associations 
Sap Resource Manager info at 008 h 10/28/18 05:34:18.747:
==============================================================================
Service Access Points TCAM Ingress Resource Usage Slot #1, Cmplx #0:
==============================================================================
  Sap Id                     SvcId     Ing. Qos    Chunk    Num       Type   
                                            Pol.          Classifiers
==============================================================================
  1/1/1:100                    505       1           0        2        Mac    
  lag-6:300                    505       1           0        2        Mac    
  1/1/1:200                    506       1           0        2        Mac    
  lag-6:400                    506       1           0        2        Mac    
  1/1/1:201                    507       1           0        2        Mac    
  lag-6:401                    507       1           0        2        Mac    
  1/1/1:202                    508       1           0        2        Mac    
  lag-6:402                    508       1           0        2        Mac    
  1/1/1:300                    605       1           0        2        Mac    
  lag-6:100                    605       21          0        32       Mac    
  1/1/1:400                    606       1           0        2        Mac    
  lag-6:200                    606       22          1        32       Dscp   
  1/1/1:401                    607       1           0        2        Mac    
  lag-6:201                    607       23          0        32       Mac    
  1/1/1:402                    608       1           0        2        Mac    
  lag-6:202                    608       24          1        32       Dscp   
------------------------------------------------------------------------------
Number of SAPs : 16
------------------------------------------------------------------------------
==============================================================================
Sample output: tools dump system-resources for 7210 SAS-K 2F1C2T

The following example displays the resource utilization for the 7210 SAS-K 2F1C2T, and Table: Output fields: discard statistics describes the output fields. The display for the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C is similar.


*A:Dut-A>tools>dump# system-resources
Resource Manager info at 014 h 05/03/17 12:24:09.828:

Hardware Resource Usage per Node:

                                 |   Total   | Allocated |    Free
  -------------------------------+-----------+-----------+------------


Hardware Resource Usage for Slot #1, CardType iom-sas, Cmplx #0:
                                 |   Total   | Allocated |    Free
  -------------------------------+-----------+-----------+------------
        SAP Ingress QoS Policies |        255|          1|        254
         SAP Egress QoS Policies |        255|          1|        254
            Network QoS Policies |         32|          1|         31
      Network Queue QoS Policies |         32|          1|         31
                  Ingress Queues |        400|          2|        398
                   Egress Queues |        400|          2|        398
             WRED Slope Profiles |        255|          1|        254
                  Ingress Meters |        511|          0|        511
             Ingress CAM Entries |          0|          0|          0
         Port Scheduler Policies |          0|          0|          0
                 Remark Policies |         63|          1|         62
   Dot1p Classification policies |         63|          1|         62
    Dscp Classification policies |         31|          0|         31
      Ingress Shared ACL Entries |        510|          0|        510
         Ingress Mac ACL Entries |           |          0|
        Ingress IPv4 ACL Entries |           |          0|
    Ing IPv6 128 bit ACL Entries |           |          0|
     Ing IPv6 64 bit ACL Entries |           |          0|
       Egress Shared ACL Entries |       1020|        128|        892
Egress ETH-CFM PVLAN ACL Entries |           |        128|
          Egress Mac ACL Entries |           |          0|
         Egress IPv4 ACL Entries |           |          0|
    Egr IPv6 128 bit ACL Entries |           |          0|
     Egr IPv6 64 bit ACL Entries |           |          0|
      Ingress Shared QoS Entries |          0|          0|          0
         Ingress Mac QoS Entries |           |          0|
        Ingress IPv4 QoS Entries |           |          0|
    Ing IPv6 128 bit QoS Entries |           |          0|
     Ing IPv6 64 bit QoS Entries |           |          0|
      Ingress SAP Lookup Entries |          8|          0|          8
Num VLAN-ID/Range in Con Profile |       4096|          0|       4096
        Egress TLS Mcast Entries |     147455|          1|     147454

*A:Dut-A>tools>dump#
Sample output: multicast groups

*A:Dut-B# tools dump system-resources mcast-groups
 ============================================================
 Multicast Group Usage
 ============================================================
              Owner    No. of Mcast Groups
 ------------------------------------------------------------
             SVCMGR    2
               MFIB    11
 ------------------------------------------------------------
    Total Available    4080
    Total Allocated    13
 ============================================================
*A:Dut-B#