show router

Use this command to display VRF router and router application information for this system.

Syntax

S- and K-Series
show router [vrf [name] {interfaces [interface-name] | summary [vrf-name]| vpn-id [oui:vpn-index]]
7100-Series
show router [vrf [name] {interfaces [interface-name] | summary [vrf-name]]

Parameters

vrf name (Optional) Specifies the VRF router name of the router to display. The default value is the current router context.
interfaces Display all interfaces for the specified VRF.
interface-name (Optional) Display the specified VRF interface. Use media.slot.port format.
summary Display a summary level of information.
vrf-name Display a summary level of information for the specified VRF.
vpn-id Display VPN identifier router information (S-, K-Series).
oui:vpn-index Display VPN identifier router information for the specified VPN identifier (S-, K-Series).

Defaults

  • If no option is specified, the global router context displays.
  • If a VRF name is not specified, all VRFs display.
  • If an interface name is not specified, all interfaces for the VRF display.
  • If a VPN identifier is not specified, information for all VPN identifiers display (S-, K-Series).

The global router is the default router for the device.

Mode

All command modes.

Example

This example displays the VRF router for the current context:

System(rw)->show router
VRF Context    : global
RD             : not set
System(rw)->

This example displays a summary line for each VRF router on the device:

System(rw)->show router vrf summary
Name(truncated)                  Route distinguisher    Protocols Interfaces
-------------------------------- ---------------------- --------- -----------
global                           not set                ipv4,ipv6 vlan.0.151
                                                                  vlan.0.1051
                                                                  vlan.0.1056
                                                                  vlan.0.1057
                                                                  lo.0.1
                                                                  loop.0.1
nat1                             not set                ipv4,ipv6 vlan.0.212
                                                                  vlan.0.1151
                                                                  lo.0.2
nat2                             not set                ipv4,ipv6 vlan.0.1251
                                                                  vlan.0.1256
                                                                  vlan.0.1257
                                                                  vlan.0.1903
                                                                  lo.0.3
nat3                             not set                ipv4,ipv6 vlan.0.1351
                                                                  vlan.0.1356
                                                                  vlan.0.1357
                                                                  vlan.0.1904
                                                                  lo.0.4
System(rw)->