vrouter-routes-show
This command is used to display information about all routes on one or all configured vRouters.
Syntax vrouter-routes-show
vrouter-name name-string |
Specifies the name of a vRouter. |
Any of the routes arguments: |
|
network ip-address |
Specifies the IP address of the vRouter. |
netmask netmask |
Specifies the netmask. |
type rip|connected|static|ospf|bgp|missing|kernel-route|igmp|babel|pim|ospf6 |
Specifies the type of route on the vRouter. |
interface interface-string |
Specifies the interface for the route. |
next-hop ip-address |
Specifies the IP address of the next-hop. |
distance number |
Specifies the administrative distance in a number from 0 to 255. • 0 — Connected interface • 1 — Static route • 110 — OSPF • 120 — RIP • 200 — Internal BGP |
metric metric-number |
Specifies the cost of advertised routes on the network. |
vrf vrouter vrf vrf|default |
Name of the VRF router. |
Defaults None
Access CLI
History
Version 2.0 |
Command introduced. |
Version 2.1 |
The parameters next-hop and distance added. |
Version 2.2 |
The parameter metric added. |
Usage Use this command to identify routes on vRouters configured on the switch.
Examples To display all route information for all vRouters, use the following command:
CLI (network-admin@switch) > vrouter-routes-show
vrovrouter-name network type interface
--------------- ------------- --------- ---------------
vr-ext-50 10.121.1.0/24 connected ext.50.mgr.eth0
vr-ext-50 10.111.1.0/24 rip ext.50.mgr.eth0
vr-ext-50 127.0.0.0/8 connected lo0
vr-www-51 10.121.1.0/24 connected www.51.mgr.eth1
vr-www-51 10.111.1.0/24 connected www.51.mgr.eth0
vr-www-51 127.0.0.0/8 connected lo0