vrouter-create
This command creates a new virtual router (vRouter) service for a fabric, cluster, or standalone switch.
Syntax vrouter-create
name name-string |
Specify the name of the vRouter. |
vnet vnet-name |
Specify the name of the VNET. |
router-typehardware|software |
Specify if the vrouter uses hardware or software. Note that if you specify hardware as the router type, you cannot assign IP addresses using DHCP. You must specify a static IP address. |
Any of the following options: |
|
shared-vnet-mgr vnet-manager name |
Specifies the VNET manager to share with if this is a shared service |
disable|enable |
Specify to enable or disable the vRouter service. |
location fabric-node name |
Specify the location of the service. |
storage-pool storage-pool-name |
Specify the storage pool. |
router-ipstack quagga|frr |
Specify the vRouter IP stack. |
evpn-border|no-evpn-border |
Specify to enable or disable EVPN border gateway. |
evpn-dup-addr-max-moves 2..1000 |
Specify the maximum number of EVPN duplicate address moves. The default value is 5. |
evpn-dup-addr-moves-duration 2..1800 |
Specify the EVPN duplicate address move time duration. The default vale is 180s. |
evpn-dup-addr-freeze none|permanent|-1..3600 |
EVPN duplicate address freeze duration (seconds). The default value is 180s. By default, if 5 MAC moves are detected in a 180s time window, the duplicate MAC address entry is frozen for 180s. |
cluster-active-active-routing|no-cluster-active-active-routing |
Specify active-active routing with or without VRRP. |
hw-vrrp-id hw-vrrp-id-number |
Specifies the VRRP ID for a hardware router. |
bgp-as bgp-as-number |
Specify the Autonomous System Number (ASN) if the vRouter runs Border Gateway Protocol (BGP). |
router-id ip-address |
Specify the vRouter IP address |
proto-multi none|pim-ssm |
Specify the optional multicast protocol for the vRouter service. Select none, Vector Multicast Routing Protocol (VMRP), or Protocol Independent Multicast-source specific mode (PIM-SIM). |
bgp-redistribute static|connected|rip|ospf |
Specify how BGP routes are redistributed. |
bgp-redist-static-metric none |
Specify a static metric for BGP route redistribution. This is a number between 0 and 4294967295 or specify none to unset. |
bgp-redist-connected-metric none |
Specify a connected metric for BGP route redistribution. This is a number between 0 and 4294967295 or specify none to unset. |
bgp-redist-rip-metric none |
Specify a RIP metric for BGP route redistribution. This is a number between 0 and 4294967295 or specify none to unset. |
bgp-redist-ospf-metric none |
Specify a OSPF metric for BGP route redistribution. This is a number between 0 and 4294967295 or specify none to unset. |
bgp-cluster-id ip-address |
Specify an IP address for a BGP cluster. |
bgp-max-paths bgp-max-paths-number |
Specify the maximum number of paths for BGP. This is a number between 1 and 255 or 0 to unset. |
bgp-ibgp-multipath bgp-ibgp-multipath-number |
Specify the number of multipaths for BGP. This is a number between 1 and 255 or 0 to unset. |
bgp-bestpath-as-path none|ignore |
Specify a parameter for a best path as path. |
bgp-dampening|no-bgp-dampening |
Specify dampening for BGP routes. |
bgp-delayed-startup 0..36000 |
Specify if you want to delay forming peer adjacency during bootup. BGP neighbors are not brought up until the timer's expiry. You can specify a value from the range 0 to 36000 seconds. The default value is 0. |
bgp-network-import-check|no-bgp-network-import-check |
Specifies whether BGP network route exists in IGP. |
bgp-update-delay-strict 0..3600 |
Specify if you want to to put BGP read-only mode during bootup. BGP neighbors are brought up and receives the peer routes but local routes are not advertised until the timer's expiry. You can specify a value from the range 0 to 3600 seconds. The default value is 0. Note: Configuring a non-default value is recommended for L3 spines having more than 10 L3 interfaces. |
bgp-keepalive-interval seconds |
Specify a BGP keepalive interval in seconds. The default is 60 seconds with a range of 0 to 65535 seconds. |
bgp-holdtime seconds |
Specify a BGP holdtime in seconds. The default is 180 seconds with a range of 0 to 65535 seconds. |
bgp-distance-external integer |
Specify the BGP distance for routes external to the AS. |
bgp-distance-internal integer |
Specify the BGP distance for routes internal to the AS. |
bgp-distance-local integer |
Specify the BGP distance for routes local to the AS. |
bgp-ipv4-unicast|no-bgp-ipv4-unicast |
Specify a MP-BGP Control default IPv4 Unicast AFI/SAFI. |
rip-redistribute static|connected|ospf|bgp |
Specify how RIP routes are redistributed. |
vrrp-track-port port-list |
Specify a port to track a VRRP configuration. |
ospf-redistribute static|connected|rip|bgp |
Specify how OSPF routes are redistributed. |
ospf-redist-static-metric-type 1|2 |
Specify a static metric type for OSPF route redistribution. This is a number between 0 and 16777214 or 'none' to unset. |
ospf-redist-connected-metric none |
Specify a connected metric for OSPF route redistribution. |
ospf-redist-connected-metric-type 1|2 |
Specify a connected metric type for OSPF route redistribution. |
ospf-stub-router-on-startup|no-ospf-stub-router-on-startup |
Specify if you want advertise self as stub router temporary on startup. |
ospf-stub-router-on-startup-period integer |
Specify the time period to advertise self as stub router on startup. This s a value between 5 and 86400 seconds. |
ospf-redist-rip-metric none |
Specify a RIP metric type for OSPF route redistribution. This is a number between 0 and 16777214 or 'none' to unset. |
ospf-redist-rip-metric-type 1|2 |
Specify a RIP metric type for OSPF route redistribution. |
ospf-redist-bgp-metric none |
Specify a BGP metric type for OSPF route redistribution. This is a number between 0 and 16777214 or 'none' to unset. |
ospf-redist-bgp-metric-type 1|2 |
Specify a BGP metric type for OSPF route redistribution. |
ospf6-redistribute static|connected|bgp4 |
Specify if you want to redistribute OSPF6 routes. |
ospf-distance-external integer |
Specify the OSPF distance for routes external to the AS. |
ospf-distance-internal integer |
Specify the OSPF distance for routes internal to the AS. |
ospf-distance-local integer |
Specify the OSPF distance for routes local to the AS. |
ospf-stub-router-on-startup|no-ospf-stub-router-on-startup |
Specify if you want the OSPF router to act as a stub router at startup. |
ospf-stub-router-on-startup-period seconds |
Specify the time period for the OSPF stub router in seconds. You can configure from 5 to 86400 seconds. |
ospf-bfd-all-if|no-ospf-bfd-all-if |
Specify if you want to use BFD protocol for fault detection on all OSPF interfaces. |
ospf-default-information none|originate|always |
Specify if you want to control origination of default route. |
ospf-default-info-originate-metric none |
Specify the metric for OSPF origination of default route. |
ospf-default-info-originate-metric-type 1|2 |
Specify the metric type for OSPF origination of default route. |
ospf6-redist-static-metric none |
Specify a metric for OSPF6 redistribute of static routes. |
ospf6-redist-static-metric-type 1|2 |
Specify a metric type for OSPF6 redistribution of static routes. |
ospf6-redist-connected-metric none |
Specify a metric for OSPF6 redistribution of connected routes. |
ospf6-redist-connected-metric-type 1|2 |
Specify a metric type for OSPF6 redistribution. |
ospf-default-information none|originate|always |
Specify how to control the origination of default route. |
ospf-default-info-originate-metric none |
Specify the metric for OSPF origination of default route. |
ospf-default-info-originate-metric-type 1|2 |
Specify the metric type for OSPF origination of default route. |
ospf-default-info-originate-route-map vrouter route-map name |
Specify the route map for OSPF origination of default route. |
vrrp-track-port port-listS |
Specify the ports for VRRP tracking. |
bgp-snmp|no-bgp-snmp |
Enable or disable BGP SNMP MIB. |
bgp-snmp-notification|no-bgp-snmp-notification |
Enable or disable SNMP notifications for BGP MIBs. |
ospf-snmp|no-ospf-snmp |
Enable or disable OSPF SNMP MIB. |
ospf-snmp-notification|no-ospf-snmp-notification |
Enable or disable SNMP notifications for OSPF MIBs. |
ospf6-snmp|no-ospf6-snmp |
Enable or disable OSPFv3 SNMP MIB. |
ospf6-snmp-notification|no-bgp-snmp-notification |
Enable or disable SNMP notifications for OSPFv3 MIBs. |
ip-snmp|no-ip-snmp |
Enable or disable ipForward SNMP MIBs. |
no-bgp-redist-static-route-map |
Remove route map for BGP static redistribution. |
no-bgp-redist-connected-route-map |
Remove route map for BGP connected redistribution. |
no-bgp-redist-ospf-route-map |
Remove route map for BGP OSPF redistribution. |
bgp-graceful-shutdown|no-bgp-graceful-shutdown |
Specify BGP graceful shutdown according to RFE 8326. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.0 |
Parameter router-type added. |
Version 2.2 |
The parameter, hw-vrrp-id, added. The parameters, bgp-redistribute, rip-redistribute, and ospf-redistribute, added. |
Version 2.2.3 |
The parameters bgp-redist and ospf-dist added. The parameter vrrp-track-port added. The parameters bgp-cluster, bgp-max-paths, bgp-multipath, bgp-best-path, bgp-dampening, bgp-graceful-restart, and bgp-stalepath-time added. |
Version 2.3.1 |
The parameters, ospf6-, added. |
Version 2.4 |
The parameters, ospf-stub-router-on-startup and vrrp-track-port added. The parameters bgp-scantime, bgp-keepalive-interval, and bgp-holdtime added. |
Version 2.4.1 |
The parameter, bgp-distance-, and ospf-distance, added. |
Version 2.5.4 |
The parameter, shared-vnet-mgr, added. |
Version 2.6.0 |
SNMP MIBs for BGP, OSPF, OSPFv3, and ipForward added. |
Version 3.0.0 |
The parameters, ospf-bfd-all-if, ospf-default-information, ospf-default-info-originate, and ospf-default-info-originate-metric-type added. |
Version 3.1.0 |
The parameters for route maps added. |
Version 5.1.1 |
The parameter bgp-graceful-shutdown|no-bgp-graceful-shutdown is added. |
Version 5.1.1 |
The parameter bgp-graceful-restart|no-bgp-graceful-restart is removed. |
Version 6.1.0 |
The parameter evpn-border|no-evpn-border added. |
Version 6.1.1 |
The parameters evpn-dup-addr-max-moves, evpn-dup-addr-moves-duration, bgp-update-delay-strict and evpn-dup-addr-freeze 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 creates a new vRouter service.
Examples To create a vRouter, MyvService, for the VNET, net-ops, as a shared service, with the IP address of 208.74.182.1, use the following command:
CLI network-admin@switch > vrouter-create name MyvService vnet net-ops shared-vnet-services router-id 208.74.182.1