Show commands

aggregate

Syntax

aggregate [family] [active]

Context

show>router

Platforms

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

Description

This command displays aggregate routes.

Parameters

active

Specifies that inactive aggregates are filtered out.

family

Specifies the router IP interface family to display.

arp

Syntax

arp [ip-int-name | ip-address/mask | mac ieee-mac-address | summary] [local | dynamic | static]

Context

show>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays the router ARP table sorted by IP address. If no command line options are specified, all ARP entries are displayed.

Parameters

ip-address/mask

Displays only ARP entries associated with the specified IP address and mask.

ip-int-name

Displays only ARP entries associated with the specified IP interface name.

mac ieee-mac-addr

Displays only ARP entries associated with the specified MAC address.

summary

Displays an abbreviated list of ARP entries.

[local | dynamic | static]

Displays only ARP information associated with the keyword.

Output

The following output is an example of router ARP table information, and Table: Output fields: ARP describes the output fields.

Sample output
*B:7710-Red-RR# show router arp
===============================================================================
ARP Table (Router: Base)
===============================================================================
IP Address      MAC Address       Expiry    Type   Interface
-------------------------------------------------------------------------------
10.20.1.24      00:16:4d:23:91:b8 00h00m00s Oth    system
10.10.4.11      00:03:fa:00:d0:c9 00h57m03s Dyn[I] to-core-sr1
10.10.4.24      00:03:fa:41:8d:20 00h00m00s Oth[I] to-core-sr1
-------------------------------------------------------------------------------
No. of ARP Entries: 3
===============================================================================
Table: Output fields: ARP

Label

Description

IP Address

Displays the IP address of the ARP entry

MAC Address

Displays the MAC address of the ARP entry

Expiry

Displays 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

Int

Specifies that the ARP entry is an internal ARP entry

[I}

Specifies that the ARP entry is in use

Interface

Displays the IP interface name associated with the ARP entry

No. of ARP Entries

Displays the number of ARP entries displayed in the list

neighbor

Syntax

neighbor [ip-int-name | ip-address | mac ieee-mac-address | summary] [dynamic | static | managed]

Context

show>router

Platforms

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

Description

This command displays information about the IPv6 neighbor cache.

Parameters

ip-int-name

Specifies the IP interface name.

ip-address

Specifies the address of the IPv6 interface address.

mac ieee-mac-address

Specify the MAC address.

summary

Displays summary neighbor information.

dynamic

Specifies that the IPv6 neighbor entry is a dynamic neighbor entry.

static

Specifies that the IPv6 neighbor entry is an active static neighbor entry.

managed

Specifies that the IPv6 neighbor entry is a managed neighbor entry.

Output

The following output is an example of neighbor information, and Table: Output fields: neighbor describes the output fields.

Sample output
*A:Dut-A>config>router# show router neighbor          

===============================================================================
Neighbor Table (Router: Base)
===============================================================================
IPv6 Address                                   Interface                  
   MAC Address                State         Expiry          Type         RTR
-------------------------------------------------------------------------------
2001:db8::5                                A_to_B2_17
   00:00:1b:00:00:01          REACHABLE     -               Static       No
2001:db8::2                                A_to_B2_23
   e4:81:84:24:1d:6c          STALE         01h12m35s       Dynamic      Yes
-------------------------------------------------------------------------------
No. of Neighbor Entries: 2
===============================================================================
*A:Dut-A>config>router# show router neighbor dynamic 

===============================================================================
Neighbor Table (Router: Base)
===============================================================================
IPv6 Address                                   Interface                  
   MAC Address                State         Expiry          Type         RTR
-------------------------------------------------------------------------------
2001:db8::2                                A_to_B2_23
   e4:81:84:24:1d:6c          STALE         01h12m27s       Dynamic      Yes
-------------------------------------------------------------------------------
No. of Neighbor Entries: 1
===============================================================================
*A:Dut-A>config>router# 
*A:Dut-A>config>router# show router neighbor static  

===============================================================================
Neighbor Table (Router: Base)
===============================================================================
IPv6 Address                                   Interface                  
   MAC Address                State         Expiry          Type         RTR
-------------------------------------------------------------------------------
2001:db8::5                                A_to_B2_17
   00:00:1b:00:00:01          REACHABLE     -               Static       No
-------------------------------------------------------------------------------
No. of Neighbor Entries: 1
===============================================================================
*A:Dut-A>config>router# show router neighbor ma     
mac      managed
*A:Dut-A>config>router# show router neighbor managed 

===============================================================================
Neighbor Table (Router: Base)
===============================================================================
IPv6 Address                                   Interface                  
   MAC Address                State         Expiry          Type         RTR
Table: Output fields: neighbor

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

Rtr

Specifies whether a neighbor is a router

Dynamic

The Ipv6 neighbor entry is a dynamic neighbor entry

Static

The Ipv6 neighbor entry is an active static neighbor entry

Managed

The Ipv6 neighbor entry is a managed neighbor entry

Mtu

Displays the MTU size

dhcp

Syntax

dhcp

Context

show>router

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command displays DHCP information for the specified service.

local-dhcp-server

Syntax

local-dhcp-server server-name

Context

show>router>dhcp

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command displays local DHCP or DHCP 6server information.

Parameters

server-name

Specifies information about the local DHCP server.

declined-addresses

Syntax

declined-addresses ip-address[/mask] [detail]

declined-addresses pool pool-name

Context

show>router>dhcp>server

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command displays information about declined addresses.

Parameters

pool pool-name

Specifies a DHCP pool name on the router.

ip-address

Specifies the IP address of the DNS server. This address must be unique within the subnet and specified in dotted-decimal notation.

Values

a.b.c.d

mask

Specifies the subnet mask in Classless Inter-Domain Routing (CIDR) notation, expressed as a decimal integer.

Values

0 to 32

detail

Displays detailed information.

Output

The following output is an example of declined addresses information, and Table: Output fields: declined addresses describes the output fields.

Sample output
*A:ALA-48>show>router>dhcp>server# declined-addresses pool test
===============================================================================
Declined addresses for server test Base
===============================================================================
 Pool                              Subnet              IP Address
PPPoe User Name/                  Time                MAC Address       Type
Option 82 Circuit ID
-------------------------------------------------------------------------------
No Matching Entries
===============================================================================
*A:ALA-48>show>router>dhcp>server#
Table: Output fields: declined addresses

Label

Description

Pool

Displays the name of the DHCP address pool

PPoe User Name/Option 82 Circuit ID

Displays the PPoE username or Option 82 circuit ID

Subnet

Displays the subnet of the DHCP address pool

Time

Displays the time that the address was declined

IP Address

Displays the declined IP address

MAC Address

Displays the declined MAC address

Type

Displays the type of pool

free-addresses

Syntax

free-addresses ip-address[/mask]

free-addresses summary [subnet ip-address[/mask]

free-addresses pool pool-name

Context

show>router>dhcp>local-dhcp-server

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command displays the free addresses in a subnet.

Parameters

pool pool-name

Specifies a DHCP pool name on the router.

subnet subnet

Specifies a subnet of IP addresses that are served from the pool.

summary

Displays summary output of the free addresses.

Output

The following output is an example of free addresses information, and Table: Output fields: free addresses describes the output fields.

Sample output
*A:ALA-48>show>router>dhcp>local-dhcp-server# free-addresses pool test subnet 
1.0.0.0/24
===============================================================================
Free addresses in subnet 1.0.0.0/24
===============================================================================
IP Address 
-------------------------------------------------------------------------------
No. of free addresses: 0
===============================================================================
*A:ALA-48>show>router>dhcp>local-dhcp-server#
Table: Output fields: free addresses

Label

Description

IP Address

The free IP address

No. of free addresses

Displays the number of free IP addresses

leases

Syntax

leases [detail]

leases ip-address[/mask] address-from-user-db [detail]

leases ip-address[/mask] dhcp-host dhcp-host-name [detail]

leases ip-address[/mask] [detail]

Context

show>router>dhcp>local-dhcp-server

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command displays the DHCP leases.

Parameters

ip-address

Specifies the base IP address of the subnet. This address must be unique within the subnet and specified in dotted-decimal notation.

Values

a.b.c.d

mask

Specifies the subnet mask, in dotted-decimal notation.

Values

0 to 32

address-from-user-db [detail]

Displays only leases that have ip-addresses from the local-user-db.

dhcp-host dhcp-host-name [detail]

Displays all leases that match a certain DHCP host from the local-user-db.

detail

Displays detailed information of all leases that fall into the indicated subnet.

The command with no parameters will show all leases from the local-user-db.

Output

The following output is an example of DHCP lease information, and Table: Output fields: lease describes the output fields.

Sample output
*A:ALA-48>show>router>dhcp>local-dhcp-server# leases ip-address 10.0.0.4
===============================================================================
Leases for DHCP server test router Base
===============================================================================
IP Address      Lease State       Mac Address       Remaining Clnt  
  PPPoE user name/Opt82 Circuit Id                  LifeTime  Type  
-------------------------------------------------------------------------------
No leases found
*A:ALA-48>show>router>dhcp>local-dhcp-server#

Table: Output fields: lease

Label

Description

IP Address

The leased IP address

PPoE user name/Opt82 Circuit Id

The PPoE username or Option 82 circuit ID

Lease State

The state of the lease. The state can be:

  • advertised

  • remove-pending

  • held

  • stable

Mac Address

The MAC address

Remaining LifeTime

The remaining time left in the lease

Clnt Type

The type of client

server-stats

Syntax

server-stats

Context

show>router>dhcp>server

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command displays DHCP or DHCP6 server statistics.

Output

The following output is an example of server stats information, and Table: Output fields: server statistics describes the output fields.

Sample output
*A:SUB-Dut-A# show router dhcp local-dhcp-server dhcpS1 server-stats 
==============================================================================
Statistics for DHCP Server dhcpS1 router Base
==============================================================================
Rx Discover Packets           : 0                                             
Rx Request Packets            : 0                                             
Rx Release Packets            : 0                                             
Rx Decline Packets            : 0                                             
Rx Inform Packets             : 0                                             
 
Tx Offer Packets              : 0                                             
Tx Ack Packets                : 0                                             
Tx Nak Packets                : 0                                             
Tx Forcerenew Packets         : 0                                             
 
Client Ignored Offers         : 0                                             
Leases Timed Out              : 0                                             
 
Dropped Bad Packet            : 0                                             
Dropped Invalid Type          : 0                                             
Dropped No User Database      : 0                                             
Dropped Unknown Host          : 0                                             
Dropped User Not Allowed      : 0                                             
Dropped Lease Not Ready       : 0                                             
Dropped Lease Not Found       : 0                                             
Dropped Not Serving Pool      : 0                                             
Dropped Invalid User          : 0                                             
Dropped Overload              : 0                                             
Dropped Persistence Overload  : 0                                             
Dropped Generic Error         : 0                                             
Dropped Destined To Other     : 0                                             
Dropped Address Unavailable   : 0                                             
Dropped Max Leases Reached    : 0                                             
Dropped Server Shutdown       : 0                                             
Dropped No Subnet For Fixed IP: 0                                             

==============================================================================
*A:SUB-Dut-A#
Table: Output fields: server statistics

Label

Description

Rx Discover Packets

The number of DHCPDISCOVER (option 53 with value 1) packets received by the DHCP server

Rx Request Packets

The number of DHCPREQUEST (option 53 with value 3) packets received by the DHCP server

Rx Release Packets

The number of DHCPRELEASE (option 53 with value 7) packets received by the DHCP server

Rx Decline Packets

The number of DHCPDECLINE (option 53 with value 4) packets received by the DHCP server

Rx Inform Packets

The number of DHCPINFORM (option 53 with value 8) packets received by the DHCP server

Tx Offer Packets

The number of DHCPOFFER (option 53 with value 2) packets sent by the DHCP server

Tx Ack Packets

The number of DHCPACK (option 53 with value 5) packets sent by the DHCP server

Tx Nak Packets

The number of DHCPNAK (option 53 with value 6) packets sent by the DHCP server

Tx Forcerenew Packets

The number of DHCPFORCERENEW (option 53 with value 9) packets sent by the DHCP server

Client Ignored Offers

The number of DHCPOFFER (option 52 with value 2) packets sent by the DHCP server that were ignored by the clients

Leases Timed Out

The number of DHCP leases that timed out without renewal

Dropped Bad Packet

The number of DHCP packets received that were corrupt

Dropped Invalid Type

The number of DHCP packets received that had an invalid message type (option 53)

Dropped No User Database

The number of DHCP packets dropped because the user-db value of the server was not equal to the default value and a local user database with that name could not be found

Dropped Unknown Host

The number of DHCP packets dropped from hosts that were not found in the user database when use-gi-address was disabled

Dropped User Not Allowed

The number of DHCP packets dropped from hosts, which have no specified address or pool, that were found in the user database while use-gi-address was disabled

Dropped Lease Not Ready

The number of DHCP packets dropped by the server before the lease database was ready

Dropped Lease Not Found

The number of DHCP packets dropped by the server because no valid lease was found

Dropped Not Serving Pool

The number of DHCP packets dropped by the server because there were no free addresses in the pool

Dropped Invalid User

The number of DHCP packets dropped by the server because the MAC address of the sender or the Option 82 did not match the host lease state

Dropped Overload

The number of DHCP packets dropped by the server because they were received in excess of what the server can process

Dropped Persistence Overload

The number of DHCP packets dropped by the server because they were received in excess of what the DHCP persistence system can process. If this occurs, only releases and declines are processed.

Dropped Generic Error

The number of DHCP packets dropped by the server because of a generic error

Dropped Destined to Other

The number of DHCP requests dropped by the server because the broadcast request was not addressed to this server

Dropped Address Unavailable

The number of DHCP requests dropped by the server because the requested address is not available

Dropped Max Leases Reached

The number of DHCP packets dropped by the server because the maximum number of leases was reached

Dropped Server Shutdown

The number of DHCP packets dropped by the server during server shutdown

Dropped No Subnet For Fixed IP

The number of DHCP packets dropped by the server for user-db hosts with a fixed address because the subnet to which the address belongs is not configured

Dropped Duplicate From Diff GI

The number of DHCP requests dropped by the server because they were received from a different Gateway IP address within an interval of 10 s after the previous DHCP request

subnet-ext-stats

Syntax

subnet-ext-stats ip-address[/mask]

subnet-ext-stats pool pool-name

Context

show>router>dhcp>server

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command displays extended statistics per DHCPv4 subnet in local DHCPv4 server.

The following statistics are included in the output:

  • the number of stable leases in the subnet

  • the number of provisioned address in the subnet

  • the number of used address in the subnet

  • the number of free address in the subnet

  • the percentage of used address

  • the percentage of free address

For each statistic (except for provisioned addresses), there is current value and peak value, peak value is the highest value since subnet creation or last reset via the clear router rt-id dhcp local-dhcp-server svr-name subnet-ext-stats command.

When parameter pool is used, the statistics of each subnet in the pool will be displayed.

Parameters

ip-address[/mask]

Specifies the subnet.

pool-name

Specifies the name of local DHCPv4 server pool.

Output

The following output is an example of subnet extended statistics information, and Table: Output fields: subnet extended statistics describes the output fields.

Sample output
show router 500 dhcp local-dhcp-server "d4" subnet-ext-stats 10.10.10.0/24 
===============================================================================
Extended statistics for subnet 10.10.10.0/24
===============================================================================
                           Current         Peak            TimeStamp
-------------------------------------------------------------------------------
Local:
  Stable Leases            1               1               01/07/2013 19:38:36
  Provisioned Addresses    101                             
  Used Addresses           1               1               01/07/2013 19:38:36
  Free Addresses           100             100             01/07/2013 19:38:36
  Used Pct                 1               1               01/07/2013 19:38:36
  Free Pct                 99              99              01/07/2013 19:38:36
Last Reset Time                                            01/07/2013 19:07:11
-------------------------------------------------------------------------------
Number of entries          1
===============================================================================
Table: Output fields: subnet extended statistics

Label

Description

Current

The current value of the statistic

Peak

The highest value reached by the statistic since subnet creation or the last subnet statistics clearing operation

TimeStamp

The date and time of the current statistics capture

Offered Leases

The number of leases offered from the subnet

Stable Leases

The number of stable leases in the subnet

Provisioned Addresses

The number of provisioned addresses in the subnet

Used Addresses

The number of used addresses in the subnet

Free Addresses

The number of free addresses in the subnet

Used Pct

The percentage of used addresses in the subnet

Free Pct

The percentage of free addresses in the subnet

Last Reset Time

The date and time of the last subnet statistics clearing operation

Number of entries

The total number of subnet entries

subnet-stats

Syntax

subnet-stats ip-address[/mask]

subnet-stats pool pool-name

Context

show>router>dhcp>server

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command displays subnet statistics.

Output

The following output is an example of subnet-stats information, and Table: Output fields: subnet statistics describes the output fields.

Sample output
*A:SUB-Dut-A# show router dhcp local-dhcp-server dhcpS2 subnet-stats pool POOL2 
===============================================================================
Statistics for pool POOL2
===============================================================================
Subnet             Free         Offered      Stable                            
                     FRPending    RemPending   Declined                        
-------------------------------------------------------------------------------
10.0.0.0/8          16384        0            0                                 
                     0            0            0                               
-------------------------------------------------------------------------------
No. of entries: 1
===============================================================================
*A:SUB-Dut-A#
Table: Output fields: subnet statistics

Label

Description

Subnet

The subnet of the pool

Free

The number of free leases in the subnet

FRPending

The number of leases in the subnet that are pending a force renew

Offered

The number of offered leases in the subnet

RemPending

The number of leases in the subnet that are pending removal

Stable

The number of stable leases in the subnet

Declined

The number of declined leases in the subnet

summary

Syntax

summary

Context

show>router>dhcp>server

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command displays DHCP server summary information.

Output

The following output is an example of summary information, and Table: Output fields: DHCP server summary describes the output fields.

Sample output
*A:SUB-Dut-A# show router dhcp local-dhcp-server dhcpS2 summary 
===============================================================================
DHCP server dhcpS2  router Base
===============================================================================
dhcpS2-POOL2
Admin State            : inService
Persistency State      : ok
User Data Base         : N/A
Use gateway IP address : disabled
Send force-renewals    : disabled
-------------------------------------------------------------------------------
Pool name : POOL2
-------------------------------------------------------------------------------
Subnet             Free       Stable     Declined   Offered    Remove-pending
-------------------------------------------------------------------------------
10.0.0.0/8          16384      0          0          0          0             

Totals for pool    16384      0          0          0          0             
-------------------------------------------------------------------------------
Totals for server  16384      0          0          0          0             
-------------------------------------------------------------------------------
Associations                     Admin                           
-------------------------------------------------------------------------------
No associations found
===============================================================================
*A:SUB-Dut-A# 


*A:vsim-2# show router 500 dhcp local-dhcp-server "d4" summary 
===============================================================================
DHCP server d4  router 500
===============================================================================
Admin State            : inService
Operational State      : inService
Persistency State      : shutdown
User Data Base         : N/A
Use gateway IP address : enabled (scope subnet)
Use pool from client   : disabled
Send force-renewals    : disabled
Creation Origin        : manual
Lease Hold Time        : 0h0m0s
Lease Hold Time For    : N/A
User-ident             : mac-circuit-id
Failover Admin State   : outOfService
Failover Oper State    : shutdown
Failover Persist Key   : N/A
Administrative MCLT    : 0h10m0s
Operational MCLT       : 0h10m0s
Startup wait time      : 0h2m0s
Partner down delay     : 23h59m59s
  Ignore MCLT          : disabled
-------------------------------------------------------------------------------
Pool name : v4-1
-------------------------------------------------------------------------------
Failover Admin State   : inService
Failover Oper State    : normal
Failover Persist Key   : N/A
Administrative MCLT    : 0h10m0s
Operational MCLT       : 0h10m0s
Startup wait time      : 0h2m0s
Partner down delay     : 23h59m59s
  Ignore MCLT          : disabled
-------------------------------------------------------------------------------
Subnet                 Free     %    Stable   Declined Offered  Rem-pend Drain
-------------------------------------------------------------------------------
10.20.20.0/24      (L) 10       90%  1        0        0        0        N
                   (R) N/A           0        N/A      N/A      N/A      N
Totals for pool        10       90%  1        0        0        0        
-------------------------------------------------------------------------------
Totals for server      10       90%  1        0        0        0        
-------------------------------------------------------------------------------
Interface associations
Interface                        Admin
-------------------------------------------------------------------------------
l1                               Up
-------------------------------------------------------------------------------
Local Address Assignment associations
Group interface                  Admin
-------------------------------------------------------------------------------
===============================================================================
*A:vsim-2# 
Table: Output fields: DHCP server summary

Label

Description

Admin State

The administrative state of the DHCP server

Persistency State

The persistence state of the DHCP server

User Data Base

Indicates whether the DHCP server uses a user database

Use gateway IP address

Indicates whether the DHCP server uses GIADDR

Send force-renewals

Indicates whether the DHCP server sends FORCERENEW messages

Operational State

The operational state of the DHCPv6 server

Persistency State

The persistence state of the DHCPv6 server

Use Link Address

Indicates whether use-link-address is enabled, and, if enabled, the scope

Use pool from client

Indicates whether use-pool-from-client is enabled

Creation Origin

The creation method of the DHCPv6 server

Lease Hold Time

The lease retention time configured using the lease-hold-time command

Lease Hold Time For

The lease being held by the DHCPv6 server

User-ident

The user identification method configured using the user-ident command

Interface-id-mapping

Indicates whether interface ID mapping is enabled

Ignore-rapid-commit

Indicates whether the DHCPv6 server is configured to ignore rapid committing

Allow-lease-query

Indicates whether the DHCPv6 server allows lease query messages

Pool

Subnet

The subnet of the pool

Free

The number of free IP addresses in the subnet

Stable

The number of stable IP addresses in the subnet

Declined

The number of declined IP addresses in the subnet

Offered

The number of offered IP addresses in the subnet

Remove-pending

The number of IP addresses pending removal in the subnet

Associations

Associations

The name of the associated interface

Admin

The administrative state of the interface

servers

Syntax

servers

servers all

Context

show>router>dhcp

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command lists the local DHCP servers.

Output

The following output is an example of DHCP server information, and Table: Output fields: DHCP servers describes the output fields.

Sample output
*A:ALA-49>show>router>dhcp# servers
=================================================================
Overview of DHCP Servers
=================================================================
Active Leases:      0                                            
Maximum Leases:     159744                                       

Router              Server                           Admin State 
-----------------------------------------------------------------
Router: Base        base_router_dhcp_server          outOfService
Service: 3          s1                               inService   
=================================================================
*A:ALA-49>show>router>dhcp#
Table: Output fields: DHCP servers

Label

Description

Active Leases

The number of active leases

Maximum Leases

The maximum number of leases available

Router

The name of the router

Server

The name of the DHCP or DHCPv6 server

Admin State

The administrative state of the DHCP or DHCPv6 server

statistics

Syntax

statistics [sap sap-id] | [sdp [sdp-id[:vc-id]] | interface ip-int-name]]

Context

show>router>dhcp

Platforms

Supported on all 7210 SAS platforms as described in this document

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.

If an IP address or interface name is specified, then only data regarding the specified interface is displayed.

Parameters

sap-id

Specifies the physical port identifier portion of the SAP definition.

sdp-id

Specifies the SDP ID to be shown.

Values

1 to 17407

vc-id

Specifies the virtual circuit ID on the ID to be shown.

Values

1 to 4294967295

ip-int-name | ip-address

Displays statistics for the specified IP interface.

Output

The following output is an example of DHCP statistics information, and Table: Output fields: DHCP statistics describes the output fields.

Sample output
A:ALA-A# show router 1000 dhcp statistics 
===================================================================
DHCP Global Statistics (Service: 1000)
===================================================================
Rx Packets                           : 16000                       
Tx Packets                           : 15041                       
Rx Malformed Packets                 : 0                           
Rx Untrusted Packets                 : 0                           
Client Packets Discarded             : 423                         
Client Packets Relayed               : 0                           
Client Packets Snooped               : 0                           
Client Packets Proxied (RADIUS)      : 0                           
Client Packets Proxied (Lease-Split) : 0                           
Server Packets Discarded             : 0                           
Server Packets Relayed               : 0                           
Server Packets Snooped               : 0                           
DHCP RELEASEs Spoofed                : 0                           
DHCP FORCERENEWs Spoofed             : 0                           
===================================================================
A:ALA-A# 
Table: Output fields: DHCP statistics

Label

Description

Received Packets

The number of packets received from the DHCP clients

Transmitted Packets

The number of packets transmitted to the DHCP clients

Received Malformed Packets

The number of malformed packets received from the DHCP clients

Received Untrusted Packets

The number of untrusted packets received from the DHCP clients

Client Packets Discarded

The number of packets received from the DHCP clients that were discarded

Client Packets Relayed

The number of packets received from the DHCP clients that were forwarded

Client Packets Snooped

The number of packets received from the DHCP clients that were snooped

Server Packets Discarded

The number of packets received from the DHCP server that were discarded

Server Packets Relayed

The number of packets received from the DHCP server that were forwarded

Server Packets Snooped

The number of packets received from the DHCP server that were snooped

summary

Syntax

summary

Context

show>router>dhcp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays the status of the DHCP relay and DHCP snooping functions on each interface.

Output

The following output is an example of DHCP summary information, and Table: Output fields: DHCP summary describes the output fields.

Sample output
A:ALA-48>show>router>dhcp# summary
===================================================================
Interface Name                   Arp      Used/     Info    Admin
                                 Populate Provided  Option  State
-------------------------------------------------------------------
ccaiesif                         No       0/0       Keep    Down
ccanet6                          No       0/0       Keep    Down
iesBundle                        No       0/0       Keep    Up
spokeSDP-test                    No       0/0       Keep    Down
test                             No       0/0       Keep    Up
test1                            No       0/0       Keep    Up
test2                            No       0/0       Keep    Up
testA                            No       0/0       Keep    Up
testB                            No       0/0       Keep    Up
testIES                          No       0/0       Keep    Up
to-web                           No       0/0       Keep    Up
-------------------------------------------------------------------
Interfaces: 11
===================================================================
A:ALA-48>show>router>dhcp#


*A:vsim-2# show router 500 dhcp summary 
===============================================================================
DHCP Summary (Service: 500)
===============================================================================
Interface Name                   Arp      Leases Per Interface/ Info    Admin
  SapId/Sdp                      Populate Per Sap Limit         Option  State
-------------------------------------------------------------------------------
g1                               No       1/1                   Keep    Up
  sap:1/1/7                               1/1                           
l1                               No       0/0                   Keep    Down
-------------------------------------------------------------------------------
Interfaces: 2
===============================================================================
*A:vsim-2# 
Table: Output fields: DHCP summary

Label

Description

Interface Name

Name of the router interface

ARP Populate

Indicates whether ARP populate is enabled

Used/Provided

Indicates the number of used and provided DHCP leases

Info Option

Indicates whether Option 82 processing is enabled on the interface

Admin State

Indicates the administrative state

statistics

Syntax

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

Context

show>router>dhcp

Platforms

7210 SAS-K 2F6C4Tand 7210 SAS-K 3SFP+ 8C

Description

This command isplays DHCP statistics information.

Parameters

ip-int-name | ip-address

Displays statistics for the specified IP interface.

Output

The following output is an example of DHCP statistics information, and Table: Output fields: DHCP statistics describes the output fields.

Sample output
*A:7210SAS>show>router>dhcp# statistics

====================================================================
DHCP Global Statistics, service 1
====================================================================
Rx Packets                           : 416554
Tx Packets                           : 206405
Rx Malformed Packets                 : 0
Rx Untrusted Packets                 : 0
Client Packets Discarded             : 0
Client Packets Relayed               : 221099
Client Packets Snooped               : 0
Client Packets Proxied (RADIUS)      : 0
Client Packets Proxied (Lease-Split) : 0
Server Packets Discarded             : 0
Server Packets Relayed               : 195455
Server Packets Snooped               : 0
DHCP RELEASEs Spoofed                : 0
DHCP FORCERENEWs Spoofed             : 0
====================================================================
*A:7210SAS>show>service>id>dhcp#
Table: Output fields: DHCP statistics

Label

Description

Received Packets

The number of packets received from the DHCP clients. Includes DHCP packets received from both DHCP client and DHCP server.

Transmitted Packets

The number of packets transmitted to the DHCP clients. Includes DHCP packets transmitted from both DHCP client and DHCP server.

Received Malformed Packets

The number of corrupted/invalid packets received from the DHCP clients. Includes DHCP packets received from both DHCP client and DHCP server.

Received Untrusted Packets

The number of untrusted packets received from the DHCP clients. In this case, a frame is dropped due to the client sending a DHCP packet with Option 82 filled in before ‟trust” is set under the DHCP interface command.

Client Packets Discarded

The number of packets received from the DHCP clients that were discarded

Client Packets Relayed

The number of packets received from the DHCP clients that were forwarded

Client Packets Snooped

The number of packets received from the DHCP clients that were snooped

Server Packets Discarded

The number of packets received from the DHCP server that were discarded

Server Packets Relayed

The number of packets received from the DHCP server that were forwarded

Server Packets Snooped

The number of packets received from the DHCP server that were snooped

ecmp

Syntax

ecmp

Context

show>router

Platforms

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

Description

This command displays the ECMP settings for the router.

Note:

Weighted ECMP appears in the show output but is not supported on 7210 SAS platforms.

Output

The following output is an example of ECMP settings information, and Table: Output fields: router ECMP describes the output fields.

Sample output
*A:dut-d>show>router# ecmp

===============================================================================
Router ECMP
===============================================================================
Instance       Router Name                      ECMP    Max-ECMP-   Weight ECMP
                                                        Rtes
-------------------------------------------------------------------------------
1              Base                             False   n/a         False
===============================================================================
*A:dut-d>show>router#
Table: Output fields: router ECMP

Label

Description

Instance

Displays the router instance number

Router Name

Displays the name of the router instance

ECMP

False — ECMP is disabled for the instance

True — ECMP is enabled for the instance

Max-ECMP-Rtes

Displays the maximum amount of routes to be considered for ECMP

Weight ECMP

False — Weighted ECMP is disabled

fib

Syntax

fib slot-number [family] [ip-prefix/prefix-length] [longer] [secondary]

fib slot-number [family] summary

fib slot-number [family] [nh-table-usage]

Context

show>router

Platforms

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

Description

This command displays the active FIB entries for a specific IOM.

Parameters

slot-number

Displays only the routes matching the specified chassis slot number.

Values

1

family

Displays the router IP interface table for the specified family.

Values

ipv4 — Displays only peers that have the IPv4 family enabled.

ipv6 — Displays only peers that have the IPv6 family enabled.

ip-prefix/prefix-length

Displays FIB entries matching only the specified ip-prefix and prefix-length.

Values

ipv4-prefix

a.b.c.d (host bits must be 0)

ipv4-prefix-length

0 to 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 (hexadecimal)

d - 0 to 255 (decimal)

ipv6-prefix-length

0 to 128 (7210 SAS-D, 7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C)

0 to 64 (7210 SAS-Dxp)

longer

Displays FIB entries matching the ip-prefix/prefix-length and routes with longer masks.

secondary

Displays secondary FIB information.

summary

Displays summary FIB information for the specified slot number.

nh-table-usage

Displays next-hop table usage.

Output

The following output is an example of FIB BGP PIC information, and Table: Output fields: FIB BGP PIC describes the output fields.

Sample output
Note:

The following output applies to the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C only.

*A:Dut-A# show router fib 1  10.77.77.77/32                    
===============================================================================
FIB Display
===============================================================================
Prefix [Flags]                                              Protocol
  NextHop                                                   
-------------------------------------------------------------------------------
10.77.77.77/32                                              BGP
  2.2.2.2 (Transport:LDP)
  3.3.3.3 (Transport:LDP)
-------------------------------------------------------------------------------
Total Entries : 1
-------------------------------------------------------------------------------
===============================================================================
*A:Dut-A#
Table: Output fields: FIB BGP PIC

Label

Description

Prefix[Flags]

The route destination address and mask

Protocol

The active protocol (LOCAL, STATIC, OSPF, IS-IS, AGGREGATE, BGP, RIP, or BGP-VPN)

Next Hop

The next-hop or indirect next-hop IP address for the route destination

Total Entries

The total number of next-hop entries

icmp6

Syntax

icmp6

Context

show>router

Platforms

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

Description

This command displays ICMPv6 statistics. ICMPv6 generates error messages to report errors during processing and other diagnostic functions. ICMPv6 packets can be used in the neighbor discovery protocol.

Output

The following output is an example of ICMP6 information, and Table: Output fields: ICMP6 describes the output fields.

Sample output
A:SR-3>show>router>auth# show router icmp6 
===============================================================================
Global ICMPv6 Stats
===============================================================================
Received
Total                   : 14            Errors                  : 0            
Destination Unreachable : 5             Redirects               : 5            
Time Exceeded           : 0             Pkt Too Big             : 0            
Echo Request            : 0             Echo Reply              : 0            
Router Solicits         : 0             Router Advertisements   : 4            
Neighbor Solicits       : 0             Neighbor Advertisements : 0            
-------------------------------------------------------------------------------
Sent
Total                   : 10            Errors                  : 0            
Destination Unreachable : 0             Redirects               : 0            
Time Exceeded           : 0             Pkt Too Big             : 0            
Echo Request            : 0             Echo Reply              : 0            
Router Solicits         : 0             Router Advertisements   : 0            
Neighbor Solicits       : 5             Neighbor Advertisements : 5            
===============================================================================
A:SR-3>show>router>auth# 
Table: Output fields: ICMP6

Label

Description

Total

The total number of all messages

Destination Unreachable

The number of message that did not reach the destination

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 Advertisements

The number of times the router advertised its location

Neighbor Advertisements

The number of times the neighbor router advertised its location

interface

Syntax

interface [interface-name]

Context

show>router>icmp6

Platforms

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

Description

This command displays ICMPv6 statistics for a specified interface. If the interface-name parameter is not entered, ICMPv6 statistics for all interfaces are displayed.

Parameters

interface-name

Displays entries associated with the specified IP interface name.

Output

Table: Output fields: ICMP6 interface describes the router ICMP6 interface output fields.

Table: Output fields: ICMP6 interface

Label

Description

Total

The total number of all messages

Destination Unreachable

The number of message that did not reach the destination

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 Advertisements

The number of times the router advertised its location

Neighbor Advertisements

The number of times the neighbor router advertised its location

interface

Syntax

interface [{[ip-address | ip-int-name] [detail] [family]} | [summary] | [exclude-services]

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

Context

show>router

Platforms

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

Description

This command displays the router IP interface table sorted by interface index.

Note:

The 7210 SAS-K 2F6C4T does not support IPv6 parameters and options.

Parameters

ip-address

Displays only 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)

x:x:x:x:x:x:d.d.d.d

x - 0 to FFFF (hexadecimal)

d - 0 to 255 (decimal)

ip-int-name

Only displays the interface information associated with the specified IP interface name.

detail

Displays detailed IP interface information.

family

Displays information for the specified IP interface family.

Values

ipv4 — Displays only the peers that have the IPv4 family enabled.

ipv6 — Displays only the peers that are IPv6-capable.

summary

Displays summary IP interface information.

exclude-services

Displays IP interface information, excluding IP interfaces configured for customer services. Only core network IP interfaces are displayed.

statistics

Displays the number of transmitted, received, and discarded packets and bytes at the Layer 3 level for IP interface statistics. The collection of IP interface statistics is supported on any IP interface, regardless of encapsulation. Supported IP interfaces are access (IES, VPRN, routed VPLS, and spoke SDP) and network (IPv4, IPv6, and MPLS) interfaces. Discard statistics are only displayed for IPv4 interfaces.

Output

The following outputs are examples of router IP interface information. The associated tables describe the output fields.

Sample output
A:ALU-7210# show router interface
===============================================================================
Interface Table (Router: Base)
===============================================================================
Interface-Name                   Adm         Opr         Mode    Port/SapId
   IP-Address                                                    PfxState
-------------------------------------------------------------------------------
system                           Up          Up          Network system
   10.22.24.169/32                                               n/a
-------------------------------------------------------------------------------
Interfaces : 1
===============================================================================
A:ALU-7210#


A:ALA-A# show router interface 10.6.6.2 
===============================================================================
Interface Table (Router: Base)
===============================================================================
Interface-Name             Adm         Opr         Mode    Port/SapId    
   IP-Address                                              PfxState      
-------------------------------------------------------------------------------
to-PE-E                    Up          Up           IES     1/1/3:0.*     
   10.6.6.2/24                                               n/a
-------------------------------------------------------------------------------
Interfaces : 1
===============================================================================
A:ALA-A# 
Table: Output fields: router interface

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

IP-Address

The IP address and subnet mask length of the IP interface.

n/a — Indicates no IP address has been assigned to the IP interface

Adm

Down — The IP interface is administratively disabled

Up — The IP interface is administratively enabled

Opr

Down — The IP interface is operationally disabled

Up — The IP interface is operationally disabled

Mode

Network — The IP interface is a network/core IP interface

Port

The physical network port associated with the IP interface

Sample output — detailed
A:SIM7# show router interface tosim6 detail 
===============================================================================
Interface Table (Router: Base)
===============================================================================
Interface
-------------------------------------------------------------------------------
If Name      : tosim6
Admin State  : Up                               Oper State       : Up          
Protocols    : None                                                            
IP Addr/mask : 10.0.0.7/24                      Address Type     : Primary     
IGP Inhibit  : Disabled                         Broadcast Address: Host-ones   
-------------------------------------------------------------------------------
Details
-------------------------------------------------------------------------------
If Index     : 5                                Virt. If Index   : 5           
Last Oper Chg: 01/09/2009 03:30:15              Global If Index  : 4           
SAP Id       : 1/1/2:0.*
TOS Marking  : Untrusted                        If Type          : IES         
SNTP B.Cast  : False                            IES ID           : 100         
MAC Address  : 2e:59:01:01:00:02                Arp Timeout      : 14400       
IP MTU       : 1500                             Arp Timeout      : 14400       

ICMP Details
Redirects    : Number - 100                     Time (seconds)   - 10   
Unreachables : Number - 100                     Time (seconds)   - 10   
TTL Expired  : Number - 100                     Time (seconds)   - 10   
===============================================================================
A:SIM7# 

*A:Dut-C# show router 1 mvpn
 ===============================================================================
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
  
ipmsi              : pim-asm 224.1.1.1
admin status       : Up                   three-way-hello    : N/A
hello-interval     : N/A                  hello-multiplier   : 35 * 0.1
tracking support   : Disabled             Improved Assert    : N/A
  
spmsi              : pim-ssm 225.0.0.0/32
join-tlv-packing   : N/A
data-delay-interval: 3 seconds
data-threshold     : 224.0.0.0/4 --> 1 kbps
  
===============================================================================
Table: Output fields: router interface detail

Label

Description

If Name

The IP interface name

Admin State

Down — The IP interface is administratively disabled

Up — The IP interface is administratively enabled

Oper State

Down — The IP interface is operationally disabled

Up — The IP interface is operationally enabled

IP Addr/

mask

The IP address and subnet mask length of the IP interface.

Not Assigned — Indicates no IP address has been assigned to the IP interface

If Index

The interface index of the IP router interface

Virt If Index

The virtual interface index of the IP router interface

Last Oper Change

The last change in operational status

Global If Index

The global interface index of the IP router interface

If Type

Network — The IP interface is a network/core IP interface

SNTP B.cast

Displays if the broadcast-client global parameter is configured

QoS Policy

The QoS policy ID associated with the IP interface

MAC Address

The MAC address of the interface

Arp Timeout

The ARP timeout for the interface, in seconds, which is the time an ARP entry is maintained in the ARP cache without being refreshed

route-table

Syntax

route-table [family] [ip-prefix [prefix-length] [longer | exact] | [protocol protocol name | [summary]

Context

show>router

Platforms

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

Description

Note:

7210 SAS-K 2F6C4T does not support the IPv6 parameters and options.

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

Displays information for the specified IP interface family.

Values

ipv4 — Displays only the peers that have the IPv4 family enabled.

ipv6 — Displays only the peers that are IPv6-capable.

ip-prefix/prefix-length

Displays only those entries matching the specified IP prefix and prefix length.

Values

ipv4-prefix

a.b.c.d (host bits must be 0)

ipv4-prefix-length

0 to 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 (hexadecimal)

d - 0 to 255 (decimal)

ipv6-prefix-length

0 to 128 (7210 SAS-D, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C)

0 to 64 (7210 SAS-Dxp)

longer

Displays routes matching the ip-prefix/prefix-length and routes with longer masks.

exact

Displays the exact route matching the ip-prefix/prefix-length masks.

protocol name

Displays routes learned from the specified protocol.

Values

local | static | ospf | isis | aggregate | bgp | bgp-vpn

summary

Displays a route table summary information.

Output

The following outputs are examples of route table information. The associated tables describe the output fields.

Sample output
A:ALA# show router route-table 
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix                        Type        Proto      Age          Pref
       Next Hop[Interface Name]                                    Metric     
----------------------------------------------------------------------------------
10.1.1.1/32                          Remote     Static     00h22m29s    5   
       6.6.6.1                                                             1
10.2.2.2/32                          Local      Local      00h22m52s    0   
       system                                                              0 
10.5.5.0/24                          Remote     Static     00h22m29s    5   
       6.6.6.1                                                             1
10.6.6.0/24                          Local      Local      00h22m30s    0   
       to-PE-E                                                             0
-----------------------------------------------------------------------------------
No. of Routes: 4
===============================================================================
A:ALA#

B:ALA-B# show router route-table 10.10.0.0 exact
=============================================================================== 
Route Table (Router: Base) 
=============================================================================== 
Dest Address Next Hop Type Proto Age Metric Pref 
-------------------------------------------------------------------------------
 10.10.0.0/16 Black Hole Remote Static 00h03m17s 1 5 
------------------------------------------------------------------------------- 
No. of Routes: 1 
=============================================================================== 
B:ALA-B#
Table: Output fields: 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

Remote — The route is a remote route

Protocol

The protocol through which the route was learned

Age

The route age in seconds for the route

Metric

The route metric value for the route

Pref

The route preference value for the route

Sample output — summary
A:ALA-A# show router route-table summary
===============================================================================
Route Table Summary                                                            
===============================================================================
                              Active                   Available               
-------------------------------------------------------------------------------
Static                        1                        1                       
Direct                        6                        6                       
-------------------------------------------------------------------------------
Total                         7                        7                    
===============================================================================
A:ALA-A# 
Table: Output fields: route table summary

Label

Description

Active

The number of installed active routes in the FIB

Available

The number of uninstalled routes available in the RIB

Static

The number of static routes in the FIB

Direct

The number of direct routes (local subnets, including loopback) in the routing FIB

Total

The total number of routes

Sample output — BGP PIC
Note:

The following output applies to the 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C only.

*A:Dut-A# show router route-table 10.77.77.77/32               
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags]                            Type    Proto     Age        Pref
      Next Hop[Interface Name]                                    Metric   
-------------------------------------------------------------------------------
10.77.77.77/32 [B]                            Remote  BGP       00h01m04s  170
       2.2.2.2 (tunneled)                                           0
-------------------------------------------------------------------------------
No. of Routes: 1
Flags: n = Number of times nexthop is repeated
       B = BGP backup route available
       L = LFA nexthop available
       S = Sticky ECMP requested
===============================================================================
*A:Dut-A# show router route-table 10.77.77.77/32 alternative 
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags]                            Type    Proto     Age        Pref
      Next Hop[Interface Name]                                    Metric   
      Alt-NextHop                                                Alt-      
                                                                Metric     
-------------------------------------------------------------------------------
10.77.77.77/32                                Remote  BGP       00h01m09s  170
       2.2.2.2 (tunneled)                                           0
10.77.77.77/32 (Backup)                       Remote  BGP       00h01m09s  170
       3.3.3.3 (tunneled)                                           0
-------------------------------------------------------------------------------
No. of Routes: 2
Flags: n = Number of times nexthop is repeated
       Backup = BGP backup route
       LFA = Loop-Free Alternate nexthop
       S = Sticky ECMP requested
===============================================================================
Table: Output fields: route-table BGP PIC

Label

Description

Dest Prefix

The route destination address and mask

[Flags]

n — Number of times nexthop is repeated

B — BGP backup route

L — Loop-free alternate next hop

S — Sticky ECMP requested

Next Hop

The next-hop IP address for the route destination

Type

Local — the route is a local route

Remote — the route is a remote route

Proto

The protocol through which the route was learned

Age

The route age in seconds for the route

Metric

The route metric value for the route

Pref

The route preference value for the route

No. of Routes

The number of routes displayed in the list

Alt-NextHop

The LFA next hop to use if the primary next hop is not reachable

Alt-Metric

The metric value for secondary next hops

rtr-advertisement

Syntax

rtr-advertisement [interface interface-name] [prefix ipv6-prefix[/prefix-length]]

Context

show>router

Platforms

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

Description

This command displays IPv6 router advertisement information.

If no command line arguments are specified, all IPv6 router advertisement information is displayed, sorted by prefix.

Parameters

ip-int-name

Only displays the router advertisement information associated with the specified IP interface name.

family

Displays information for the specified IP interface family.

Values

ipv6 — Displays only the peers that are IPv6-capable.

ipv6-prefix/prefix-length

Displays only those entries matching the specified IPv6 prefix and prefix length.

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 (hexadecimal)

d - 0 to 255 (decimal)

ipv6-prefix-length

0 to 128 (7210 SAS-K 2F6C4T, 7210 SAS-K 3SFP+ 8C)

0 to 64 (7210 SAS-Dxp)

Output

The following output is an example of router advertisement information, and Table: Output fields: router advertisement describes the output fields.

Sample output
A:7210SAS# show router rtr-advertisement 
=======================================================================
Router Advertisement
=======================================================================
-------------------------------------------------------------------------------
Interface: interfaceNetworkNonDefault
-------------------------------------------------------------------------------
Rtr Advertisement Tx : 8                Last Sent            : 00h01m28s       
Nbr Solicitation Tx  : 83               Last Sent            : 00h00m17s       
Nbr Advertisement Tx : 74               Last Sent            : 00h00m25s       
Rtr Advertisement Rx : 8                Rtr Solicitation Rx  : 0               
Nbr Advertisement Rx : 83               Nbr Solicitation Rx  : 74              
-------------------------------------------------------------------------------
Max Advert Interval  : 601              Min Advert Interval  : 201             
Managed Config       : TRUE             Other Config         : TRUE            
Reachable Time       : 00h00m00s400ms   Router Lifetime      : 00h30m01s       
Retransmit Time      : 00h00m00s400ms   Hop Limit            : 63              
Link MTU             : 1500                                                    
 
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            
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                                                       
-------------------------------------------------------------------------------
Interface: interfaceServiceNonDefault
-------------------------------------------------------------------------------
Rtr Advertisement Tx : 8                Last Sent            : 00h06m41s       
Nbr Solicitation Tx  : 166              Last Sent            : 00h00m04s       
Nbr Advertisement Tx : 143              Last Sent            : 00h00m05s       
Rtr Advertisement Rx : 8                Rtr Solicitation Rx  : 0               
Nbr Advertisement Rx : 166              Nbr Solicitation Rx  : 143             
-------------------------------------------------------------------------------
Max Advert Interval  : 601              Min Advert Interval  : 201             
Managed Config       : TRUE             Other Config         : TRUE            
Reachable Time       : 00h00m00s400ms   Router Lifetime      : 00h30m01s       
Retransmit Time      : 00h00m00s400ms   Hop Limit            : 63              
Link MTU             : 1500                                                    
 
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       
-------------------------------------------------------------------------------
...
A:7210SAS# 
Table: Output fields: router advertisement

Label

Description

Rtr Advertisement Tx/Last Sent

The number of router advertisements sent and time since they were sent

Nbr Solicitation Tx

The number of neighbor solicitations sent and time since they were sent

Nbr Advertisement Tx

The number of neighbor advertisements sent and time since they were sent

Rtr Advertisement Rx

The number of router advertisements received and time since they were received

Nbr Advertisement Rx

The number of neighbor advertisements received and time since they were received

Max Advert Interval

The maximum interval between sending router advertisement messages

Managed Config

True — Indicates that DHCPv6 is configured

False — Indicates that DHCPv6 is not available for address configuration

Reachable Time

The time, in milliseconds, that a node assumes a neighbor is reachable after receiving a reachability confirmation

Retransmit Time

The time, in milliseconds, between retransmitted neighbor solicitation messages

Link MTU

The MTU number the nodes use for sending packets on the link

Rtr Solicitation Rx

The number of router solicitations received and time since they were received

Nbr Solicitation Rx

The number of neighbor solicitations received and time since they were received

Min Advert Interval

The minimum interval between sending ICMPv6 neighbor discovery router advertisement messages

Other Config

True — Indicates there are other stateful configurations

False — Indicates there are no other stateful configurations

Router Lifetime

Displays the router lifetime in seconds

Hop Limit

Displays the current hop limit

static-arp

Syntax

static-arp [ip-addr | ip-int-name | mac ieee-mac-addr]

Context

show>router

Platforms

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

Description

This command displays the router static ARP table information.

If no command line arguments are specified, all static ARP table information is displayed, sorted by prefix.

Parameters

ip-addr

Displays only static ARP entries associated with the specified IP address.

ip-int-name

Displays only static ARP entries associated with the specified IP interface name.

mac ieee-mac-addr

Displays only static ARP entries associated with the specified MAC address.

Output

The following output is an example of static-arp information, and Table: Output fields: static ARP describes the output fields.

Sample output
A:ALA-A# show router static-arp
===============================================================================
ARP Table                                                                      
===============================================================================
IP Address      MAC Address       Age      Type Interface                      
-------------------------------------------------------------------------------
10.200.0.253    00:00:5a:40:00:01 00:00:00 Sta  to-ser1                        
10.200.1.1      00:00:5a:01:00:33 00:00:00 Inv  to-ser1a
-------------------------------------------------------------------------------
No. of ARP Entries: 1                                                          
===============================================================================
A:ALA-A# 


A:ALA-A# show router static-arp 12.200.1.1
===============================================================================
ARP Table                                                                      
===============================================================================
IP Address      MAC Address       Age      Type Interface                      
-------------------------------------------------------------------------------
10.200.1.1      00:00:5a:01:00:33 00:00:00 Inv  to-ser1                        
                  
===============================================================================
A:ALA-A# 


A:ALA-A# show router static-arp to-ser1
===============================================================================
ARP Table                                                                      
===============================================================================
IP Address      MAC Address       Age      Type Interface                      
-------------------------------------------------------------------------------
10.200.0.253    00:00:5a:40:00:01 00:00:00 Sta  to-ser1 
                                                                        
===============================================================================
A:ALA-A# 


A:ALA-A# show router static-arp mac 00:00:5a:40:00:01
===============================================================================
ARP Table                                                                      
===============================================================================
IP Address      MAC Address       Age      Type Interface                      
-------------------------------------------------------------------------------
10.200.0.253    00:00:5a:40:00:01 00:00:00 Sta  to-ser1 
                                                                              
===============================================================================
A:ALA-A# 
Table: Output fields: static ARP

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)

Sta — The ARP entry is an active static ARP entry

Interface

The IP interface name associated with the ARP entry

No. of ARP Entries

The number of ARP entries displayed in the list

static-route

Syntax

static-route [[ip-prefix /mask] | [preference preference] | [next-hop ip-address| tag tag]

Context

show>router

Platforms

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

Description

Note:

7210 SAS-K 2F6C4T does not support the IPv6 parameters and options.

This command displays the static entries in the routing table.

If no command line arguments are specified, all static routes information is displayed, sorted by prefix.

Parameters

ip-prefix/prefix-length

Displays only those entries matching the specified IP prefix and prefix length.

Values

ipv4-prefix —

a.b.c.d (host bits must be 0)

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 (hexadecimal)

d - 0 to 255 (decimal)

ipv4-prefix-length —

0 to 32

ipv6-prefix-length —

0 to 128 (7210 SAS-D, 7210 SAS-K 2F1C2T, 7210 SAS-K 3SFP+ 8C)

0 to 64 (7210 SAS-Dxp)

preference

Displays only static routes with the specified route preference.

Values

0 to 65535

ip-address

Displays only 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 to FFFF (hexadecimal)

d - 0 to 255 (decimal)

tag

Displays the tag used to add a 32-bit integer tag to the static route. The tag is used in route policies to control distribution of the route into other protocols.

Values

1 to 4294967295

Output

The following output is an example of static route information, and Table: Output fields: static route describes the output fields.

Sample output
A:ALA-A# show router static-route
=============================================================================== 
Route Table                                                                     
=============================================================================== 
IP Addr/mask       Pref Metric Type Nexthop              Interface       Active 
------------------------------------------------------------------------------- 
192.168.250.0/24   5    1      ID   10.200.10.1          to-ser1              Y 
192.168.252.0/24   5    1      NH   10.10.0.254          n/a                  N 
192.168.253.0/24   5    1      NH   to-ser1              n/a                  N 
192.168.253.0/24   5    1      NH   10.10.0.254          n/a                  N 
192.168.254.0/24   4    1      BH   black-hole           n/a                  Y 
=============================================================================== 
A:ALA-A# 


A:ALA-A# show router static-route 192.168.250.0/24
=============================================================================== 
Route Table                                                                     
=============================================================================== 
IP Addr/mask       Pref Metric Type Nexthop              Interface       Active 
------------------------------------------------------------------------------- 
192.168.250.0/24   5    1      ID   10.200.10.1          to-ser1              Y 
=============================================================================== 
A:ALA-A# 


A:ALA-A# show router static-route preference 4
=============================================================================== 
Route Table                                                                     
=============================================================================== 
IP Addr/mask       Pref Metric Type Nexthop              Interface       Active 
------------------------------------------------------------------------------- 
192.168.254.0/24   4    1      BH   black-hole           n/a                  Y 
=============================================================================== 
A:ALA-A# 


A:ALA-A# show router static-route next-hop 10.10.0.254
=============================================================================== 
Route Table                                                                     
=============================================================================== 
IP Addr/mask       Pref Metric Type Nexthop              Interface       Active 
------------------------------------------------------------------------------- 
192.168.253.0/24   5    1      NH   10.10.0.254          n/a                  N 
=============================================================================== 
A:ALA-A# 
Table: Output fields: static route

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 blackhole route. The next hop for this type of route is black hole.

NH — The route is a static route with a directly connected next hop. The next hop 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 blackhole route

Active

N — The static route is inactive; for example, the static route is disabled or the next hop IP interface is down.

Y — The static route is active.

No. of Routes

The number of routes displayed in the list

status

Syntax

status

Context

show>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Note:

7210 SAS-K 2F6C4T does not support the IPv6 parameters and options.

Description

This command displays the router status.

Output

The following output is an example of router status information, and Table: Output fields: router status describes the output fields.

Sample output
A:DUT-B>show>router# show router status 
================================================================
Router Status (Router: Base)
================================================================
                         Admin State         Oper State         
----------------------------------------------------------------
Router                   Up                  Up                 
 
Max Routes               10000                                  
Total IPv4 Routes        5                                      
ECMP Max Routes          1                                      
================================================================
A:DUT-B>show>router# 

Table: Output fields: router status

Label

Description

Router

The administrative and operational states for the router

Max Routes

The maximum number of routes configured for the system

Total Routes

The total number of routes in the route table

tunnel-table

Syntax

tunnel-table summary [ipv4 | ipv6]

tunnel-table [protocol protocol] [ipv4 | ipv6]

tunnel-table [ip-prefix [/mask] [alternative] [ipv4 | ipv6] detail

tunnel-table [ip-prefix [/mask] alternative

tunnel-table [ip-prefix [/mask] protocol protocol

tunnel-table [ip-prefix [/mask] sdp sdp-id

Context

show>router

Platforms

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

Description

This command displays tunnel table information.

Parameters

ip-prefix [mask]

Displays only those entries matching the specified IP prefix and mask.

summary ipv4 | ipv6

Displays IPv4 or IPv6 summary tunnel table information.

protocol protocol ipv4 | ipv6

Displays IPv4 or IPv6 protocol information for the specified protocol.

protocol

Displays information for the specified protocol.

Values

local | static | ospf | isis | aggregate | bgp | bgp-vpn

alternative ipv4 | ipv6

Displays IPv4 or IPv6 LFA and backup tunnel table. information.

alternative

Displays LFA and backup tunnel table information.

detail

Displays detailed tunnel table information.

sdp sdp-id

Displays information for the specified SDP.

Values

1 to 17407

Output

The following output is an example of router tunnel table information, and Table: Output fields: tunnel table describes the output fields.

Sample output
*A:SAS-1# show router tunnel-table
===============================================================================
Tunnel Table (Router: Base)
===============================================================================
Destination        Owner Encap TunnelId  Pref     Nexthop        Metric
-------------------------------------------------------------------------------
10.0.0.1/32        sdp   GRE     10       5       10.0.0.1        0 
10.0.0.1/32        sdp   GRE     21       5       10.0.0.1        0
10.0.0.1/32        sdp   GRE     31       5       10.0.0.1        0
10.0.0.1/32        sdp   GRE     41       5       10.0.0.1        0 
===============================================================================
*A:SAS-1# 
Table: Output fields: tunnel table

Label

Description

Destination

The route destination address and mask

Owner

Specifies the tunnel owner

Encap

Specifies the tunnel 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 destination

Metric

The route metric value for the route