vrouter-static-route-show
This command displays static route entries for an existing virtual router (vRouter) service for a fabric, cluster, standalone switch, or virtual network (VNET).
Syntax vrouter-static-route-show
vrouter-name name-string |
Specifies the name of the vRouter service. |
network ip-address |
Specifies the IP subnet of the network that you want to add a static router. |
netmask netmask |
Specifies the netmask of the IP subnet. |
gateway-ip ip-address |
Specifies the IP address of the gateway that you want to route packets destined for the network IP address. |
bfd-dst-ip ip-address |
Specifies the destination IP address for BFD monitoring. |
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 |
bfd none|single-hop|multi-hop |
Specifies the BFD protocol for the gateway fault detection. |
bfd-src-ip ip-address |
Specifies the source IP address for the BFD session. |
interface vrouter interface nic |
Specify the vRouter interface for the static route. |
drop |
Specify if you want to drop packets to create a null static route. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.1 |
The parameter, distance, added. |
Version 2.6.2 |
The parameters, bfd-dst-ip, bfd, bfd-src-ip, added. |
Version 3.0.0 |
The parameter, interface, added. |
Version 3.0.3 |
The parameter, drop, added. |
Usage Each fabric, cluster, standalone switch, or virtual network (VNET) can provide its tenants with a virtual router (vRouter) service that forwards traffic between networks and implements Layer 3 protocols. This command displays static route entries for an existing Router service.
Examples To display all static routes for all vRouter services, use the following command:
CLI network-admin@switch > vrouter-static-route-show layout vertical