vrouter-interface-add

This command is used to add interfaces to virtual router (vRouter) services on a fabric, cluster, standalone switch, or virtual network (vNET).

Syntax   vrouter-interface-add

vrouter-name name-string

Specify the name for the vRouter interface.

Specify any of the following options:

vlan vlan-id

Specify the VLAN identifier. This is a value between 1, and 4094.

ip ip-address

Specify the IP address of the interface.

netmask netmask

Specify the netmask.

assignment none|dhcp|dhcpv6

Specify the DHCP method for IP address assignment. Note that if you specify hardware as the router type, you cannot assign IP addresses using DHCP. You must specify a static IP address.

ip2 ip-address

Specify the second IP address of the interface.

netmask2 netmask

Specify the netmask.

assignment2 none|dhcp|dhcpv6

Specify the DHCP method for IP address assignment. Note that if you specify hardware as the router type, you cannot assign IP addresses using DHCP. You must specify a static IP address.

linklocal ip-address

Specify an IPv6 linklocal address.

ipv6-unnumbered|no-ipv6-unnumbered        

Specify either of the options to enable or disable IPv6 unnumbered on the interface.

vnet vnet-name

Specify the vNET assigned to the vRouter.

vlan-type public|private

Specify the type of VLAN for the interface.

if mgmt|data|span

Specify if the interface is a management, data or span interface.

alias-on alias-on-string

Specify an alias for the interface.

exclusive|no-exclusive

Specify if the interface is exclusive to the configuration. Exclusive means that other configurations cannot use the interface. Exclusive is specified when you configure the interface as a span interface, and allows higher throughput through the interface.

nic-enable|nic-disable

Specify if the NIC is enabled or disabled.

pim|no-pim

Specify if the vRouter interface is a PIM interface.

pim-dr-priority integer

Specify the direct router (DR) priority as an integer between 1, and 4294967295. NetVisor selects the vRouter interface with higher DR priority as the designated router.

By default, all interfaces are priority 1. In case of same priority, NetVisor selects the vRouter interface with highest network address as DR.

pim-cluster|no-pim-cluster

Specify if you want to provide alternative routing for Layer 3 attached sources for leaf cluster routing configuration. It allows traffic to failover not black-hole when the unicast path to the Spine fails.

fabric-nic|no-fabric-nic

Specify if VNIC is on a VLAN used for fabric setup.

vrrp-id id-number

Specify the ID for the VRRP interface. The IDs on both vRouters must be the same ID number.

vrrp-primary string

Specifies the primary interface for VRRP failover.

vrrp-priority number

Speicfies the priority for the VRRP interface. This is a value between 1 (lowest), and 255 (highest).

vrrp-adv-int mseconds

Specify a VRRP advertisement interval in milliseconds. The range is from 30 to 40950 with a default value of 1000.

vrrp-preempt-mode disable|enable

Specify one of the options to allow or prevent a high priority backup router from becoming master router.

vrrp-preempt-mode is enabled by default.

l3-port l3port-usable-port name

Specify a Layer 3 port for the interface.

secondary-macs secondary-macs-string

Specify a secondary MAC address for the interface.

mtu bytes

Specify a MTU value in bytes between 68, and 9216.

if-nat-realm internal|external

Specify a NAT realm for the interface.

priority-tag|
no-priority-tag

Specify if you want to add a VLAN 0 priority tag on forwarded traffic.

Defaults   None.

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.1

The parameters exclusive and nic added.

Version 2.2

The parameters vrrp-id, vrrp-priority, and vrrp-primary added.

Version 2.2.5

The parameters l3-port, and secondary-macs added.

Version 2.3

The parameter vrrp-adv-int added.

Version 2.4.1

The parameter vlan-type added.

Version 2.5

The parameter mtu added.

Version 2.6.0

The parameter if-nat-realm internal|external, and vnet added.

Version 2.6.2

The parameter vxlan deprecated.

Version 3.0.0

The parameter ip2 and netmask2 added. The parameters pim, pim-dr-priority, and pim-cluster added. The parameter linklocal added. The option autov6 deprecated for the parameter assignment.

Version 3.1.0

The parameter fabric-nic and priority-tag added.

Version 5.1.3

The parameter ipv6-unnumbered|no-ipv6-unnumbered added

Version 6.0.0

The parameter vrrp-preempt-mode added.

Usage   You can add interfaces to the vRouter services on a fabric, cluster, standalone switch, or virtual network (vNET). This command adds an interface to a vRouter service.

Examples  To add an interface with the IP address, 192.168.10.11/32, VLAN 25, and data to vRouter service, MyvService, use the following command:

CLI (network-admin@switch) > vrouter-interface-add vrouter-name MyvService ip 192.168.10.11/32 assigment none vlan 25 if data

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south