Router Cli Show CLI
Router Cli Show CLI
Router Cli Show CLI
Show Commands
aggregate
Syntax aggregate [family] [active]
Context show>router
Sample Output
arp
Syntax arp [ip-int-name | ip-address/mask | mac ieee-mac-address | summary] [local | dynamic |
static | managed]
Context show>router
Description This command displays the router ARP table sorted by IP address. If no command line options are spec-
ified, all ARP entries are displayed.
Parameters ip-address/mask — Only displays ARP entries associated with the specified IP address and mask.
Output ARP Table Output — The following table describes the ARP table output fields:
Label Description
IP Address The IP address of the ARP entry.
MAC Address The MAC address of the ARP entry.
Expiry The age of the ARP entry.
Type Dyn — The ARP entry is a dynamic ARP entry.
Inv — The ARP entry is an inactive static ARP entry (invalid).
Oth — The ARP entry is a local or system ARP entry.
Sta — The ARP entry is an active static ARP entry.
*Man The ARP entry is a managed ARP entry.
Int The ARP entry is an internal ARP entry.
[I} The ARP entry is in use.
Interface The IP interface name associated with the ARP entry.
No. of ARP Entries The number of ARP entries displayed in the list.
Sample Output
===============================================================================
A:ALA-A#
Context show>router
statistics
Syntax statistics
statistics interface [ip-int-name | ip-address]
statistics policy name
Context show>router>authentication
Description This command displays interface or policy authentication statistics.
Output Authentication Statistics Output — The following table describes the show authentication
statistics output fields:
Label Description
Client Packets The number of packets that failed authentication.
Authenticate Fail
Sample Output
A:ALU-3>show>router>auth# statistics
===================================================================
Authentication Global Statistics
===================================================================
Client Packets Authenticate Fail : 0
Client Packets Authenticate Ok : 12
===================================================================
A:ALU-3>
bfd
Syntax bfd
Context show>router
Description This command enables the context to display bi-directional forwarding detection (BFD) information.
Sample Output
Context show>router>bfd
Sample Output
===============================================================================
BFD Template privatebed-bfd-template
===============================================================================
Template Name : privatebed-* Template Type : cpmNp
Transmit Timer : 10 msec Receive Timer : 10 msec
CV Transmit Interval : 1000 msec
Template Multiplier : 3 Echo Receive Interval : 100 msec
Mpls-tp Association
privatebed-oam-template
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:mlstp-dutA# show router bfd session
===============================================================================
BFD Session
===============================================================================
Interface/Lsp Name State Tx Intvl Rx Intvl Multipl
Remote Address/Info Protocols Tx Pkts Rx Pkts Type
-------------------------------------------------------------------------------
wp::lsp-32 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
wp::lsp-33 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
wp::lsp-34 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
wp::lsp-35 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
wp::lsp-36 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
wp::lsp-37 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
wp::lsp-38 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
wp::lsp-39 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
wp::lsp-40 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
wp::lsp-41 Down (1) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
pp::lsp-32 Up (3) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
pp::lsp-33 Up (3) 1000 1000 3
0::0.0.0.0 mplsTp N/A N/A cpm-np
pp::lsp-34 Up (3) 1000 1000 3
interface
Syntax interface [interface-name]
Context show>router>bfd
Output BFD interface Output — The following table describes the show BFD interface output fields:
Label Description
TX Interval Displays the interval, in milliseconds, between the transmitted BFD
messages to maintain the session
RX Interval Displays the expected interval, in milliseconds, between the received
BFD messages to maintain the session
Multiplier Displays the integer used by BFD to declare when the neighbor is down.
Sample Output
session
Syntax session [src ip-address [dst ip-address] | detail]
session [type type]
session [summary]
Context show>router>bfd
Parameters ip-address — Only displays the interface information associated with the specified IP address.
Values ipv4-address a.b.c.d (host bits must be 0)
type — Specifies the session type.
Values iom | central | cpm-np
Output BFD Session Output — The following table describes the show BFD session output fields:
Label Description
State Displays the administrative state for this BFD session.
Protocol Displays the active protocol.
Tx Intvl Displays the interval, in milliseconds, between the transmitted BFD mes-
sages to maintain the session
Tx Pkts Displays the number of transmitted BFD packets.
Rx Intvl Displays the expected interval, in milliseconds, between the received BFD
messages to maintain the session
Rx Pkts Displays the number of received packets.
Mult Displays the integer used by BFD to declare when the neighbor is down.
Sample Output
===============================================================================
Interface State Tx Intvl Rx Intvl Multipl
Remote Address Protocols Tx Pkts Rx Pkts Type
-------------------------------------------------------------------------------
port-1-1 Up (3) 500 500 3
10.1.1.3 pim isis 50971 50718 iom
port-1-1 Up (3) 10 10 3
3FFE::A01:103 static bgp N/A N/A cpm-np
port-1-1 Up (3) 10 10 3
FE80::A0A:A03 pim isis ospf3 N/A N/A cpm-np
port-1-2 Up (3) 500 500 3
10.2.1.3 pim isis 50968 50718 iom
port-1-2 Up (3) 10 10 3
3FFE::A02:103 static bgp N/A N/A cpm-np
port-1-2 Up (3) 10 10 3
...
===============================================================================
*A:Dut-B#
port-1-4 Up (3) 10 10 3
...
===============================================================================
*A:Dut-B#
Total 750
=============================
*A:Dut-D#
dhcp
Syntax dhcp
Context show>router
Description This command enables the context to display DHCP related information.
dhcp6
Syntax dhcp6
Context show>router
Description This command enables the context to display DHCP6 related information.
statistics
Syntax statistics [ip-int-name | ip-address]
Context show>router>dhcp
show>router>dhcp6
Description This command displays statistics for DHCP relay and DHCP snooping.
If no IP address or interface name is specified, then all configured interfaces are displayed.
Output Show DHCP Statistics Output — The following table describes the output fields for DHCP.
statistics.
Label Description
Received Packets The number of packets received from the DHCP clients.
Transmitted Pack- The number of packets transmitted to the DHCP clients.
ets
Received Mal- The number of malformed packets received from the DHCP clients.
formed Packets
Received The number of untrusted packets received from the DHCP clients.
Untrusted Packets
Client Packets The number of packets received from the DHCP clients that were dis-
Discarded carded.
Client Packets The number of packets received from the DHCP clients that were for-
Relayed warded.
Client Packets The number of packets received from the DHCP clients that were
Snooped snooped.
Server Packets The number of packets received from the DHCP server that were dis-
Discarded carded.
Server Packets The number of packets received from the DHCP server that were for-
Relayed warded.
Server Packets The number of packets received from the DHCP server that were
Snooped snooped.
Sample Output
7 REPLY 0 0 0
8 RELEASE 0 0 0
9 DECLINE 0 0 0
10 RECONFIGURE 0 0 0
11 INFO_REQUEST 0 0 0
12 RELAY_FORW 0 0 0
13 RELAY_REPLY 0 0 0
--------------------------------------------------------------------------
Dhcp6 Drop Reason Counters :
--------------------------------------------------------------------------
1 Dhcp6 oper state is not Up on src itf 0
2 Dhcp6 oper state is not Up on dst itf 0
3 Relay Reply Msg on Client Itf 0
4 Hop Count Limit reached 0
5 Missing Relay Msg option, or illegal msg type 0
6 Unable to determine destinatinon client Itf 0
7 Out of Memory 0
8 No global Pfx on Client Itf 0
9 Unable to determine src Ip Addr 0
10 No route to server 0
11 Subscr. Mgmt. Update failed 0
12 Received Relay Forw Message 0
13 Packet too small to contain valid dhcp6 msg 0
14 Server cannot respond to this message 0
15 No Server Id option in msg from server 0
16 Missing or illegal Client Id option in client msg 0
17 Server Id option in client msg 0
18 Server DUID in client msg does not match our own 0
19 Client sent message to unicast while not allowed 0
20 Client sent message with illegal src Ip address 0
21 Client message type not supported in pfx delegation 0
22 Nbr of addrs or pfxs exceeds allowed max (128) in msg 0
23 Unable to resolve client's mac address 0
24 The Client was assigned an illegal address 0
25 Illegal msg encoding 0
==========================================================================
A:ALA-1#
summary
Syntax summary
Context show>router>dhcp
Description Display the status of the DHCP Relay and DHCP Snooping functions on each interface.
Output Show DHCP Summary Output — The following table describes the output fields for DHCP
summary.
Label Description
Interface Name Name of the router interface.
Info Option Indicates whether Option 82 processing is enabled on the interface.
Sample Output
ecmp
Syntax ecmp
Context show>router
Description This command displays the ECMP settings for the router.
Output ECMP Settings Output — The following table describes the output fields for the router ECMP
settings.
Label Description
Instance The router instance number.
Router Name The name of the router instance.
ECMP False — ECMP is disabled for the instance.
Sample Output
fib
Syntax fib slot-number [family] [ip-prefix/prefix-length] [longer] [secondary] [exclude-services]
fib slot-number [family] summary
fib slot-number nh-table-usage
Context show>router
Description This command displays the active FIB entries for a specific IOM.
Parameters slot-number — Displays routes only matching the specified chassis slot number.
Default all IOMs
Values 1 — 10
family — Displays the router IP interface table to display.
Values ipv4 — Displays only those peers that have the IPv4 family enabled.
ipv6 — Displays the peers that are IPv6-capable.
ip-prefix/prefix-length — Displays FIB entries only matching the specified ip-prefix and length.
Values ipv4-prefix: a.b.c.d (host bits must be 0)
ipv4-prefix-length:[ 0 — 32
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
ipv6-prefix-length: 0 — 128
longer — Displays FIB entries matching the ip-prefix/mask and routes with longer masks.
secondary — Displays secondary VRF ID information.
summary — Displays summary FIB information for the specified slot number.
nh-table-usage — Displays next-hop table usage.
Sample Output
20.12.0.46/32 STATIC
vprn1:mda-3-1
100.0.0.1/32 TMS
vprn1:mda-1-1
vprn1:mda-3-1
138.203.71.202/32 STATIC
10.12.0.2 (itfToArborCP_02)
-------------------------------------------------------------------------------
Total Entries : 15
-------------------------------------------------------------------------------
===============================================================================
icmp6
Syntax icmp6
Context show>router
Description This command displays Internet Control Message Protocol Version 6 (ICMPv6) statistics. ICMP
generates error messages (for example, ICMP destination unreachable messages) to report errors during
processing and other diagnostic functions. ICMPv6 packets can be used in the neighbor discovery
protocol and path MTU discovery.
Output icmp6 Output — The following table describes the show router icmp6 output fields:
Label Description
Total The total number of all messages.
Destination The number of message that did not reach the destination.
Unreachable
Time Exceeded The number of messages that exceeded the time threshold.
Echo Request The number of echo requests.
Router Solicits The number of times the local router was solicited.
Neighbor Solicits The number of times the neighbor router was solicited.
Errors The number of error messages.
Redirects The number of packet redirects.
Pkt Too big The number of packets that exceed appropriate size.
Echo Reply The number of echo replies.
Router Advertise- The number of times the router advertised its location.
ments
Neighbor Adver- The number of times the neighbor router advertised its location.
tisements
interface
Syntax interface [interface-name]
Context show>router>icmpv6
Parameters interface-name — Only displays entries associated with the specified IP interface name.
Output icmp6 interface Output — The following table describes the show router icmp6 interface output
fields:
Label Description
Total The total number of all messages.
Destination The number of message that did not reach the destination.
Unreachable
Time Exceeded The number of messages that exceeded the time threshold.
Echo Request The number of echo requests.
Router Solicits The number of times the local router was solicited.
Neighbor Solicits The number of times the neighbor router was solicited.
Errors The number of error messages.
Sample Output
interface
Syntax interface [{[ip-address | ip-int-name] [statistics] [detail] [family]} | [summary] | [exclude-
services]
interface family [detail]]
Context show>router
Description This command displays the router IP interface table sorted by interface index.
Parameters ip-address — Only displays the interface information associated with the specified IP address.
Values ipv4-address a.b.c.d (host bits must be 0)
ipv6-address x:x:x:x:x:x:x:x (eight 16-bit pieces)
Label Description
Interface-Name The IP interface name.
Type n/a — No IP address has been assigned to the IP interface, so the IP
address type is not applicable.
Pri — The IP address for the IP interface is the Primary address on
the IP interface.
Sample Output
===============================================================================
Interface Table (Router: Base)
===============================================================================
Interface-Name Adm Opr(v4/v6) Mode Port/SapId
IP-Address PfxState
-------------------------------------------------------------------------------
AtoB_1 Down Down/-- Network 1/2/3:1
Unnumbered If[system] n/a
-------------------------------------------------------------------------------
Interfaces : 1
===============================================================================
Interface-Name Type IP-Address Adm Opr Mode
-------------------------------------------------------------------------------
system Pri 10.10.0.3/32 Up Up Network
to-ser1 Pri 10.10.13.3/24 Up Up Network
to-ser4 Pri 10.10.34.3/24 Up Up Network
to-ser5 Pri 10.10.35.3/24 Up Up Network
to-ser6 n/a n/a Up Down Network
management Pri 192.168.2.93/20 Up Up Network
===============================================================================
A:ALA-A#
Detailed IP Interface Output — The following table describes the detailed output fields for an IP
interface.
Label Description
If Name The IP interface name.
Admin State Down — The IP interface is administratively disabled.
Sample Output
ICMP Details
Redirects : Number - 100 Time (seconds) - 10
Unreachables : Number - 100 Time (seconds) - 10
TTL Expired : Number - 100 Time (seconds) - 10
-------------------------------------------------------------------------------
Interface
-------------------------------------------------------------------------------
If Name : mda-3-1
Admin State : Up Oper (v4/v6) : Up/Down
Protocols : None
IP Addr/mask : 20.12.0.46/32 Address Type : Primary
IGP Inhibit : Disabled Broadcast Address : Host-ones
HoldUp-Time : 0 Track Srrp Inst : 0
-------------------------------------------------------------------------------
Details
-------------------------------------------------------------------------------
Description : tms-3-1
If Index : 5 Virt. If Index : 5
Last Oper Chg : 07/08/2011 06:49:45 Global If Index : 95
If Type : TMS
Rx Pkts : 14935 Rx Bytes : 955840
Tx Pkts : 14892 Tx Bytes : 953088
Tx Discard Pkts : 0
===============================================================================
Interface Table (Service: 1)
===============================================================================
-------------------------------------------------------------------------------
Interface
-------------------------------------------------------------------------------
If Name : mda-2-1
Admin State : Up Oper (v4/v6) : Up/Down
Protocols : None
IP Addr/mask : 20.12.0.44/32 Address Type : Primary
IGP Inhibit : Disabled Broadcast Address : Host-ones
HoldUp-Time : 0 Track Srrp Inst : 0
-------------------------------------------------------------------------------
Details
-------------------------------------------------------------------------------
Description : tms-2-1
If Index : 3 Virt. If Index : 3
Last Oper Chg : 09/14/2011 08:39:24 Global If Index : 122
If Type : TMS
Rx Pkts : 13508 Rx Bytes : 864512
Tx Pkts : 13552 Tx Bytes : 867328
Tx Discard Pkts : 0
===============================================================================
with
Rx Pkts/Rx Bytes: Offramped traffic counters
Tx Pkts/Tx Bytes: Onramped traffic counters
Tx Discard Pkts: Discarded packets by TMS
It displays the #of pkts dropped while the traffic is getting distributed to various
It doesn't account for the pkts dropped in HW level.
Status: TMS status could be Up/Down
Version: TMS software version
Mitigations: Number of active mitigations on this TMS
Status message: Not applicable. For future usage
===============================================================================
Statistics IP Interface Output — The following table describes the packet statistics for the router
IP interfaces.
.
Label Description
Ifname The interface name
Admin State The administrative status of the router interface.
Oper The operational status of the router instance.
Sample Output
-------------------------------------------------------------------------------
A:ALA-A#
Summary IP Interface Output — The following table describes the summary output fields for the
router IP interfaces.
.
Label Description
Instance The router instance number.
Router Name The name of the router instance.
Interfaces The number of IP interfaces in the router instance.
Admin-Up The number of administratively enabled IP interfaces in the router
instance.
Oper-Up The number of operationally enabled IP interfaces in the router
instance.
Sample Output
routes
Syntax routes alternative
Context show:router>isis
Sample Output
============================================================================
Route Table
============================================================================
Prefix [Flags] Metric Lvl/Typ Ver. SysID/Hostname
NextHop MT AdminTag
Alt-Nexthop Alt-Metric
----------------------------------------------------------------------------
10.20.1.2/32 0 1/Int. 3 Dut-B
0.0.0.0 0 0
10.20.1.3/32 10 2/Int. 2 Dut-C
10.20.3.3 0 0
10.20.3.3 (lfa) 15
10.20.1.4/32 10 2/Int. 3 Dut-D
10.20.4.4 0 0
10.20.1.5/32 20 2/Int. 3 Dut-C
10.20.3.3 0 0
10.20.1.6/32 20 2/Int. 3 Dut-D
10.20.4.4 0 0
10.20.3.0/24 10 1/Int. 3 Dut-B
0.0.0.0 0 0
10.20.4.0/24 10 1/Int. 3 Dut-B
0.0.0.0 0 0
10.20.5.0/24 20 2/Int. 2 Dut-C
10.20.3.3 0 0
10.20.6.0/24 20 2/Int. 4
4 Dut-D
10.20.4.4 0 0
10.20.9.0/24 20 2/Int. 3 Dut-D
10.20.4.4 0 0
10.20.10.0/24 30 2/Int. 3 Dut-C
10.20.3.3 0 0
----------------------------------------------------------------------------
Routes : 11
Flags: LFA = Loop-Free Alternate nexthop
============================================================================
*A:Dut-B#
bindings
Syntax bindings active
Context show>router>ldp
Sample Output
========================================================================
Legend: (S) - Static (M) - Multi-homed Secondary Support
(B) - BGP Next Hop (BU) - Alternate Next-hop for Fast Re-Route
========================================================================
LDP Prefix Bindings (Active)
========================================================================
Prefix Op IngLbl EgrLbl EgrIntf/LspId EgrNextHop
------------------------------------------------------------------------
10.20.1.1/32 Pop 131071 -- -- --
10.20.1.2/32 Push -- 131071 1/1/1 10.10.1.2
10.20.1.2/32 Swap 131070 131071 1/1/1 10.10.1.2
10.20.1.2/32 Push -- 262141BU 1/1/2 10.10.2.3
10.20.1.2/32 Swap 131070 262141BU 1/1/2 10.10.2.3
10.20.1.3/32 Push -- 131069BU 1/1/1 10.10.1.2
10.20.1.3/32 Swap 131069 131069BU 1/1/1 10.10.1.2
10.20.1.3/32 Push -- 262143 1/1/2 10.10.2.3
10.20.1.3/32 Swap 131069 262143 1/1/2 10.10.2.3
10.20.1.4/32 Push -- 131068 1/1/1 10.10.1.2
10.20.1.4/32 Swap 131068 131068 1/1/1 10.10.1.2
10.20.1.4/32 Push -- 262140BU 1/1/2 10.10.2.3
10.20.1.4/32 Swap 131068 262140BU 1/1/2 10.10.2.3
10.20.1.5/32 Push -- 131067BU 1/1/1 10.10.1.2
10.20.1.5/32 Swap 131067 131067BU 1/1/1 10.10.1.2
10.20.1.5/32 Push -- 262139 1/1/2 10.10.2.3
10.20.1.5/32 Swap 131067 262139 1/1/2 10.10.2.3
10.20.1.6/32 Push -- 131066 1/1/1 10.10.1.2
10.20.1.6/32 Swap 131066 131066 1/1/1 10.10.1.2
10.20.1.6/32 Push -- 262138BU 1/1/2 10.10.2.3
10.20.1.6/32 Swap 131066 262138BU 1/1/2 10.10.2.3
------------------------------------------------------------------------
No. of Prefix Active Bindings: 21
========================================================================
LDP P2MP Bindings (Active)
========================================================================
P2MP-Id RootAddr
Interface Op IngLbl EgrLbl EgrIntf/ EgrNextHop
LspId
------------------------------------------------------------------------
No Matching Entries Found
========================================================================
========================================================================
LDP LSR ID: 10.20.1.1
========================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
S - Status Signaled Up, D - Status Signaled Down
E - Epipe Service, V - VPLS Service, M - Mirror Service
A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
BU - Alternate Next-hop for Fast Re-Route, TLV - (Type, Length: Value)
========================================================================
LDP Prefix Bindings
========================================================================
========================================================================
LDP Service FEC 128 Bindings
========================================================================
Type VCId SvcId SDPId Peer IngLbl EgrLbl LMTU RMTU
------------------------------------------------------------------------
No Matching Entries Found
========================================================================
LDP Service FEC 129 Bindings
========================================================================
AGI SAII
TAII
Type SvcId SDPId Peer IngLbl EgrLbl LMTU RMTU
------------------------------------------------------------------------
No Matching Entries Found
========================================================================
========================================================================
mvpn
Syntax mvpn
Description This command displays Multicast VPN related information. The router instance must be specified.
Sample Output
===============================================================================
MVPN 1 configuration data
===============================================================================
signaling : Bgp auto-discovery : Enabled
UMH Selection : Highest-Ip intersite-shared : Enabled
vrf-import : N/A
vrf-export : N/A
vrf-target : target:1:1
C-Mcast Import RT : target:10.20.1.3:2
===============================================================================
neighbor
Syntax neighbor [ip-int-name | ip-address | mac ieee-mac-address | summary]
Context show>router
Description This command displays information about the IPv6 neighbor cache.
Output Neighbor Output — The following table describes neighbor output fields.
Label Description
IPv6 Address Displays the IPv6 address.
Interface Displays the name of the IPv6 interface name.
MAC Address Specifies the link-layer address.
State Displays the current administrative state.
Exp Displays the number of seconds until the entry expires.
Type Displays the type of IPv6 interface.
Interface Displays the interface name.
Sample Output
network-domains
Syntax network-domains [detail] [network-domain-name]
Context show>router
Sample
-------------------------------------------------------------------------------
Network Domain : default
-------------------------------------------------------------------------------
Description : Default Network Domain
No. Of Ifs Associated : 3
No. Of SDPs Associated : 0
===============================================================================
*A:Dut-T>config>router#
policy
Syntax policy [name | damping | prefix-list name | as-path name | community name | admin]
Context show>router
Output Policy Output — The following table describes policy output fields.
Label Description
Policy The policy name.
Description Displays the description of the policy.
Sample Output
policy-edits
Syntax policy-edits
Context show>router
Description This command displays edited policy information.
route-table
Syntax route-table [ip-prefix[/prefix-length] [longer | exact | protocol]] | [protocol protocol-name]
[all]]
route-table [family] summary
route-table tunnel-endpoints [ip-prefix[/prefix-length] [longer | exact | protocol]
route-table [ip-prefix[/prefix-length] next-hop-type tunneled
route-table [next-hop-type tunneled]
Context show>router
Description This command displays the active routes in the routing table.
If no command line arguments are specified, all routes are displayed, sorted by prefix.
Parameters family — Specify the type of routing information to be distributed by this peer group.
Values ipv4 — Displays only those BGP peers that have the IPv4 family enabled and not
those capable of exchanging IP-VPN routes.
ipv6 — Displays the BGP peers that are IPv6 capable.
mcast-ipv4 — Displays the BGP peers that are IPv4 multicast capable.
mcast-ipv6 — Displays multicast IPv6 route table.
ip-prefix[/prefix-length] — Displays routes only matching the specified ip-address and length.
Values ipv4-prefix: a.b.c.d (host bits must be set to 0)
ipv4-prefix-length: 0 — 32
ipv6 ipv6-prefix[/pref*: 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: 1 — 128ipv6
longer — Displays routes matching the ip-prefix/mask and routes with longer masks.
exact — Displays the exact route matching the ip-prefix/mask masks.
protocol protocol-name — Displays routes learned from the specified protocol.
Values local, sub-mgmt, managed, static, ospf, ospf3, isis, rip, aggregate, bgp, bgp-vpn
summary — Displays a route table summary information.
tunnel-endpoints — Specifies to include tunnel endpoint information.
Output Standard Route Table Output — The following table describes the standard output fields for the
route table.
Label Description
Dest Address The route destination address and mask.
Next Hop The next hop IP address for the route destination.
Type Local — The route is a local route.
Sample Output
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
1.1.1.1/32 Remote BGP 00h00m09s 170
10.20.1.1 (tunneled:RSVP:1) 0
-------------------------------------------------------------------------------
No. of Routes: 1
===============================================================================
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
1.1.2.0/24 Remote ISIS 00h44m24s 15
1.1.3.1 20
1.1.2.0/24 Remote ISIS 00h44m24s 15
1.2.3.2 20
1.1.3.0/24 Local Local 00h44m30s 0
to_Dut-A 0
1.1.9.0/24 Remote ISIS 00h44m16s 15
1.1.3.1 20
1.2.3.0/24 Local Local 00h44m30s 0
to_Dut-B 0
1.2.9.0/24 Remote ISIS 00h43m55s 160
1.2.3.2 10
10.12.0.0/24 Local Local 00h44m29s 0
itfToArborCP_02 0
10.20.1.1/32 Remote ISIS 00h44m24s 15
1.1.3.1 10
10.20.1.2/32 Remote ISIS 00h44m28s 15
1.2.3.2 10
10.20.1.3/32 Local Local 00h44m32s 0
system 0
20.12.0.43/32 Remote Static 00h44m31s 5
vprn1:mda-1-1 1
20.12.0.44/32 Remote Static 00h44m31s 5
vprn1:mda-2-1 1
20.12.0.45/32 Remote Static 00h44m31s 5
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.10.5.0/24 Remote OSPF 00h02m20s 10
10.20.1.5 (tunneled:RSVP:1) 1100
10.10.10.0/24 Remote OSPF 00h02m20s 10
10.20.1.5 (tunneled:RSVP:1) 1100
10.20.1.5/32 Remote OSPF 00h02m20s 10
10.20.1.5 (tunneled:RSVP:1) 100
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.20.1.5/32 Remote OSPF 00h03m55s 10
10.20.1.5 (tunneled:RSVP:1) 100
-------------------------------------------------------------------------------
No. of Routes: 1
===============================================================================
*A:Dut-C# show router route-table protocol tms
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
100.0.0.1/32 Remote TMS 00h23m07s 167
vprn1:mda-2-1 0
-------------------------------------------------------------------------------
No. of Routes: 1
Flags: L = LFA nexthop available B = BGP backup route available
n = Number of times nexthop is repeated
===============================================================================
*A:Dut-C#
*A:Dut-C# show router route-table summary
===============================================================================
Route Table Summary (Router: Base)
===============================================================================
Active Available
-------------------------------------------------------------------------------
Static 5 5
Direct 12 12
Host 0 11
BGP 0 0
BGP (Backup) 0 0
VPN Leak 0 0
OSPF 0 0
ISIS 6 6
ISIS (LFA) 0 0
RIP 0 0
LDP 0 0
Aggregate 0 0
Sub Mgmt 0 0
Managed 0 0
NAT 0 0
TMS 1 1
Summary Route Table Output — Summary output for the route table displays the number of
active routes and the number of routes learned by the router by protocol. Total active and available
routes are also displayed.
Sample Output
rtr-advertisement
Syntax rtr-advertisement [interface interface-name] [prefix ipv6-prefix[/prefix-length]]
rtr-advertisement [conflicts]
Context show>router
Output Router-Advertisement Table Output — The following table describes the output fields for router-
advertisement.
Label Description
Rtr Advertisement The number of router advertisements sent and time since they were
Tx/Last Sent sent.
Nbr Solicitation The number of neighbor solicitations sent and time since they were
Tx sent.
Nbr Advertisement The number of neighbor advertisements sent and time since they were
Tx sent.
Rtr Advertisement The number of router advertisements received and time since they
Rx were received.
Nbr Advertisement The number of neighbor advertisements received and time since they
Rx were received.
Max Advert Inter- The maximum interval between sending router advertisement mes-
val sages.
Managed Config True — Indicates that DHCPv6 has been configured.
Sample Output
Prefix: 211::/120
Autonomous Flag : FALSE On-link flag : FALSE
Preferred Lifetime : 07d00h00m Valid Lifetime : 30d00h00m
Prefix: 231::/120
Autonomous Flag : FALSE On-link flag : FALSE
Preferred Lifetime : 49710d06h Valid Lifetime : 49710d06h
Prefix: 241::/120
Autonomous Flag : TRUE On-link flag : TRUE
Preferred Lifetime : 00h00m00s Valid Lifetime : 00h00m00s
Prefix: 251::/120
Autonomous Flag : TRUE On-link flag : TRUE
Prefix: 23::/120
Autonomous Flag : FALSE On-link flag : FALSE
Preferred Lifetime : infinite Valid Lifetime : infinite
Prefix: 24::/120
Autonomous Flag : TRUE On-link flag : TRUE
Preferred Lifetime : 00h00m00s Valid Lifetime : 00h00m00s
Prefix: 25::/120
Autonomous Flag : TRUE On-link flag : TRUE
Preferred Lifetime : 07d00h00m Valid Lifetime : 30d00h00m
-------------------------------------------------------------------------------
Advertisement from: FE80::200:FF:FE00:2
Managed Config : FALSE Other Config : FALSE
Reachable Time : 00h00m00s0ms Router Lifetime : 00h30m00s
Retransmit Time : 00h00m00s0ms Hop Limit : 64
Link MTU : 0
Prefix: 2::/120
Autonomous Flag : TRUE On-link flag : TRUE
Preferred Lifetime : 07d00h00m Valid Lifetime : 30d00h00m
Prefix: 23::/120
Autonomous Flag : TRUE On-link flag : TRUE
Preferred Lifetime : 07d00h00m Valid Lifetime : 30d00h00m
Prefix: 24::/119
Autonomous Flag : TRUE On-link flag : TRUE
Preferred Lifetime : 07d00h00m Valid Lifetime : 30d00h00m
Prefix: 25::/120
Autonomous Flag : TRUE On-link flag : TRUE
Preferred Lifetime : 07d00h00m Valid Lifetime : infinite
Prefix: 231::/120
Autonomous Flag : TRUE On-link flag : TRUE
Preferred Lifetime : 07d00h00m Valid Lifetime : 30d00h00m
Output Router-Advertisement Conflicts Output — The following table describes the output fields for
router- advertisement conflicts.
Label Description
Advertisement The address of the advertising router.
from
Reachable Time The time, in milliseconds, that a node assumes a neighbor is reachable
after receiving a reachability confirmation.
Router Lifetime Displays the router lifetime in seconds.
Retransmit Time The time, in milliseconds, between retransmitted neighbor solicitation
messages.
Hop Limit Displays the current hop limit
Link MTU The MTU number the nodes use for sending packets on the link.
Sample Output
Prefix: 23::/120
Autonomous Flag : TRUE [FALSE]
On-link flag : TRUE [FALSE]
Preferred Lifetime: 07d00h00m [infinite]
Valid Lifetime : 30d00h00m [infinite]
Prefix: 25::/120
Valid Lifetime : infinite [30d00h00m]
static-arp
Syntax static-arp [ip-addr | ip-int-name | mac ieee-mac-addr]
Context show>router
Description This command displays the router static ARP table sorted by IP address. If no options are present, all
ARP entries are displayed.
Output Static ARP Table Output — The following table describes the output fields for the ARP table.
Label Description
IP Address The IP address of the static ARP entry.
MAC Address The MAC address of the static ARP entry.
Age The age of the ARP entry. Static ARPs always have 00:00:00 for the age.
Type Inv — The ARP entry is an inactive static ARP entry (invalid).
Sample Output
===============================================================================
A:ALA-A#
static-route
Syntax static-route [family] [[ip-prefix /mask] | [preference preference] | [next-hop ip-address] | tag
tag]
Context show>router
Description This command displays the static entries in the routing table. If no options are present, all static routes
are displayed sorted by prefix.
Parameters family — Specify the type of routing information to be distributed by this peer group.
Values ipv4 — Displays only those BGP peers that have the IPv4 family enabled and not
those capable of exchanging IP-VPN routes.
ipv6 — Displays the BGP peers that are IPv6 capable.
mcast-ipv4 — Displays the BGP peers that are IPv4 multicast capable.
ip-prefix /mask — Displays static routes only matching the specified ip-prefix and mask.
Values ipv4-prefix: a.b.c.d (host bits must be 0)
ipv4-prefix-length: 0 — 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 — FFFF]H
d: [0 — 255]D
ipv6-prefix-length: 0 — 128
preference preference — Only displays static routes with the specified route preference.
Values 0 — 65535
next-hop ip-address — Only displays static routes with the specified next hop IP address.
Values ipv4-address: a.b.c.d (host bits must be 0)
ipv6-address: 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
Output Static Route Output — The following table describes the output fields for the static route table.
Label Description
IP Addr/mask The static route destination address and mask.
Pref The route preference value for the static route.
Metric The route metric value for the static route.
Type BH — The static route is a black hole route. The Nexthop for this type of
route is black-hole.
ID — The static route is an indirect route, where the nexthop for this
type of route is the non-directly connected next hop.
NH — The route is a static route with a directly connected next hop. The
Nexthop for this type of route is either the next hop IP address or an
egress IP interface name.
Next Hop The next hop for the static route destination.
Protocol The protocol through which the route was learned.
Interface The egress IP interface name for the static route.
n/a — indicates there is no current egress interface because the static
route is inactive or a black hole route.
Active N — The static route is inactive; for example, the static route is disabled
or the next hop IP interface is down.
Sample Output
===============================================================================
===============================================================================
service-prefix
Syntax service-prefix
Description This command displays the address ranges reserved by this node for services sorted by prefix.
Output Service Prefix Output — The following table describes the output fields for service prefix
information.
Label Description
IP Prefix The IP prefix of the range of addresses included in the range for services.
Mask The subnet mask length associated with the IP prefix.
Exclusive false — Addresses in the range are not exclusively for use for service
IP addresses.
true — Addresses in the range are exclusively for use for service IP
addresses and cannot be assigned to network IP interfaces.
Sample Output
sgt-qos
Syntax sgt-qos
Context show>router
application
Syntax application [app-name] [dscp|dot1p]
Context show>router>sgt-qos
dscp-map
Syntax dscp-map [dscp-name]
Context show>router>sgt-qos
status
Syntax status
Context show>router
Output Router Status Output — The following table describes the output fields for router status
information.
Sample Output
Note that there are multiple instances of OSPF. OSPF-0 is persistent. OSPF-1 through OSPF-31 are
present when that particular OSPF instance is configured.
*A:Performance# show router status
================================================================
Router Status (Router: Base)
================================================================
Admin State Oper State
----------------------------------------------------------------
Router Up Up
OSPFv2-0 Up Up
RIP Up Up
ISIS Up Up
MPLS Not configured Not configured
RSVP Not configured Not configured
LDP Not configured Not configured
BGP Up Up
IGMP Not configured Not configured
PIM Not configured Not configured
OSPFv3 Not configured Not configured
MSDP Not configured Not configured
tms
Syntax tms routes
Description This command displays Threat Management Services related information. The router instance must be
specified.
Sample Output
===============================================================================
TMS Routes (IPv4)
===============================================================================
Status Network Next Hop[Interface Name]
-------------------------------------------------------------------------------
Active 100.0.0.1/32 mda-2-1
Inactive 101.0.0.1/32 mda-2-1
Inactive 102.0.0.1/32 mda-2-1
Inactive 103.0.0.1/32 mda-2-1
Inactive 104.0.0.1/32 mda-2-1
Inactive 105.0.0.1/32 mda-2-1
Inactive 106.0.0.1/32 mda-2-1
Inactive 107.0.0.1/32 mda-2-1
Inactive 108.0.0.1/32 mda-2-1
Inactive 109.0.0.1/32 mda-2-1
-------------------------------------------------------------------------------
No. of Routes: 10
===============================================================================
*A:Dut-C# show router 1 tms routes
===============================================================================
TMS Routes (IPv4)
===============================================================================
Status Network Next Hop[Interface Name]
-------------------------------------------------------------------------------
Active 100.0.0.1/32 mda-2-1
-------------------------------------------------------------------------------
No. of Routes: 1
===============================================================================
tunnel-table
Syntax tunnel-table [ip-address[/mask]] [protocol protocol | sdp sdp-id] [summary]
Context show>router
Description This command displays tunnel table information. Note that auto-bind GRE tunnels are not displayed in
show command output. GRE tunnels are not the same as SDP tunnels that use the GRE encapsulation
type. When the auto-bind command is used when configuring a VPRN service, it means the MP-BGP
NH resolution is refering to the core routing instance for IP reachability. For a VPRN service this object
specifies the lookup to be used by the routing instance if no SDP to the destination exists.
Parameters ip-address[/mask] — Displays the specified tunnel table’s destination IP address and mask.
protocol protocol — Dislays LDP protocol information.
sdp sdp-id — Displays information pertaining to the specified SDP.
summary — Displays summary tunnel table information.
Output Tunnel Table Output — The following table describes tunnel table output fields.
Label Description
Destination The route’s destination address and mask.
Owner Specifies the tunnel owner.
Encap Specifies the tunnel’s encapsulation type.
Tunnel ID Specifies the tunnel (SDP) identifier.
Pref Specifies the route preference for routes learned from the configured
peer(s).
Nexthop The next hop for the route’s destination.
Metric The route metric value for the route.
Sample Output
-----------------------------------------------------------------------
KeepAlive Information :
Admin State : Disabled Oper State : Disabled
Hello Time : 10 Hello Msg Len : 0
Max Drop Count : 3 Hold Down Time : 10
Statistics :
I. Fwd. Pkts. : 0 I. Dro. Pkts. : 0
I. Fwd. Octs. : 0 I. Dro. Octs. : 0
E. Fwd. Pkts. : 2979761 E. Fwd. Octets : 476761760
-----------------------------------------------------------------------
Control Channel Status
-----------------------------------------------------------------------
PW Status : disabled Refresh Timer : <none>
Peer Status Expire : false Clear On Timeout : true
-----------------------------------------------------------------------
RSVP/Static LSPs
-----------------------------------------------------------------------
Associated LSP List :
No LSPs Associated
-----------------------------------------------------------------------
Class-based forwarding :
-----------------------------------------------------------------------
Class forwarding : Disabled EnforceDSTELspFc : Disabled
Default LSP : Uknwn Multicast LSP : None
=======================================================================
FC Mapping Table
=======================================================================
FC Name LSP Name
-----------------------------------------------------------------------
No FC Mappings
-----------------------------------------------------------------------
Stp Service Destination Point specifics
-----------------------------------------------------------------------
Stp Admin State : Down Stp Oper State : Down
Core Connectivity : Down
Port Role : N/A Port State : Forwarding
Port Number : 0 Port Priority : 128
Port Path Cost : 10 Auto Edge : Enabled
Admin Edge : Disabled Oper Edge : N/A
Link Type : Pt-pt BPDU Encap : Dot1d
Root Guard : Disabled Active Protocol : N/A
Last BPDU from : N/A
Designated Bridge : N/A Designated Port Id: N/A
========================================================================
------------------------------------------------------------------------
========================================================================
l2tp
Syntax l2tp
Context show>router
Description This command enables the context to display L2TP related information.
group
Syntax group [tunnel-group-name [statistics]]
Context show>router>l2tp
Sample Output
-------------------------------------------------------------------------------
Pkt-Ctl Pkt-Err Octets
-------------------------------------------------------------------------------
Rx 51 0 1224
Tx 51 0 2796
-------------------------------------------------------------------------------
*A:Dut-C#
peer
Syntax peer ip-address
peer ip-address statistics
peer [draining] [unreachable]
Context show>router>l2tp
Sample Output
===============================================================================
Peer IP Tun Active Ses Active
Drain Unreach Role Tun Total Ses Total
-------------------------------------------------------------------------------
10.10.14.8 1 1
LAC 1 1
10.10.20.100 1 3
drain LAC 2 5
10.10.20.101 0 0
unreach LAC 1 1
-------------------------------------------------------------------------------
No. of peers: 3
===============================================================================
*A:Dut-C#
===============================================================================
Peer IP: 10.0.0.1
===============================================================================
tunnels : 1
tunnels active : 1
sessions : 1
sessions active : 1
acceptedMsgType
StartControlConnectionRequest : 1
StartControlConnectionConnected : 1
IncomingCallRequest : 1
IncomingCallConnected : 1
ZeroLengthBody : 1
originalTransmittedMsgType
StartControlConnectionReply : 1
IncomingCallReply : 1
ZeroLengthBody : 3
session
Syntax session connection-id connection-id [detail]|
session [detail] [session-id session-id (v2)] [state session-state][peer ip-address] [group
group-name] [assignment-id assignment-id] [local-namelocal-host-name] [remote-name
remote-host-name] [tunnel-id tunnel-id (v2)]|
session [detail] [state session-state] [peer ip-address] [group group-name] [assignment-id
assignment-id] [local-name local-host-name] [remote-name remote-host-name] [control-
connection-id connection-id (v3)]
Context show>router>l2tp
Parameters connection-id connection-id — Specifies the identification number for a Layer Two Tunneling
Protocol connection.
Values 1 — 429496729
detail — Displays detailed L2TP session information.
session-id session-id (v2) — Specifies the identification number for a Layer Two Tunneling Protocol
session.
Values 1 — 65535
state session-state — Specifies the values to identify the operational state of the L2TP session.
Values closed, closed-by-peer, established, idle, wait-reply, wait-tunnel
peer ip-address — Specifies the IP address of the peer.
Values ipv4-address a.b.c.d (host bits must be 0)
ipv6-address x:x:x:x:x:x:x:x[-interface]
x:x:x:x:x:x:d.d.d.d[-interface]
x: [0..FFFF]H
d: [0..255]D
interface: 32 characters maximum, mandatory for link local
addresses
group group-name — Specifies a string to identify a Layer Two Tunneling Protocol Tunnel group.
assignment-id assignment-id — Specifies a string that distinguishes this Layer Two Tunneling
Protocol tunnel.
local-name local-host-name — Specifies the host name used by this system during the authentication
phase of tunnel establishment.
remote-name remote-host-name — Specifies a string that is compared to the host name used by the
tunnel peer during the authentication phase of tunnel establishment.
tunnel-id tunnel-id (v2) — Specifies the local identifier of this Layer Two Tunneling Protocol tunnel,
when L2TP version 2 is used.
Values 1 — 65535
control-connection-id connection-id (v3) — Specifies an identification number for a Layer Two
Tunneling Protocol session.
Values 1 — 429496729
Sample Output
*A:Dut-C# show router l2tp session tunnel-id 2190 state closed detail
===============================================================================
L2TP Session Status
===============================================================================
Connection ID : 143531662
State : closed
Tunnel Group : isp1.group-2
Assignment ID : isp1.tunnel-3
Error Message : Terminated by PPPoE: RX PADT
*A:Dut-C# show router l2tp session peer 10.10.20.100 state closed detail
===============================================================================
L2TP Session Status
===============================================================================
Connection ID : 236926987
State : closed
Tunnel Group : isp1.group-2
Assignment ID : isp1.tunnel-2
Error Message : tunnel was closed
PPP information
Service Id : 100
Interface : gi_base_lns_base_lac
LCP State : opened
IPCP State : opened
IPv6CP State : initial
PPP MTU : 1492
PPP Auth-Protocol : chap
PPP User-Name : simon@base.lac.base.lns
Subscriber : "simon"
Sub-Profile-String : "sub1"
SLA-Profile-String : "sla1"
ANCP-String : ""
Int-Dest-Id : ""
App-Profile-String : ""
Category-Map-Name : ""
IP Address : 10.100.2.1
Primary DNS : N/A
Secondary DNS : N/A
Primary NBNS : N/A
Session-Timeout : N/A
Radius Class : (Not Specified)
Radius User-Name : simon@base.lac.base.lns
statistics
Syntax statistics
Context show>router>l2tp
Sample Output
Total : 4 Total : 9
Failed : 0 Failed : 0
Failed Auth : 0
===============================================================================
*A:Dut-C#
tunnel
Syntax tunnel [statistics] [detail] [peer ip-address] [state tunnel-state] [remote-connection-id
remote-connection-id (v3)] [group group-name] [assignment-id assignment-id] [local-name
host-name] [remote-name host-name]|
tunnel [statistics] [detail] [peer ip-address] [state tunnel-state] [remote-tunnel-id remote-
tunnel-id (v2)] [group group-name] [assignment-id assignment-id] [local-name host-name]
[remote-name host-name]
tunnel tunnel-id tunnel-id (v2) [statistics] [detail]
Context show>router>l2tp
===============================================================================
Conn ID Loc-Tu-ID Rem-Tu-ID State Ses Active
Group Ses Total
Assignment
-------------------------------------------------------------------------------
143523840 2190 17525 established 2
isp1.group-2 3
isp1.tunnel-3
379387904 5789 4233 established 1
isp1.group-1 1
isp1.tunnel-1
-------------------------------------------------------------------------------
No. of tunnels: 2
===============================================================================
*A:Dut-C#
*A:Dut-C# show router l2tp tunnel peer 10.10.20.100 state closed-by-peer detail
===============================================================================
L2TP Tunnel Status
===============================================================================
Connection ID : 236912640
State : closedByPeer
IP : 10.20.1.3
Peer IP : 10.10.20.100
Name : lac1.wholesaler.com
Remote Name : lns2.retailer1.net
Assignment ID : isp1.tunnel-2
Group Name : isp1.group-2
Error Message : Goodbye!
*A:Dut-C# show router l2tp tunnel assignment-id isp1.tunnel-3 state established statis-
tics
===============================================================================
L2TP Tunnel Statistics
===============================================================================
Connection ID: 143523840
-------------------------------------------------------------------------------
Attempts Failed Active Total
-------------------------------------------------------------------------------
Sessions 3 0 2 3
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Rx Tx
-------------------------------------------------------------------------------
Attempts Failed Active Total
-------------------------------------------------------------------------------
Sessions 1 0 1 1
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Rx Tx
-------------------------------------------------------------------------------
Ctrl Packets 6 6
Ctrl Octets 553 292
Error Packets 0 0
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Accepted Duplicate Out-Of-Wnd
-------------------------------------------------------------------------------
Fsm Messages 4 0 0
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Unsent Max Unsent Cur Ack Max Ack Cur
-------------------------------------------------------------------------------
Q Length 1 0 1 0
-------------------------------------------------------------------------------
router
Syntax router router-instance
Context clear>router
Description This command clears for a the router instance in which they are entered.
arp
Syntax arp {all | ip-addr | interface {ip-int-name | ip-addr}}
Context clear>router
bfd
Syntax bfd src-ip ip-address dst-ip ip-address
bfd all
Context clear>router
Description This command enables the context to clear bi-directional forwarding (BFD) sessions and statistics.
session
Syntax session src-ip ip-address dst-ip ip-address
Context clear>router>bfd
Parameters src-ip ip-address — Specifies the address of the local endpoint of this BFD session.
dst-ip ip-address — Specifies the address of the remote endpoint of this BFD session.
statistics
Syntax statistics src-ip ip-address dst-ip ip-address
statistics all
Context clear>router>bfd
Parameters src-ip ip-address — Specifies the address of the local endpoint of this BFD session.
dst-ip ip-address — Specifies the address of the remote endpoint of this BFD session.
all — Clears statistics for all BFD sessions.
dhcp
Syntax dhcp
Context clear>router
Description This command enables the context to clear DHCP related information.
dhcp6
Syntax dhcp6
Context clear>router
Description This command enables the context to clear DHCP6 related information.
Context clear>router
Description This command clears entries in the forwarding table (maintained by the IOMs).
If the slot number is not specified, the command forces the route table to be recalculated.
grt-lookup
Syntax grt-lookup
Context clear>router
icmp-redirect-route
Syntax icmp-redirect-route {all | ip-address}
Context clear>router
Description This command deletes routes created as a result of ICMP redirects received on the management
interface.
icmp6
Syntax icmp6 all
icmp6 global
icmp6 interface interface-name
Context clear>router
interface
Syntax interface [ip-int-name | ip-addr] [icmp] [urpf-stats] [statistics]
Context clear>router
l2tp
Syntax l2pt
Context clear>router
group
Syntax group tunnel-group-name
Context clear>router>l2tp
Description This command clears L2PT data.
Parameters tunnel-group-name — Specifies a Layer Two Tunneling Protocol Tunnel Group name.
tunnel
Syntax tunnel tunnel-id
Context clear>router>l2tp
statistics
Syntax statistics
Context clear>router>l2tp
clear>router>l2tp>group
clear>router>l2tp> tunnel
statistics
Syntax statistics [ip-address | ip-int-name]
Context clear>router>dhcp
clear>router>dhcp6
Description This command clear statistics for DHCP and DHCP6and DHCP6 relay and snooping statistics.
If no IP address or interface name is specified, then statistics are cleared for all configured interfaces.
If an IP address or interface name is specified, then only data regarding the specified interface is
cleared.
neighbor
Syntax neighbor {all | ip-address}
neighbor [interface ip-int-name | ip-address]
Context clear>router
router-advertisement
Syntax router-advertisement all
router-advertisement [interface interface-name]
Context clear>router
Parameters all — Clears all router advertisement counters for all interfaces.
interface interface-name — Clear router advertisement counters for the specified interface.
destination
Syntax destination trace-destination
Context debug>trace
enable
Syntax [no] enable
Context debug>trace
trace-point
Syntax [no] trace-point [module module-name] [type event-type] [class event-class] [task task-
name] [function function-name]
Context debug>trace
router
Syntax router router-instance
Context debug
Default Base
ip
Syntax ip
Context debug>router
arp
Syntax arp
Context debug>router>ip
icmp
Syntax [no] icmp
Context debug>router>ip
icmp6
Syntax icmp6 [ip-int-name]
no icmp6
Context debug>router>ip
Description This command enables ICMP6 debugging.
interface
Syntax [no] interface [ip-int-name | ip-address | ipv6-address | ipv6-address]
Context debug>router>ip
Description This command displays the router IP interface table sorted by interface index.
packet
Syntax packet [ip-int-name | ip-address] [headers] [protocol-id]
no packet [ip-int-name | ip-address]
Context debug>router>ip
Parameters ip-int-name — Only displays the interface information associated with the specified IP interface name.
Values 32 characters maximum
ip-address — Only displays the interface information associated with the specified IP address.
headers — Only displays information associated with the packet header.
protocol-id — Specifies the decimal value representing the IP protocol to debug. Well known protocol
numbers include ICMP(1), TCP(6), UDP(17). The no form the command removes the protocol
from the criteria.
Values 0 — 255 (values can be expressed in decimal, hexidecimal, or binary)
route-table
Syntax route-table [ip-prefix/prefix-length]
route-table ip-prefix/prefix-length longer
no route-table
Context debug>router>ip
Parameters ip-prefix — The IP prefix for prefix list entry in dotted decimal notation.
Values ipv4-prefix a.b.c.d (host bits must be 0)
ipv4-prefix-length 0 — 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 — FFFF]H
d: [0 — 255]D
ipv6-prefix-length 0 — 128
longer — Specifies the prefix list entry matches any route that matches the specified ip-prefix and pre-
fix mask length values greater than the specified mask.
tunnel-table
Syntax tunnel-table [ip-address] [ldp | rsvp [tunnel-id tunnel-id]| sdp [sdp-id sdp-id]]
Context debug>router>ip
mtrace
Syntax [no] mtrace
Context debug>router
tms
Syntax [no] tms [interface <tms-interface>] api [detail] <tms-interface>
Context debug>router
misc
Syntax [no] misc
Context debug>router>mtrace
packet
Syntax [no] packet [query | request | response]
Context debug>router>mtrace