Virtual Router

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.

Any of the following options:

dedicated-vnet-service|shared-vnet-service

Specify if the vRouter is a dedicated or shared VNET service.

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.

storage-pool storage-pool-name

Specify the storage pool.

router-type

hardware|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.

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 a BGP damp

bgp-graceful-restart|
no-bgp-graceful-restart

Specify a graceful restart for BGP routing. The default is graceful restart.

bgp-stalepath-time second

Specify the length of time befor a BGP path becomes stale. This is a value between 0 and 3600 or 0 to unset.

bgp-scantime seconds

Specify a BGP scanner interval in seconds. The default interval is 60 seconds with a range of 5 to 60 seconds.

bgp-delayed-startup seconds

Specify a time in seconds to delay forming peer adjacency on bootup.

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.

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.

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

See Also   

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-add

vrouter-static-route-remove

vrouter-static-route-show