vrouter-static-route-modify
This command modifies the administrative distance of a static route entry for an existing virtual router (vRouter) service for a fabric, cluster, standalone switch, or virtual network (VNET).
Syntax vrouter-static-route-modify
vrouter-name name-string |
Specify the name of the vRouter service. |
network ip-address |
Specify the IP subnet of the network that you want to modify a static route. |
netmask netmask |
Specify the netmask of the IP subnet. |
gateway-ip ip-address |
Specify the IP address of the gateway. |
drop |
Specify if you want to drop packets to create a null static route. Note: This option is mutually exclusive with gateway-ip parameter. |
bfd-dst-ip ip-address |
Specify the destination IP address for BFD monitoring. |
distance number |
Specify the administrative distance as a number between 0 and 255. • 0 — Connected interface • 1 — Static route • 110 — OSPF • 120 — RIP • 200 — Internal BGP |
interface vrouter-interface-nic |
Specify the vRouter interface for the static route, if the gateway-ip is a link-local IPv6 address. |
vrf vrf |
Specify the name of the VRF. |
Defaults None.
Access CLI
History
Version 6.0.0 |
Command introduced. |
Usage Each fabric, cluster, standalone switch, or virtual network (VNET) can provide tenants with a virtual router (vRouter) service that forwards traffic between networks and implements Layer 3 protocols. This command modifies the administrative distance of a static route entry for an existing Router service.
Examples To modify the administrative distance of a static route entry for the vRouter service, MyvService, use the following command:
CLI network-admin@switch > vrouter-static-route-modify vrouter-name MyvService network 10.1.0.0/16 gateway-ip 10.0.0.1 distance 20