vrf-create
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 creates a VRF.
Syntax vrf-create name
name name-string |
Specify a name for the VRF. |
vnet name-string |
Specify the name of the vNET. |
scope local|cluster|fabric |
Specify the scope of the VRF. |
vrf-gw ip-address |
Specify an IPv4 address for the gateway. |
vrf-gw2 ip-address |
Specify a second IPv4 address for the gateway. |
vrf-gw-ip6 ip-address |
Specify an IPv6 address for the gateway. |
vrf-gw2-ip6 ip-address |
Specify a second IPv6 address for the gateway. |
enable|disable |
Enable or disable VRF. |
Defaults None
Access Network Administrator
History Command introduced in Version 3.1.0
Usage Use this command to configure VRF.
Examples To configure VRF, blue, on vNET red, scope local, and a gateway address, 192.168.11.5, use the following syntax:
CLI network-admin@switch > vrf-create name blue vnet red scope local vrf-gateway 192.168.11.5
vrf-delete
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 deletes a VRF configuration.
Syntax vrf-delete
name name-string |
Specify a name for the VRF. |
vnet name-string |
Specify the name of the vNET. |
Defaults None
Access Network Administrator
History Command introduced in Version 3.1.0
Usage Use this command to delete a VRF.
Examples To delete VRF, blue, and vNet, red, , use the following syntax:
CLI network-admin@switch > vrf-delete name blue vnet red
vrf-modify
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 modifies a VRF configuration.
Syntax vrf-modify
name name-string |
Specify a name for the VRF. |
vnet name-string |
Specify the name of the vNET. |
scope local|cluster|fabric |
Specify the scope of the VRF. |
vrf-gw ip-address |
Specify an IPv4 address for the gateway. |
vrf-gw2 ip-address |
Specify a second IPv4 address for the gateway. |
vrf-gw-ip6 ip-address |
Specify an IPv6 address for the gateway. |
vrf-gw2-ip6 ip-address |
Specify a second IPv6 address for the gateway. |
enable|disable |
Enable or disable VRF. |
Defaults None
Access Network Administrator
History Command introduced in Version 3.1.0
Usage Use this command to modify a VRF.
Examples To modify VRF, blue, and a gateway address, 192.168.13.7, use the following syntax:
CLI network-admin@switch > vrf-modify name blue vnet red vrf-gateway 192.168.13.7
vrf-show
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 displays a VRF configuration.
Syntax vrf-show
name name-string |
Displays the VRF name. |
vnet name-string |
Displays the name of the vNET. |
scope local|cluster|fabric |
Displays the scope of the VRF. |
vrf-gw ip-address |
Displays an IPv4 address for the gateway. |
vrf-gw2 ip-address |
Displays a second IPv4 address for the gateway. |
vrf-gw-ip6 ip-address |
Displays an IPv6 address for the gateway. |
vrf-gw2-ip6 ip-address |
Displays a second IPv6 address for the gateway. |
active yes|no |
Displays the status of the VRF. |
hw-router-mac mac-address |
Displays the MAC address of the vRouter. |
hw-vrid number |
Displays the vRouter ID as a number from 1 to 15. |
enable|disable |
Enable or disable VRF. |
Defaults None
Access Network Administrator
History Command introduced in Version 3.1.0.
Usage Use this command to display information about a VRF configuration.
Examples To display information for the VRF configuration,blues, use the following syntax:
CLI network-admin@switch > vrf-show
vrf-mroute-show
This command displays information about distrbuted multicast forwarding in
a L3/VXLAN network.
Syntax vrf-mroute-show
type <*,G>|<*,G,V>| |
Displays the hardware router type. |
srcip ip-address |
Displays the source IP address. |
srcip-mask srcip-mask-number |
Displays the source netmask. |
group ip-address |
Displays the group IP address. |
group-mask group-mask-number |
Displays the netmask. |
vnet vnet name |
Displays the vNET name. |
bd bridge-domain name |
Displays the bridge domain name. |
vlan vlan-id |
Displays the VLAN ID. |
vrid vrid-number |
Displays the vRouter ID. |
hw-group-id hw-group-id-number |
Displays the hardware group ID. |
send_vnet vnet name |
Displays the sending vNET name. |
send-vlan vlan-id |
Displays the sending VLAN ID. |
send-bd send-bd-string |
Displays the sending bridge domain. |
ports port-list |
Displays the port list. |
encap-id encap-id-number |
Displays the encapsulation ID. |
flags Trunk|Active |
Displays the hardware flags. |
Defaults None
Access Network Administrator
History Command introduced in Version 5.1.0.
Usage Use this command to display multicast information on virtual routing and fowarding.
Examples To display multicast routing, use the following syntax:
CLI network-admin@switch > vrf-mroute-show
type srcip group vnet bd vlan vrid hw-group-id send_vnet send-vlan send-bd ports encap-id flags
------- ------- --------- ---- -- ---- ---- ----------- --------- --------- ------- ----- -------- ------
<*,G,V> 0.0.0.0 225.1.1.1 10 0 0x2000009 10 none -1 Active
<*,G,V> 0.0.0.0 225.1.1.1 10 0 0x2000009 0 19 4 Active
vrf-multicast-modify
This commands allows to modify multicast routing for VRF on a switch.
Syntax vrf-multicast-modify
scope local|fabric |
Specify the scope for multicast routing. |
enable|disable |
Specify to enable or disable multicast routing. Enabled by default. |
Defaults None
Access Network Administrator
History Command introduced in Version 5.1.0.
Usage Use this command to modify multicast routing for VRF on a switch.
Warning! You must reboot the switch after changing the settings. Rebooting may cause a disruption on the network.
Examples To disable multicast routing use the following syntax:
CLI network-admin@switch > vrf-multicast-modify disable
vrf-multicast-show
This commands displays multicast routing for VRF on a switch.
Syntax vrf-multicast-show
scope local|fabric |
Specify the scope for multicast routing. |
enable|disable |
Specify to enable or disable multicast routing. Enabled by default. |
Defaults None
Access Network Administrator
History Command introduced in Version 5.1.0.
Usage Use this command to display multicast routing for VRF on a switch.
Examples To display multicast routing, use the following syntax:
CLI network-admin@switch > vrf-multicast-show
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
vrf-route-remove
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 removes a static route from a VRF configuration.
Syntax vrf-route-remove
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 remove a static route from a VRF configuration.
Examples To remove 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-remove vrf-name blue vnet red network 172.21.16.25 netmask 255.255.255.0 gateway-ip 192.168.13.7
vrf-route-show
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 displays a static route on a VRF configuration.
Syntax vrf-route-show
vrf-name name-string |
Displays the name of the VRF configuration. |
vrf-vnet vnet name-string |
Displays the vNET of the VRF. |
scope local|cluster|fabric |
Displays the scope of the VRF. |
network ip-address |
Displays the IP address. |
netmask netmask |
Displays the netmask. |
gateway-ip ip-address |
Displays the VRF gateway IP address. |
active in-rib|not-in-rib |
Displays the status of the static route. |
Defaults None
Access Network Administrator
History Command introduced in Version 3.1.0
Usage Use this command to display a static route for a VRF configuration.
Examples To display the static route for the VRF configuration, blue, use the following syntax:
CLI network-admin@switch > vrf-show vrf-name vrf-vnet red