vrouter-static-route-add

This command adds 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-add

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 add a static router.

netmask netmask

Specify the netmask of the IP subnet.

gateway-ip ip-address

Specify the IP address of the gateway that you want to route packets destined for the network IP address.

bfd-dst-ip ip-address

Specify 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

interface vrouter interface nic

Specify the vRouter interface for the static route.

Defaults   None.

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.1

The parameter, distance, added.

Version 2.6.2

The parameter, bfd-dst-ip, added.

Version 3.0.0

The parameter, interface, 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 adds a static route entrv for an existing Router service.

Examples  To add a static route entry for the vRouter service, MyvService, use the following command:

CLI network-admin@switch > vrouter-static-route-add vrouter-name MyvService network 10.1.0.0/16 gateway-ip 10.0.0.1

See Also   

vrouter-create

vrouter-delete

vrouter-migrate

vrouter-modify

vrouter-show

vrouter-bgp-add

vrouter-bgp-remove

vrouter-bgp-show

vrouter-igmp-static-join-add

vrouter-igmp-static-join-remove

vrouter-igmp-static-join-show

vrouter-interface-add

vrouter-interface-modify

vrouter-interface-remove

vrouter-interface-show

vrouter-ospf-add

vrouter-ospf-remove

vrouter-ospf-show

vrouter-ospf-neighbor-show

vrouter-rip-add

vrouter-rip-remove

vrouter-rip-show

vrouter-static-route-remove

vrouter-static-route-show