vrf-route-add
Virtual Routing and Forwarding (VRF) is a technology that virtualizes the hardware routing capabilities of a vRouter or a Layer 3 switch and offers per logical instance dedicated control and data planes. This command adds a static route to a VRF configuration.
Syntax vrf-route-add
vrf-name name-string |
Specify the name of the VRF configuration. |
vnet vnet name-string |
Specify the vNET of the VRF. |
Specify the following route arguments: |
|
network ip-address |
Specify an IP address. |
netmask netmask |
Specify the netmask. |
gateway-ip ip-address |
Specify the VRF gateway IP address. |
Defaults None
Access Network Administrator
History Command introduced in Version 3.1.0.
Usage Use this command to configure a static route for a VRF configuration.
Examples To add the static route 172.21.16.25 with the netmask 255.255.255.0 for the VRF configuration, blue, use the following syntax:
CLI network-admin@switch > vrf-route-add vrf-name blue vnet red network 172.21.16.25 netmask 255.255.255.0 gateway-ip 192.168.13.7