Router commands

router

Syntax

router router-instance

Context

tools>dump

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

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

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

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

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

Platforms

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

Description

Commands in this context display RSVP information.

psb

Syntax

psb [endpoint endpoint-address] [sender sender-address] [tunnelid tunnel-id] [lspid lsp-id]

Context

tools>dump>router>rsvp

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

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#