3.12. Tools Command Reference

3.12.1. Command Hierarchies

3.12.1.1. Configuration Commands

3.12.1.1.1. Dump Commands

dump
accounting-policy acct-policy-id flash-write-count [clear]
top-active-meps [rx-sort | tx-sort] [clear]
eth-ring ring-index [clear]
lag lag-id lag-id
— mc-endpoint peer ip-address
router router-instance
dintf [ip-address]
filter-info [verbose]
l3info
l3-stats [clear]
rsvp
psb [endpoint endpoint-address] [sender sender-address] [tunnelid tunnel-id] [lspid lsp-id]
rsb [endpoint endpoint-address] [sender sender-address] [tunnelid tunnel-id] [lspid lsp-id]
service-name service-name
base-stats [clear]
dpipe service-id
dtls service-id
iom-stats [clear]
l2pt-diags clear
l2pt-diags detail
vpls-fdb-stats [clear]
vpls-mfib-stats [clear]
system
system-resources slot-number [sap-ingress-qos] [associations]
system-resources slot-number egress-acls
system-resources slot-number ingress-acls
system-resources slot-number mcast-groups

3.12.1.1.2. Dump Commands for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

dump
accounting-policy acct-policy-id flash-write-count [clear]
eth-ring ring-index [clear]
lag lag-id lag-id
ldp-treetrace {prefix ip-prefix/mask | manual-prefix ip-prefix/mask} [path-destination ip-address] [trace-tree]
— mc-endpoint peer ip-address
router router-instance
router service-name service-name
fib slot-number [ipv4 | ipv6] summary
ospf
abr [detail]
asbr [detail]
bad-packet interface-name
leaked-routes [summary | detail]
memory-usage [detail]
request-list [neighbor ip-address] [detail]
request-list virtual-neighbor ip-address area-id area-id [detail]
retransmission-list [neighbor ip-address] [detail]
retransmission-list [virtual-neighbor ip-address area-id area-id] [detail]
route-table [ip-prefix/mask] [type] [detail]
ospf3
abr [detail]
asbr [detail]
bad-packet interface-name
leaked-routes [summary | detail]
memory-usage [detail]
request-list [detail]
request-list neighbor [ip-address] [router-id] [detail]
request-list virtual-neighbor router-id transit-area transit-area [detail]
retransmission-list [detail]
retransmission-list neighbor [ip-address] [router-id] [detail]
retransmission-list virtual-neighbor router-id transit-area transit-area [detail]
route-table [ipv6-prefix/prefix-length] [type] [detail]
rsvp
rsvp [ip-address] [detail]
psb [endpoint endpoint-address] [sender sender-address] [tunnelid tunnel-id] [lspid lsp-id]
rsb [endpoint endpoint-address] [sender sender-address] [tunnelid tunnel-id] [lspid lsp-id]
service
id service-id
sap sap-id stats [clear]
sdp sdp-id[:vc-id] stats [clear]
system-resources slot-number

3.12.1.1.3. Perform Commands for 7210 SAS-D

perform
— card slot-number
cron
tod
customer customer-id [site customer-site-name]
filter ip-filter [filter-id]
filter ipv6-filter [filter-id]
filter mac-filter [filter-id]
service id service-id [sap sap-id]
tod-suite tod-suite-name
clear ring-index
force ring-index path {a | b}
manual ring-index path {a | b}
lag
clear-force lag-id lag-id [sub-group sub-group-id]
force lag-id lag-id [sub-group sub-group-id] {active | standby}
log

3.12.1.1.4. Perform Commands for 7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C

perform
— card slot-number
clear ring-index
force ring-index path {a | b}
manual ring-index path {a | b}
lag
clear-force lag-id lag-id [sub-group sub-group-id]
force lag-id lag-id [sub-group sub-group-id] {active | standby}
log
system
cron
tod
customer customer-id [site customer-site-name]
filter ip-filter [filter-id]
filter ipv6-filter [filter-id]
filter mac-filter [filter-id]
service id service-id [sap sap-id]
tod-suite tod-suite-name
stop [script-policy-name] [owner script-policy-owner] [all]

3.12.2. Command Descriptions

3.12.2.1. Configuration Commands

3.12.2.1.1. Generic Commands

tools

Syntax 
tools
Context 
root
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to configure debugging tools.

Parameters 
dump—
Specifies dump tools for the various protocols.
perform—
Specifies tools to perform specific tasks.

3.12.2.1.2. Dump Commands

dump

Syntax 
dump router-name
Context 
tools
Supported 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
Supported 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
Supported 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
Supported 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
Supported 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
Supported 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
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display persistence information for debugging.

summary

Syntax 
summary
Context 
tools>dump>persistence
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display 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
Supported 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
Supported 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
Supported 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:

Table 40 describes tools>dump>system-resource SAP ingress QoS output fields.

Table 40:  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 40 and Table 41 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 41:  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 (i.e. per SAP aggregate meter) allowed (hardware limit)

Shared Qos Ingress Meters

Number of SAP ingress meter (i.e. per FC meter) across all type of match-criteria (i.e. 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 (i.e. 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 (i.e. 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 (i.e. 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 (i.e. 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 (i.e. IP and MAC criteria in the same policy) (hardware limit)

DSCP Qos Ingress Meters

Number of SAP ingress meter (i.e. 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 42 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#

3.12.2.1.3. Service Commands

service

Syntax 
service
Context 
tools>dump
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures tools to display service dump information.

base-stats

Syntax 
base-stats [clear]
Context 
tools>dump>service
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays internal service statistics.

Parameters 
clear—
Clears the statistics.

dpipe

Syntax 
dpipe service-id
Context 
tools>dump>service
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays debug information for specified service.

Parameters 
service-id—
Specifies the service ID.

dtls

Syntax 
dtls service-id
Context 
tools>dump>service
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays TLS service statistics.

Parameters 
service-id—
Specifies the service ID.

iom-stats

Syntax 
iom-stats [clear]
Context 
tools>dump>service
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays IOM message statistics.

Parameters 
clear—
Clears the statistics.

l2pt-diags

Syntax 
l2pt-diags
l2pt-diags clear
l2pt-diags detail
Context 
tools>dump>service
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays L2pt diagnostics.

Parameters 
clear—
Clears the diagnostics.
detail—
Displays detailed information.
Output 

Sample Output
A:ALA-48>tools>dump>service# l2pt-diags
[ l2pt/bpdu error diagnostics ]
 Error Name       | Occurrence   | Event log
 -----------------+-------------+-----------------------------
[ l2pt/bpdu forwarding diagnostics ]
 
 Rx Frames   | Tx Frames   | Frame Type
 ------------+-------------+----------------------------------
A:ALA-48>tools>dump>service#
 
A:ALA-48>tools>dump>service# l2pt-diags detail
[ l2pt/bpdu error diagnostics ]
 Error Name       | Occurrence   | Event log
 -----------------+-------------+-----------------------------
[ l2pt/bpdu forwarding diagnostics ]
 
 Rx Frames   | Tx Frames   | Frame Type
 ------------+-------------+----------------------------------
[ l2pt/bpdu config diagnostics ]
 WARNING - service 700 has l2pt termination enabled on all access points :
           consider translating further down the chain or turning it off.
 WARNING - service 800 has l2pt termination enabled on all access points :
           consider translating further down the chain or turning it off.
 WARNING - service 9000 has l2pt termination enabled on all access points :
           consider translating further down the chain or turning it off.
 WARNING - service 32806 has l2pt termination enabled on all access points :
           consider translating further down the chain or turning it off.
 WARNING - service 90001 has l2pt termination enabled on all access points :
           consider translating further down the chain or turning it off.
A:ALA-48>tools>dump>service# 

vpls-fdb-stats

Syntax 
vpls-fdb-stats [clear]
Context 
tools>dump>service
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays VPLS FDB statistics.

Parameters 
clear—
Clears the statistics.

vpls-mfib-stats

Syntax 
vpls-mfib-stats [clear]
Context 
tools>dump>service
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays VPLS MFIB statistics.

Parameters 
clear—
Clears the statistics.

3.12.2.1.4. Router Commands

router

Syntax 
router router-instance
Context 
tools>dump
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables tools for the router instance.

Parameters 
router router-instance
Specifies the router name or service ID.
Values—

router-name:

Base

service-id:

1 to 2147483647

 

Default—
Base

dintf

Syntax 
dintf [ip-address]
Context 
tools>dump
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the internal IP interface details.

This command dumps hardware-specific information related to the active IP interfaces configured. By default, hardware information for all active IP interfaces is dumped.

Default 

Dumps hardware-specific information for all the active IP interfaces present within the system.

Parameters 
ip-address—
Only displays the hardware information associated with the specified IPaddress.
Output 

Sample Output
A:STU# /tools dump router dintf 5.1.1.2 
[************* SLOT 1 ****************]
[IP interfaces]
    Table Usage:           5/263
    [L3 SAP interface 1/1/7:360137680]
        Interface index                           54  (Svc)
        cpmtag                                    2
        primary IPv4                              10.1.1.2/24
        VRF                                       0
        primary MAC                               00:14:25:36:f7:f0
        no VRRP MAC addresses                     
        Local Subnet 0                            10.1.1.2/24  index=62
        admin ip_mtu                              1500
        Intf Port                                 1/1/7
        No agg port                               
        uRPF mode                                 None
        Ingress uRPF stats                        Drop=0/0
        [Host IP Map 1 entries]
            [IP Entry v4 10.1.1.1  interface=54 L3 Egress HDL=100003 Ref Cnt=0]
                [Nexthop 10.1.1.1  idx=7]
                    ref count                     1
                    # mpls nhlfes                 0
                    # nexthop groups              1
                    # SDP bindings                0
                    p2mp_arp_index                0
        Subscriber ifIndex                        0
        Subscriber red ifIndex                    0
        [Subscriber Red Group 54]
            Subscriber red ifIndex                0
            Subscriber use SRRP src mac           no
            Use inter-dest Id                     no
            SRRP                                  Disabled
            ref count                             1
            [Inter-dest group 0]
                Locally reachable                 no
                Subscriber red ifIndex            In-use=no
                Subscriber hosts unreachable      no
                cpmtag                            15
            cpmtag                                15
        L3 SAP                                    idx=1 1/1/7:0.*
      SVLAN                                       54
      svlan_interface_index                       54
      Encap Type                                  q-in-q
      HW IF Index                                 1024
      L2 USER ENTRY cindex                        1
      VFP EID                                     181
      L3  BCAST EID                               182
      ARP REPLY EID                               183
      ARP REQST EID                               184
      VFP0 EID                                    185
      L3  BCAST0 EID                              186
      ARP REPLY0 EID                              187
      ARP REQST0 EID                              188
      L3  BCAST IFP                               189
      ARP IFP                                     190
      IP EXT MtcH IFP                             288
      HW Port Number                              17
A:STU#
A:ALA-A#

filter-info

Syntax 
filter-info [verbose]
Context 
tools>dump>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command dumps the hardware-specific filter information.

Parameters 
verbose—
Displays the verbose hardware information of the filter.

l3info

Syntax 
lag
Context 
tools>dump>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command dumps the hardware-specific L3 information.

l3-stats

Syntax 
l3-stats [clear]
Context 
tools>dump>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command dumps the hardware-specific L3 statistics.

Parameters 
clear—
Clears the hardware information of the filter.

rsvp

Syntax 
rsvp
Context 
tools>dump>router
Supported Platforms 

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

Description 

This command enables the context to display RSVP information.

psb

Syntax 
psb [endpoint endpoint-address] [sender sender-address] [tunnelid tunnel-id] [lspid lsp-id]
Context 
tools>dump>router>rsvp
Supported Platforms 

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

Description 

This command displays path state block (PSB) information for RSVP.

When a PATH message arrives at an LSR, the LSR stores the label request in the local PSB for the LSP. If a label range is specified, the label allocation process must assign a label from that range.

The PSB contains the IP address of the previous hop, the session, the sender, and the TSPEC. This information is used to route the corresponding RESV message back to LSR 1.

Parameters 
endpoint endpoint-address
Specifies the IP address of the last hop.
sender sender-address
Specifies the IP address of the sender.
tunnelid tunnel-id
Specifies the SDP ID.
Values—
0 to 4294967295

 

lspid lsp-id
Specifies the label switched path that is signaled for this entry.
Values—
1 to 65535

 

Output 

Sample Output
A:Dut-A# config>router>mpls# tools dump router rsvp psb detail 
 
-----------------------------------------------------------------------
PSB: 
 P2P: Session (To: 10.20.1.4 - 61441 - 10.20.1.1), Sender (10.20.1.1 - 
2) PHop 255.255.255.255
 
PSB CurrState: BACKUPS_CONNECTED  PrevState: BACKUPS_INIT  Flags: 0x0
LocalLabel 0 OutLabel 131070
Incoming IfIndex: Interface: Local API(-1)
Refresh interval 0, Send Path refresh in 3 secs,  Path Refresh timeout 
0 secs
PrevHop: Ctype 1  Addr 255.255.255.255, LIH 0
DnStream Nbr: Addr-> 10.20.1.3  IfIndex ip-10.10.2.1(3)
UpStream Neighbor is NULLP
Session Attribute:
   Session Name: bypass-node10.20.1.2
   HoldPri: 0 SetupPri: 7 Flags: 0x2
   Ctype: 7, IncludeGroup: 0x0 IncludeAllGroup: 0x0 ExcludeGroup: 0x0
ClassType: Absent
TSpec: Flags 0x8000 QOSC 0, PDR (infinity), PBS 0.000 bps, CDR (0.000 
bps) MTU: 0
CSPF Hop List: ->
  (1) UnnumIfId 3 RtrId 10.20.1.1 EgrAdmGrp 0x0 (Strict)
  (2) UnnumIfId 2 RtrId 10.20.1.3 EgrAdmGrp 0x0 (Strict)
  (3) UnnumIfId 5 RtrId 10.20.1.4 EgrAdmGrp 0x0 (Strict)
PSB RRO : -> 
  (1) * Flags : 0x0 :      U 
  (1) * UnInf : 10.20.1.1, 3
PSB SENT RRO : -> 
  (1) * Flags : 0x0 :      U 
  (1) * UnInf : 10.20.1.1, 3
PSB FILTERSPEC RRO : -> 
  (1) * Flags : 0x0 :      U 
  (1) * UnInf : 10.20.1.3, 2
  (2) * Flags : 0x1 :     Global
  (2) * Label : 131070
  (3) * Flags : 0x0 :      U 
  (3) * UnInf : 10.20.1.4, 5
  (4) * Flags : 0x1 :     Global
  (4) * Label : 131070
PSB ERO : -> 
  (1) Unnumbered RouterId 10.20.1.1, LinkId 3, Strict
  (2) Unnumbered RouterId 10.20.1.3, LinkId 2, Strict
  (3) Unnumbered RouterId 10.20.1.4, LinkId 5, Strict
PSB SENT ERO : ->                    
  (1) Unnumbered RouterId 10.20.1.3, LinkId 2, Strict
  (2) Unnumbered RouterId 10.20.1.4, LinkId 5, Strict
SendTempl: Sender:10.20.1.1_2
AdSpec Present - Flags: 0x0 
  AdSpec General
  - Service Break bit           : 0x0 
  - IS Hop Count                : 0x0 
  - Path Bandwidth Estimate     : 0x0 
  - Minimum Path latency        : 0x0 
  - Composed path MTU           : 0 
 
Num Paths Received   :0
Num Paths Transmitted:5
Num Resvs Received   :8
Num Resvs Transmitted:0
 
Num Summmary Paths Received   :0
Num Summmary Paths Transmitted:0
Num Summmary Resvs Received   :0
Num Summmary Resvs Transmitted:0
Created at 91359 (26 secs back)
-----------------------------------------------------------------------
-----------------------------------------------------------------------
PSB: 
 P2P: Session (To: 10.20.1.6 - 1 - 10.20.1.1), Sender (10.20.1.1 - 
30208) PHop 0.0.0.0
 
PSB CurrState: PRIMARYS_CONNECTED  PrevState: PRIMARYS_INIT  Flags: 0x8
LocalLabel 0 OutLabel 131071
Incoming IfIndex: Interface: Local API(-1)
Refresh interval 5, Send Path refresh in 4 secs,  Path Refresh timeout
0 secs
PrevHop: Ctype 1  Addr 0.0.0.0, LIH 0
DnStream Nbr: Addr-> 10.20.1.2  IfIndex ip-10.10.1.1(2)
UpStream Neighbor is NULLP
Session Attribute:
   Session Name: 1::1
   HoldPri: 0 SetupPri: 7 Flags: 0x17
   Ctype: 7, IncludeGroup: 0x0 IncludeAllGroup: 0x0 ExcludeGroup: 0x0
ClassType: Absent
TSpec: Flags 0x8000 QOSC 1, PDR (infinity), PBS 0.000 bps, CDR (0.000 
bps) MTU: 0
CSPF Hop List: ->                    
  (1) UnnumIfId 2 RtrId 10.20.1.1 EgrAdmGrp 0x0 (Strict)
  (2) UnnumIfId 2 RtrId 10.20.1.2 EgrAdmGrp 0x0 (Strict)
  (3) UnnumIfId 2 RtrId 10.20.1.4 EgrAdmGrp 0x0 (Strict)
  (4) UnnumIfId 2 RtrId 10.20.1.6 EgrAdmGrp 0x0 (Strict)
PSB RRO : -> 
  (1) * Flags : 0x9 :      U LP_AVAIL NODE 
  (1) * UnInf : 10.20.1.1, 2
PSB SENT RRO : -> 
  (1) * Flags : 0x0 :      U 
  (1) * UnInf : 10.20.1.1, 2
PSB FILTERSPEC RRO : -> 
  (1) * Flags : 0x9 :      U LP_AVAIL NODE 
  (1) * UnInf : 10.20.1.2, 2
  (2) * Flags : 0x1 :     Global
  (2) * Label : 131071
  (3) * Flags : 0x1 :      U LP_AVAIL 
  (3) * UnInf : 10.20.1.4, 2
  (4) * Flags : 0x1 :     Global
  (4) * Label : 131071
  (5) * Flags : 0x0 :      U 
  (5) * UnInf : 10.20.1.6, 2
  (6) * Flags : 0x1 :     Global
  (6) * Label : 131071
PSB ERO : -> 
  (1) Unnumbered RouterId 10.20.1.2, LinkId 2, Strict
  (2) Unnumbered RouterId 10.20.1.4, LinkId 2, Strict
  (3) Unnumbered RouterId 10.20.1.6, LinkId 2, Strict
PSB SENT ERO : -> 
  (1) Unnumbered RouterId 10.20.1.2, LinkId 2, Strict
  (2) Unnumbered RouterId 10.20.1.4, LinkId 2, Strict
  (3) Unnumbered RouterId 10.20.1.6, LinkId 2, Strict
SendTempl: Sender:10.20.1.1_30208
AdSpec not present
FRR: Flags 0x2 HopLimit 16 SetupPri 7 HoldPri 0 IncludeAny 0x0 
ExcludeAny 0x0 IncludeAll 0x0
PLR: Flag (0x166) State PLRS_BYPASS_UP AvoidNodeId 10.20.1.2 inIntf -1 
inLabel 0
PLR: FRRRequestCount: 1  CSPFFailures: 0  ProtectionType: NodeProtect
 
Num Paths Received   :0
Num Paths Transmitted:5
Num Resvs Received   :5              
 Num Resvs Transmitted:0
 
Num Summmary Paths Received   :0
Num Summmary Paths Transmitted:0
Num Summmary Resvs Received   :0
Num Summmary Resvs Transmitted:0
Created at 91359 (28 secs back)
-----------------------------------------------------------------------
  Total PSB Count   : 2 
 
A:Dut-A# config>router>mpls#

rsb

Syntax 
rsb [endpoint endpoint-address] [sender sender-address] [tunnelid tunnel-id] [lspid lsp-id]
Context 
tools>dump>router>rsvp
Supported Platforms 

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

Description 

This command displays RSVP Reservation State Block (RSB) information.

Parameters 
endpoint endpoint-address
Specifies the IP address of the last hop.
sender sender-address
Specifies the IP address of the sender.
tunnelid tunnel-id
Specifies the SDP ID.
Values—
0 to 4294967295

 

lspid lsp-id
Specifies the label switched path that is signaled for this entry.
Values—
1 to 65535

 

Output 

Sample Output
A:Dut-A# config>router>mpls# tools dump router rsvp rsb detail 
 
-----------------------------------------------------------------------
RSB: 
 EndPt 10.20.1.4  Tid 61441  XTid 10.20.1.1  Sndr 10.20.1.1  LspId 2  
ifIndex 3 NHop 20.20.1.3
Style FF, refresh in 0 secs
RSVP NextHop 20.20.1.3, LIH 3 (TLV: RtrId 10.20.1.3 IntfId 2)
CT Shared Reservation Info:
No Reservation:
FlowSpec :Flags 0x8000 QOSC 1, PDR (infinity), PBS 0.000 bps, CDR 
(0.000 bps)
           CBS 0, EBS 0, RSpecR 0, RSpecS 0 MTU 1500 MPU 20
FwdFlowspec :Flags 0x0 QOSC 0, PDR (0.000 bps), PBS 0.000 bps, CDR 
(0.000 bps)
              CBS 0, EBS 0, RSpecR 0, RSpecS 0 MPU 0
FilterSpec:
Timeout in : 26 secs, LocLabel: 0  Sender: 10.20.1.1 lspId: 2 OutIfId: 
0
RRO :
  (1) * Flags : 0x0 :      U 
  (1) * UnInf : 10.20.1.3, 2
  (2) * Flags : 0x1 :     Global
  (2) * Label : 131070
  (3) * Flags : 0x0 :      U 
  (3) * UnInf : 10.20.1.4, 5
  (4) * Flags : 0x1 :     Global
  (4) * Label : 131070
-----------------------------------------------------------------------
-----------------------------------------------------------------------
RSB: 
 EndPt 10.20.1.6  Tid 1  XTid 10.20.1.1  Sndr 0.0.0.0  LspId 0  ifIndex 
2 NHop 20.20.1.2
Style SE, refresh in 0 secs
RSVP NextHop 20.20.1.2, LIH 2 (TLV: RtrId 10.20.1.2 IntfId 2)
CT Shared Reservation Info:
No Reservation:
FlowSpec :Flags 0x8000 QOSC 1, PDR (infinity), PBS 0.000 bps, CDR 
(0.000 bps)
           CBS 0, EBS 0, RSpecR 0, RSpecS 0 MTU 1496 MPU 20
FwdFlowspec :Flags 0x0 QOSC 0, PDR (0.000 bps), PBS 0.000 bps, CDR 
(0.000 bps)
              CBS 0, EBS 0, RSpecR 0, RSpecS 0 MPU 0
FilterSpec:
Timeout in : 21 secs, LocLabel: 0  Sender: 10.20.1.1 lspId: 30208 
OutIfId: 0
RRO :
  (1) * Flags : 0x9 :      U LP_AVAIL NODE 
  (1) * UnInf : 10.20.1.2, 2
  (2) * Flags : 0x1 :     Global
  (2) * Label : 131071                
  (3) * Flags : 0x1 :      U LP_AVAIL 
  (3) * UnInf : 10.20.1.4, 2
  (4) * Flags : 0x1 :     Global
  (4) * Label : 131071
  (5) * Flags : 0x0 :      U 
  (5) * UnInf : 10.20.1.6, 2
  (6) * Flags : 0x1 :     Global
  (6) * Label : 131071
-----------------------------------------------------------------------
  Total RSB Count   : 2 
 
A:Dut-A# config>router>mpls#

3.12.2.1.5. Perform Commands

perform

Syntax 
perform
Context 
tools
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to enable tools to perform specific tasks.

lag

Syntax 
lag
Context 
tools>perform
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures tools to control LAG.

clear-force

Syntax 
clear-force lag-id lag-id [sub-group sub-group-id]
Context 
tools>perform>lag
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command clears forced status.

Parameters 
lag-id
Specifies the LAG ID.
Values—
1 to 800

 

sub-group-id
Specifies the subscriber group ID.
Values—
1 to 16

 

force

Syntax 
force lag-id lag-id [sub-group sub-group-id] {active | standby}
Context 
tools>perform>lag
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command allows forcing the specified LAG, subgroup, all MC-LAGs, or remote peer for MC-LAGs to become active or standby when LAG runs in Active/Standby mode. To remove the forced condition, execute the tools perform lag clear-force command.

Parameters 
active—
Specifies to become active.
standby—
Specifies to become standby.
lag-id—
Specifies the LAG ID.
Values—
1 to 800

 

sub-group-id—
Specifies the subscriber group ID.
Values—
1 to 16

 

log

Syntax 
log
Context 
tools>perform
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command configures tools for event logging.

test-event

Syntax 
test-event
Context 
tools>perform>log
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command causes a test event to be generated. The test event is LOGGER event #2011 and maps to the tmnxEventSNMP trap in the TIMETRA-LOG-MIB.

script-control

Syntax 
script-control
Context 
tools>perform>system
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command performs script-control operations.

script-policy

Syntax 
script-policy
Context 
tools>perform>system>script-control
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command performs script-policy operations.

stop

Syntax 
stop [script-policy-name] [owner script-policy-owner] [all]
Context 
tools>perform>system>script-control>script-policy
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command stops the execution of scripts.

Parameters 
script-policy-name—
Specifies to only stop scripts with the specified policy name.
owner script-policy-owner
Specifies to only stop scripts that are associated with script-policies with the specified owner.
Default—
TiMOS CLI
all—
Specifies to stop all running scripts.

system

Syntax 
system
Context 
tools>perform
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command is a tool for controlling the system.

cron

Syntax 
cron
Context 
tools>perform>system
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to perform CRON (scheduling) control operations.

tod

Syntax 
tod
Context 
tools>perform>system>cron
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context for tools that control time-of-day actions.

re-evaluate

Syntax 
re-evaluate
Context 
tools>perform>system>cron>tod
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to re-evaluate the time-of-day state.

customer

Syntax 
customer customer-id [site customer-site-name]
Context 
tools>perform>system>cron>tod>re-eval
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command reevaluates the time-of-day state of a site.

Parameters 
customer-id—
Specifies an existing customer ID.
Values—
1 to 2147483647

 

customer-site-name
Specifies an existing customer site name.

filter

Syntax 
filter ip-filter [filter-id]
filter ipv6-filter [filter-id]
filter mac-filter [filter-id]
Context 
tools>perform>system>cron>tod>re-eval
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command reevaluates the time-of-day state of a filter entry.

Parameters 
filter-type—
Specifies the filter type.
Values—
ip-filter, mac-filter

 

filter-id—
Specifies an existing filter ID.
Values—
1 to 65535

 

service

Syntax 
service id service-id [sap sap-id]
Context 
tools>perform>system>cron>tod>re-eval
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command reevaluates the time-of-day state of a SAP.

Parameters 
service-id—
Specifies existing service ID.
Values—
1 to 2147483647

 

sap-id
Specifies the physical port identifier portion of the SAP definition. See Common CLI Command Descriptions for CLI command syntax.

tod-suite

Syntax 
tod-suite tod-suite-name
Context 
tools>perform>system>cron>tod>re-eval
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command reevaluates the time-of-day state for the objects associated with a TOD suite.

Parameters 
tod-suite-name—
Specifies an existing TOD suite name.

eth-ring

Syntax 
eth-ring
Context 
tools>perform
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command performs Ethernet ring operations.

clear

Syntax 
clear ring-index
Context 
tools>perform>eth-ring
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command, at the Ethernet Ring Node, is used for the following operations:

  1. Clearing an active local administrative command (for example, Forced Switch or Manual Switch).
  2. Triggering reversion before the WTR or WTB timer expires in case of revertive operation.
  3. Triggering reversion in case of non-revertive operation.
Parameters 
ring-index—
Specifies the Ethernet ring index to clear.
Values—
1 to 128

 

force

Syntax 
force ring-index path {1 | 2}
Context 
tools>perform>eth-ring
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command forces a block on the ring port where the command is issued.

Parameters 
ring-index—
Specifies the ring index.
Values—
1 to 128

 

path—
Specifies the path.
Values—
1, 2

 

manual

Syntax 
manual ring-index path {1 | 2}
Context 
tools>perform>eth-ring
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

In the absence of a failure or FS, this command forces a block on the ring port where the command is issued.

Parameters 
ring-index—
Specifies the ring index.
Values—
1 to 128

 

path—
Specifies the path.
Values—
1, 2

 

3.12.2.2. Tools Dump Command Descriptions for the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

accounting-policy

Syntax 
accounting-policy acct-policy-id flash-write-count [clear]
Context 
tools>dump
Supported 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 starts the counter afresh.

Parameters 
flash-write-count—
Specifies to dump 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 the statistics.

eth-ring

Syntax 
eth-ring ring-index [clear]
eth-ring control-sap-tag port-id [list-in-use | next-available]
Context 
tools>dump
Supported 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 the statistics.

lag

Syntax 
lag lag-id lag-id
Context 
tools>dump
Supported 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
 

persistence

Syntax 
persistence
Context 
tools>dump
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display persistence information for debugging purposes.

summary

Syntax 
summary
Context 
tools>dump>persistence
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display persistence summary information for debugging purposes.

Output 

Sample Output
*A:7210 SAS>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:7210#

service

Syntax 
service
Context 
tools>dump
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display service information.

id

Syntax 
id service-id
Context 
tools>dump>service
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display information for a specific service.

Parameters 
service-id—
Specifies an existing service ID.
Values—
1 to 2147483647or a name string up to 64 characters

 

sap

Syntax 
sap sap-id stats [clear]
Context 
tools>dump>service>id
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays SAP information for this service.

Parameters 
sap-id—
Specifies the SDP binding identifier
Values—

null

[port-id | lag-id ]

dot1q

[port-id | lag-id | pw-id]:qtag1

qinq

[port-id | lag-id | pw-id]:qtag1.qtag2

dot1q

[port-id | lag-id]:cp-id

port-id

slot/mda/port

lag-id

lag-id

   lag                  keyword

   id                   1 to 6

pw-id

pw-id

   pw                  keyword

   id                   1 to 10239

cp-id

cp-id

   cp                  keyword

   id                   1 to 1000

qtag1

*, 0 to 4094

qtag2

*, 0 to 4094

 

clear—
Clears the statistics.
stats—
Displays statistics associated with this SAP.
Output 

The following output is an example of the discard statistics, and Table 42 describes the fields.

Output Example
A:7210# tools dump service id 200 sap 1/X3/6:100 stats
===========================================================
Service Id 200 SAP 1/X3/6:100 VPLS Ingress Debug Stats
===========================================================
total number of discarded packets                   | 1
total number of discarded bytes                     | 996
number of discards due to source suppression        | 0
number of discards due to split horizon             | 0
number of discards due to mesh to mesh              | n/a
number of discards due to unknown DA                | 0
number of discards due to unknown SA                | 0
number of discards due to service MTU               | 0
number of discards due to STP not in fwding state   | 1
number of other discards                            | 0
===========================================================
Service Id 200 SAP 1/X3/6:100 VPLS Egress Debug Stats
===========================================================
total number of discarded packets                   | 0
number of unicast discards due to pool exhaustion   | 0
number of multicast discards due to pool exhaustion | 0
number of unicast discards due to queue overflow    | 0
number of multicast discards due to queue overflow  | 0
number of other discards                            | 0
Table 42:  Output Fields: Discard Statistics 

Label

Description

total number of discarded packets

The total number of discarded ingress or egress packets for the specified SAP or SDP binding

total number of discarded bytes

The total number of discarded ingress bytes for the specified SAP or SDP binding

number of discards due to source suppression

The total number of ingress discards due to source suppression for the specified SAP or SDP binding

number of discards due to split horizon

The total number of ingress discards due to split horizon for the specified SAP or SDP binding

number of discards due to mesh to mesh

The total number of ingress discards due to mesh-to-mesh forwarding for the specified mesh SDP

number of discards due to unknown DA

The total number of ingress discards due to an unknown destination address for the specified SAP or SDP binding

number of discards due to unknown SA

The total number of ingress discards due to an unknown source address for the specified SAP or SDP binding

number of discards due to service MTU

The total number of ingress discards due to the packet size exceeding the configured maximum transmission unit for the specified SAP or SDP binding

number of discards due to STP not in fwding state

The total number of ingress discards due to an inactive VPLS endpoint determined by the Spanning Tree Protocol for the specified SAP

number of other discards

The total number of ingress or egress discards that do not match a listed category

number of unicast discards due to pool exhaustion

The total number of egress unicast discards due to pool exhaustion for the specified SAP or SDP binding

number of multicast discards due to pool exhaustion

The total number of egress multicast discards due to pool exhaustion for the specified SAP or SDP binding

number of unicast discards due to queue overflow

The total number of egress unicast discards due to queue overflow for the specified SAP or SDP binding

number of multicast discards due to queue overflow

The total number of egress multicast discards due to queue overflow for the specified SAP or SDP binding

sdp

Syntax 
sap <sdpid[:vc-id] stats [clear]
Context 
tools>dump>service>id
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays SDP bind information for this service.

Parameters 
sdp-id—
Specifies the SDP binding identifier.
Values—
1 to 17407

 

vc-id—
Specifies the virtual circuit identifier.
Values—
1 to 4294967295

 

clear—
Clears the statistics.
stats—
Displays statistics associated with this SDP.

3.12.2.2.1. Dump Router Commands

router

Syntax 
router router-instance
router service-name service-name
Context 
tools>dump
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables tools for the router instance.

Parameters 
router-instance—
specifies the router name and service ID
Values—
router-name:      Base, management
service-id:          1 to 2147483647

 

Default—
Base
service-name—
Specifies the service name.

fib

Syntax 
fib slot-number [ipv4 | ipv6] summary
Context 
tools>dump>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays information for the FIB.

Parameters 
slot-number—
Specifies the slot number, always “1”.
ipv4 | ipv6—
Specifies the IP family.
summary—
Displays summary information.

ospf

Syntax 
ospf
Context 
tools>dump>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display tools information for OSPF.

ospf3

Syntax 
ospf
Context 
tools>dump>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display tools information for OSPFv3.

abr

Syntax 
abr [detail]
Context 
tools>dump>router>ospf
tools>dump>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays area border router (ABR) information for OSPF.

Parameters 
detail—
Displays detailed information about the ABR.

asbr

Syntax 
asbr [detail]
Context 
tools>dump>router>ospf
tools>dump>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays autonomous system boundary router (ASBR) information for OSPF.

Parameters 
detail—
Displays detailed information about the ASBR.

bad-packet

Syntax 
bad-packet interface-name
Context 
tools>dump>router>ospf
tools>dump>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays information about bad packets for OSPF.

Parameters 
interface-name—
Displays only the bad packets identified by this interface name.

leaked-routes

Syntax 
leaked-routes [summary | detail]
Context 
tools>dump>router>ospf
tools>dump>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays information about leaked routes for OSPF.

Default 

summary

Parameters 
summary—
Displays a summary of information about leaked routes for OSPF.
detail—
Displays detailed information about leaked routes for OSPF.

memory-usage

Syntax 
memory-usage [detail]
Context 
tools>dump>router>ospf
tools>dump>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays memory usage information for OSPF.

Parameters 
detail—
Displays detailed information about memory usage for OSPF.

request-list

Syntax 
request-list [neighbor ip-address] [detail]
request-list virtual-neighbor ip-address area-id area-id [detail]
request-list [detail]
request-list neighbor [interface-name] [router-id] [detail]
request-list virtual-neighbor router-id transit-area transit-area [detail]
Context 
tools>dump>router>ospf
tools>dump>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays request list information for OSPF.

Parameters 
neighbor ip-address
Displays OSPF neighbor information only for the neighbor identified by the IP address.
neighbor interface-name
Displays OSPFv3 neighbor information only for the neighbor identified by the IP interface name.
detail—
Displays detailed information about the neighbor or virtual neighbor.
virtual-neighbor ip-address
Displays OSPF information about the virtual neighbor identified by the IP address.
virtual-neighbor router-id
Displays OSPFv3 information about the virtual neighbor identified by the IP router identifier.
area-id area-id
Displays OSPF information about the area identified by the area ID, expressed in dotted-decimal notation or as a 32-bit decimal integer.
transit-area transit-area
Displays OSPFv3 information about the transit area identified by the router ID, expressed in dotted-decimal notation or as a 32-bit decimal integer.

retransmission-list

Syntax 
retransmission-list [neighbor ip-address] [detail]
retransmission-list virtual-neighbor ip-address area-id area-id [detail]
 
retransmission-list [detail]
retransmission-list neighbor [ip-int-name] [router-id] [detail]
retransmission-list virtual-neighbor router-id transit-area transit-area [detail]
Context 
tools>dump>router>ospf
tools>dump>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays dump retransmission list information for OSPF.

Parameters 
neighbor ip-address
Displays OSPF neighbor information only for the neighbor identified by the IP address.
neighbor ip-int-name
Displays OSPFv3 neighbor information only for the neighbor identified by the IP interface name.
detail—
Displays detailed information about the neighbor or virtual neighbor.
virtual-neighbor ip-address
Displays OSPF information about the virtual neighbor identified by the IP address.
virtual-neighbor router-id
Displays OSPFv3 information about the virtual neighbor identified by the router identifier.
area-id area-id
Displays the OSPF information about the area ID, expressed in dotted-decimal notation or as a 32-bit decimal integer.
transit-area transit-area
Displays the OSPFv3 information about the transit area ID, expressed in dotted-decimal notation or as a 32-bit decimal integer.

route-summary

Syntax 
route-summary
Context 
tools>dump>router>ospf
tools>dump>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays dump route summary information for OSPF.

route-table

Syntax 
route-table [ip-prefix/mask] [type] [detail] [alternative]
route-table [ipv6-prefix/prefix-length] [type] [detail] [alternative]
Context 
tools>dump>router>ospf
tools>dump>router>ospf3
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays dump information about routes learned through OSPF.

Parameters 
ip-prefix/mask—
Specifies the IPv4 prefix and mask for routes learned through OSPF.
Values—
ip-prefix             a.b.c.d   (host bits must be 0)
mask                 0 to 32

 

ipv6-prefix/prefix-length—
the IPv6 prefix and prefix length for routes learned through OSPFv3
Values—
ipv6-prefix         x:x:x:x:x:x:x:x (eight 16-bit pieces)
                          x:x:x:x:x:x:d.d.d.d
                          x: [0..FFFF]H
                          d: [0..255]D
prefix-length      0 to 128

 

type—
Specifies the type of route table to display information about.
Values—
intra-area, inter-area, external-1, external-2, nssa-1, nssa-2

 

detail—
Displays detailed information about learned routes.
alternative—
Displays LFA details.

static-route

Syntax 
static-route
Context 
tools>dump>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command enables the context to display tools information for static routes.

ldp-sync-status

Syntax 
ldp-sync-status
Context 
tools>dump>router>static-route
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document

Description 

This command displays the status of the LDP synchronization timers for static routes.