Dump Router Commands

router

Syntax

router router-instance

router service-name service-name

Context

tools>dump

Description

This command enables tools for the router instance.

Default

n/a

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

bgp

Syntax

bgp

Context

tools>dump>router

Description

This command enables dump tools for BGP.

Default

n/a

routes

Syntax

routes [family] received [url file-url]

Context

tools>dump>router>bgp

Description

This command displays information for BGP routes.

Default

n/a

Parameters

received

displays information about received routes

family

specifies the family for which information is displayed

Values

ipv4, vpn-ipv4, ipv6, vpn-ipv6, or mvpn-ipv4

url file-url

the URL of the file

Values

file-url:

local-url | remote-url

   local-url:

[cflash-id/][file-path

       200 chars max, including cflash-id

       directory length 99 chars max each

   remote-url:

[{ftp:// | tftp://}login:pswd@remote- locn][file-path]

        255 chars max

        directory length 99 chars max each

   remote-locn:  

[hostname | ipv4-address | ipv6-address]

   ipv4-address:

a.b.c.d

   ipv6-address:  

x:x:x:x:x:x:x:x[-interface]

x:x:x:x:x:x:d.d.d.d[-interface]

x: [0 to FFFF]H

d: [0 to 255]D

interface: 32 chars max, for link local addresses

   cflash-id:

(7705 SAR-18)  cf1: | cf1-A: | cf1-B: | cf2: | cf2-A: | cf2-B: | cf3: | cf3-A: | cf3-B:

(7705 SAR-8 Shelf V2)  cf3: | cf3-A: | cf3-B:

(7705 SAR fixed platforms)  cf3: | cf3-A:

fib

Syntax

fib slot-number [ipv4 | ipv6] summary

Context

tools>dump>router

Description

This command displays information for the FIB.

Default

n/a

Parameters

slot-number

specifies the slot number, always ‟1”

ipv4 | ipv6

specifies the IP family

summary

displays summary information

ldp

Syntax

ldp

Context

tools>dump>router

Description

This command enables dump tools for LDP.

Default

n/a

fec

Syntax

fec vc-type vc-type agi agi

fec p2mp-id identifier root ip-address

fec root ip-address source ip-address group mcast-address inner-root ip-address

fec prefix ip-address[/mask]

fec root ip-address source ip-address group mcast-address [rd rd]

fec vc-type vc-type vc-id vc-id

fec p2mp-id identifier root ip-address [rd rd] inner-root ip-address

Context

tools>dump>router>ldp

Description

This command displays information for an LDP FEC.

Parameters

vc-type

specifies the VC type

Values

ethernet, vlan, framerelay, atm-all5, atm-cell, hdlc, ppp, cem, atm-vcc, atm-vpc, ipipe, atm-vcc-1-1, atm-vpc-1-1, atm-aal5-pdu, fr, cep, e1-satop, t1-satop, e3-satop, t3-satop, cesopsn, tdmoip, cesopsn-cas, tdmoip-cas, fr-dlci, mirror

agi

specifies the attachment group identifier TLV associated with this service FEC

Values

ip-addr:comm-val | 2byte-asnumber:ext-comm-val | 4byte-asnumber:comm-val

ip-addr                             : a.b.c.d

comm-val                        : 0 to 65535

2byte-asnumber              : 1 to 65535

ext-comm-val                  : 0 to 4294967295

4byte-asnumber             :  1 to 4294967295

null - means all value is 0

identifier

specifies the identifier of the LDP point-to-multipoint LSP

Values

0 to 4294967295

root ip-address

specifies the root IP address

source ip-address

specifies the source IP address

group mcast-address

specifies the group multicast address

inner-root ip-address

specifies the inner root IP address of the FEC

ip-address[/mask]

specifies the IP prefix and prefix length associated with the prefix FEC

Values

ipv4-prefix:

a.b.c.d

ipv4-prefix-length:

32

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 to FFFF]H

  d - [0 to 255]D

ipv6-prefix-length:

128

rd

specifies the route distinguisher value

Values

ip-addr:comm-val | 2byte-asnumber:ext-comm-val | 4byte-asnumber:comm-val

vc-id

specifies the VC identifier

Values

1 to 4294967295

Output

The following output is an example of LDP FEC information.

Output Example
A:Dut-A# tools dump router ldp fec root 10.20.1.3 source 10.0.101.10 group
192.168.1.1 inner-root 10.20.1.6
P2MP: root: 10.20.1.3, T: 7, L: 21 (InnerRoot: 10.20.1.6 T: 3, L:8, Src:
10.0.101.10, Grp: 192.168.1.1)
  Create Time   : 01/27/16 16:39:04.097 (elapsed: 0d 03:20:24)
  Last Mod. Time: 01/27/16 16:39:04.097 (elapsed: 0d 03:20:24)
  FEC Flags     : Pop UprStitched
  TunlIfId: 73728   (OperState : up)
  LSP ID        : 0
  LSP ID Acct.  : 0
  isIngressMttm : No         HasLeaf     : Yes
  isIngrItermdte: No
  CanProgIngress: No
  InPhopFrr     : No
  isStitchedUpr : Yes
  RslvdPhop(p)  : 10.20.1.2:0 (seqNum 2)
  RslvdPhop(b)  : 0.0.0.0:0 (seqNum 0)
  pri Upstream  : 10.20.1.2:0, AdvLabel 262139
  mbb Upstream  : None
  bkp Upstream  : None
  AdvInLabel(p) : 262139
  AdvInLabel(b) : 0
  PrgInLabel(p) : 1
  Num Resolved   Nhops  : 1
  Num MBB Req.   Nhops  : 0
  Num Programmed Nhops  : 1
    Programmed Nhop[01] : 0.0.0.0:0, OutLabel 0 (Leaf)(StitchedFec)
  Metric        : 0          Mtu         : 0
  Num of Peers : 1
  FEC Peer: 10.20.1.2:0
    Peer Flags: none  (0x0)
    ModTime   : 01/27/16 16:39:04.097 (elapsed.: 0d 03:20:24)
    ->Num Egress Labels:
      None
    <-Num Ingress Labels:
      <- (Label: 262139    Status: UsePop)
      Rej Status: OK
      Flow Label Tx: no, Rx: no
      Flow Label Tx Sent: no, Rx Sent: no
    <Resolved as CUR Upstream>

instance

Syntax

instance

Context

tools>dump>router>ldp

Description

This command displays information for an LDP instance.

Default

n/a

interface

Syntax

interface [ip-int-name | ip-address]

Context

tools>dump>router>ldp

Description

This command displays information for an LDP interface.

Default

n/a

Parameters

ip-int-name

specifies the interface name

ip-address

specifies the IP address

memory-usage

Syntax

memory-usage

Context

tools>dump>router>ldp

Description

This command displays memory usage information for LDP.

Default

n/a

peer

Syntax

peer ip-address

Context

tools>dump>router>ldp

Description

This command displays information for an LDP peer.

Default

n/a

Parameters

ip-address

specifies the IP address

session

Syntax

session [ip-address |:label space] [connection | peer | adjacency]

Context

tools>dump>router>ldp

Description

This command displays information for an LDP session.

Default

n/a

Parameters

ip-address

specifies the IP address of the LDP peer

label-space

specifies the label space identifier that the router is advertising on the interface

connection

displays connection information

peer

displays peer information

adjacency

displays hello adjacency information

sockets

Syntax

sockets

Context

tools>dump>router>ldp

Description

This command displays information for all sockets being used by the LDP protocol.

Default

n/a

timers

Syntax

timers

Context

tools>dump>router>ldp

Description

This command displays timer information for LDP.

Default

n/a

mpls

Syntax

mpls

Context

tools>dump>router

Description

This command enables the context to display MPLS information.

Default

n/a

ftn

Syntax

ftn [endpoint endpoint | sender sender | nexthop nexthop | lsp-id lsp-id | tunnel-id tunnel-id | label start-label end-label]

Context

tools>dump>router>mpls

Description

This command displays FEC-to-NHLFE (FTN) dump information for MPLS. (NHLFE is the acronym for Next Hop Label Forwarding Entry.)

Default

n/a

Parameters

endpoint

specifies the IP address of the last hop

Values

a.b.c.d

sender

specifies the IP address of the sender

Values

a.b.c.d

nexthop

specifies the IP address of the next hop

Values

a.b.c.d

lsp-id

specifies the label switched path that is signaled for this entry

Values

0 to 65535

tunnel-id

specifies the SDP ID

Values

0 to 65535

start-label end-label

specifies the label range for the information dump

Values

start-label — 32 to 131071

end-label — 32 to 131071

ilm

Syntax

ilm [endpoint endpoint | sender sender | nexthop nexthop | lsp-id lsp-id | tunnel-id tunnel-id | label start-label end-label]

Context

tools>dump>router>mpls

Description

This command displays incoming label map (ILM) information for MPLS.

Default

n/a

Parameters

endpoint

specifies the IP address of the last hop

Values

a.b.c.d

sender

specifies the IP address of the sender

Values

a.b.c.d

nexthop

specifies the IP address of the next hop

Values

a.b.c.d

lsp-id

specifies the label switched path that is signaled for this entry

Values

0 to 65535

tunnel-id

specifies the SDP ID

Values

0 to 65535

start-label end-label

specifies the label range for the information dump

Values

start-label — 32 to 131071

end-label — 32 to 131071

lspinfo

Syntax

lspinfo [lsp-name] [detail]

Context

tools>dump>router>mpls

Description

This command displays LSP information for MPLS.

Default

n/a

Parameters

lsp-name

the LSP identifier

Values

up to 32 characters (must be unique)

detail

displays detailed LSP information

memory-usage

Syntax

memory-usage

Context

tools>dump>router>mpls

Description

This command displays memory usage information for MPLS.

Default

n/a

ospf

Syntax

ospf

Context

tools>dump>router

Description

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

Default

n/a

ospf3

Syntax

ospf3

Context

tools>dump>router

Description

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

Default

n/a

abr

Syntax

abr [detail]

Context

tools>dump>router>ospf

tools>dump>router>ospf3

Description

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

Default

n/a

Parameters

detail

displays detailed information about the ABR

area-range

Syntax

area-range

Context

tools>dump>router>ospf

tools>dump>router>ospf3

Description

This command displays area range information for OSPF.

Default

n/a

asbr

Syntax

asbr [detail]

Context

tools>dump>router>ospf

tools>dump>router>ospf3

Description

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

Default

n/a

Parameters

detail

displays detailed information about the ASBR

bad-packet

Syntax

bad-packet interface-name

Context

tools>dump>router>ospf

tools>dump>router>ospf3

Description

This command displays information about bad packets for OSPF.

Default

n/a

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

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

Description

This command displays memory usage information for OSPF.

Default

n/a

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

Description

This command displays request list information for OSPF.

Default

n/a

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

Description

This command displays dump retransmission list information for OSPF.

Default

n/a

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

Description

This command displays dump route summary information for OSPF.

Default

n/a

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

Description

This command displays dump information about routes learned through OSPF.

Default

n/a

Parameters

ip-prefix/mask

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 to FFFF]H

                          d: [0 to 255]D

prefix-length      0 to 128

type

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

sham-bad-packet

Syntax

sham-bad-packet interface-name

Context

tools>dump>router>ospf

Description

This command displays OSPFv2 sham link bad packets.

Parameters

interface-name

displays only the sham link bad packets identified by this interface name

sr-adjacencies

Syntax

sr-adjacencies [ip-int-name | ip-address] [detail]

sr-adjacencies [remote ip-address] [detail]

Context

tools>dump>router>ospf

Description

This command displays OSPFv2 segment routing (SR) adjacency information.

Parameters

ip-int-name

the IP interface name, 32 characters maximum

ip-address

the IP address of the neighbor

Values

a.b.c.d

detail

displays detailed information about SR adjacencies

sr-database

Syntax

sr-database [sid sid] [detail]

Context

tools>dump>router>ospf

Description

This command displays OSPFv2 segment routing (SR) database information.

Parameters

sid

the segment routing identifier

Values

0 to 524287

detail

displays detailed information about learned routes

pim

Syntax

pim

Context

tools>dump>router

Description

This command enables the context to display PIM information.

Default

n/a

iom-failures

Syntax

iom-failures [detail]

Context

tools>dump>router>pim

Description

This command displays information about failures in programming IOMs.

Unlike the 7750 SR, when the maximum number of groups per node is exceeded, any additional groups are not stored at the CSM layer and an alarm is raised immediately.

Default

n/a

Parameters

detail

displays detailed information about IOM failures

rsvp

Syntax

rsvp

Context

tools>dump>router

Description

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

Default

n/a

neighbor

Syntax

neighbor [ip-address] [detail]

Context

tools>dump>router>rsvp

Description

This command displays neighbor information for RSVP.

Default

n/a

Parameters

ip-address

the IP address of the neighbor

Values

a.b.c.d

detail

displays detailed information about the neighbor

psb

Syntax

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

Context

tools>dump>router>rsvp

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.

Default

n/a

Parameters

endpoint-address

specifies the IP address of the last hop

sender-address

specifies the IP address of the sender

tunnel-id

specifies the SDP ID

Values

0 to 4294967295

lsp-id

specifies the label switched path that is signaled for this entry

Values

1 to 65535

rsb

Syntax

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

Context

tools>dump>router>rsvp

Description

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

Default

n/a

Parameters

endpoint-address

specifies the IP address of the last hop

sender-address

specifies the IP address of the sender

tunnel-id

specifies the SDP ID

Values

0 to 4294967295

lsp-id

specifies the label switched path that is signaled for this entry

Values

1 to 65535

segment-routing

Syntax

segment-routing

Context

tools>dump>router

Description

This command enables the context to display tools information for segment routing.

tunnel

Syntax

tunnel

Context

tools>dump>router>segment-routing

Description

This command displays segment routing tunnel information.

static-route

Syntax

static-route

Context

tools>dump>router

Description

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

Default

n/a

ldp-sync-status

Syntax

ldp-sync-status

Context

tools>dump>router>static-route

Description

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

Default

n/a

te-database

Syntax

te-database [adv-router adv-router] [neighbor neighbor] [detail]

Context

tools>dump>router

Description

This command displays information for the traffic engineering database.

Default

n/a

Parameters

adv-router

ip-address or isis-system-id

neighbor

ip-address or isis-system-id

detail

displays detailed information about the neighbor

isis

Syntax

isis [instance isis-instance] [level level]

Context

tools>dump>router>te-database

Description

This command displays information for the IS-IS traffic engineering database.

Default

n/a

Parameters

isis-instance

0 to 31

level

1 or 2

ospf

Syntax

ospf [area area-id] [instance ospf-instance]

Context

tools>dump>router>te-database

Description

This command displays information for the OSPF traffic engineering database.

Default

n/a

Parameters

area-id

ip-address or (0 to 4294967295)

ospf-instance

a unique integer that identifies a specific instance of a version of the OSPF protocol running in the router instance specified by the virtual router identifier

Values

0 to 31