vnet-manager-interface-add

To create a new virtual network manager interface (VNET manager) for a fabric, cluster, standalone switch, or virtual network, use the vnet-manager-create command.

Syntax   vnet-manager-interface-add

vnet-manager-name name-string

Specify the name for the VNET manager interface.

Specify the following parameter:

vlan vlan-id

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

Specify any of the following options:

ip ip-address

Specify the IP address of the interface.

netmask netmask

Specify the netmask.

assignment none|dhcp|dhcpv6

Specify the DHCP method to assign the IP address.

vnet vnet-name

Specify the VNET for the interface.

vlan-type public|private

Specify the VLAN type as public or private.

vxlan vxlan-id

Specify the VXLAN identifier. This is a value between 0 and 16777215.

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.

nic-enable|
nic-disable

Specify if the NIC is enabled or disabled.

vrrp-primary vrrp-primary-string

Specify the VRRP primary interface.

vrrp-priority number

Specify the VRRP priority for the interface. Range is 0 - 254.

vrrp-adv-int ms

Specify the VRRP Advertisement Interval. In ms, min 10, max 40950, default 1000.

vrrp-primary vrrp-primary-string

Specify the VRRP primary interface.

secondary-macs secondary-macs-string

Specify a secondary MAC address.

sriov-vf|no-sriov-vf

Specify a VNIC.

mirror-traffic true|false

Specify to mirror a physical NIC traffic to VNIC.

if-nat-realm internal|external

Specify a NAT realm interface as internal or external.

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

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

Version 2.3.1 

The option, autov6, added.

Version 2.4

The parameter, l3-port, deprecated.

Version 2.4.1

The parameter, vlan-type, added.

Version 2.5

The parameters, vnet and sriov-vf, added.

Version 2.5.4

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

Version 2.6.2

The parameter, if-nat-realm, added.

Version 3.1.0

The parameter, priority-tag, added.

Usage   A virtual network manager interface (VNET manager) can administer a virtual network (VNET) but the same management abstraction can also be used to administer a fabric, cluster, or standalone switch. This command creates a new VNET manager interface.

Examples  To add a VNET manager interface named, MyVNETmgr, with the IP address, 192.168.11.21 netmask 32, use this command:

CLI network-admin@switch > vnet-manager-interface MyVNETmgr ip 192.168.11.21 netmask 32

To create VRRP interfaces on VNET manager zones, use this command:

CLI network-admin@switch > vnet-manager-interface-add vnet-manager-name name-string [vrrp-id 0,,255][vrrp-primary vrrp-primary-string][vrrp-priorty 0..254][vrrp-ad-int 10..40950]

vnet-manager-interface-modify

To modify a virtual network manager interface (VNET manager) for a fabric, cluster, standalone switch, or virtual network, use the vnet-manager-create command.

Syntax   vnet-manager-interface-add

vnet-manager-name name-string

Specify the name for the VNET manager interface.

Specify the following interface arguments:

nic nic-string

Specify the NIC to modify.

Specify any of the following options:

ip ip-address

Specify the IP address of the interface.

netmask netmask

Specify the netmask.

assignment none|dhcp|dhcpv6|autov6

Specify the DHCP method.

vnet vnet-name

Specify the VNET for the interface.

vlan-type public|private

Specify the VLAN type as public or private.

vlan vlan-id

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

vxlan vxlan-id

Specify the VXLAN identifier. This is a value between 0 and 16777215.

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.

nic-enable|
nic-disable

Specify if the NIC is enabled or disabled.

vrrp-primary vrrp-primary-string

Specify the VRRP primary interface.

vrrp-priority number

Specify the VRRP priority for the interface. Range is 0 - 254.

vrrp-adv-int ms

Specify the VRRP Advertisement Interval. In ms, min 10, max 40950, default 1000.

vrrp-primary vrrp-primary-string

Specify the VRRP primary interface.

secondary-macs secondary-macs-string

Specify a secondary MAC address.

sriov-vf|no-sriov-vf

Specify a VNIC.

mirror-traffic true|false

Specify to mirror a physical NIC traffic to VNIC.

if-nat-realm internal|external

Specify a NAT realm interface as internal or external.

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

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

Version 2.3.1 

The option, autov6, added.

Version 2.4

The parameter, l3-port, deprecated.

Version 2.4.1

The parameter, vlan-type, added.

Version 2.5

The parameters, vnet and sriov-vf, added.

Version 2.5.4

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

Version 2.6.2

The parameter, if-nat-realm, added.

Version 3.1.0

The parameter, priority-tag, added.

Usage   A virtual network manager interface (VNET manager) can administer a virtual network (VNET) but the same management abstraction can also be used to administer a fabric, cluster, or standalone switch. This command modifies a VNET manager interface.

Examples  To modify a VNET manager interface named, MyVNETmgr, with the IP address, 192.168.11.21 netmask 32 to VLAN 16, use the following command:

CLI network-admin@switch > vnet-manager-interface MyVNETmgr ip 192.168.11.21 netmask 32 vlan 16

To create VRRP interfaces on VNET manager zones, use this command:

CLI network-admin@switch > vnet-manager-interface-add vnet-manager-name name-string [vrrp-id 0,,255][vrrp-primary vrrp-primary-string][vrrp-priorty 0..254][vrrp-ad-int 10..40950]

vnet-manager-interface-remove

This command is used to remove a virtual network (VNET) manager interface from the configuration.

Syntax   vnet-manager-interface-remove vnet-manager-name name-string nic nic-string

vnet-manager-name name-string

Specify the name of the VNET manager interface to remove.

Specify the following interface arguments:

nic nic-string

Specify the NIC to remove.

Defaults   None.

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   

A virtual network manager interface (VNET manager) can administer a virtual network (VNET) but the same management abstraction can also be used to administer a fabric, cluster, or standalone switch. This command removes a VNET manager interface.

Examples  

To remove the VNET manager interface, MyVNETmgr, use the following command:

CLI network-admin@switch > vnet-manager-interface-remove name MyVNETmgr nic eth0.3

vnet-manager-interface-show

This command is used to display information about configured virtual network (VNET) manager interfaces.

Syntax   vnet-manager-interface-show

vnet-manager-name name-string

Specifies the name for the VNET manager interface.

Specify the following interface arguments:

nic nic-string

Specifies the NIC of the interface.

ip ip-address

Specifies the IP address of the interface.

netmask netmask

Specifies the netmask.

assignment none|dhcp|dhcpv6|autov6

Specifies the DHCP method.

mac mac-address

Specifies the MAC address of the interface.

vnet vnet-name

Specifies the name of the VNET.

vlan vlan-id

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

vlan-type public|private

Specifies the VLAN type as public or private.

if mgmt|data|span

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

alias-on alias-on-string

Specifies an alias for the interface.

vm-nic-type e1000|virtio

Specifies the type of virtual NIC.

exclusive|
no-exclusive

Specifies if the interface is exclusive to the configuration. Exclusive means that other configurations cannot use the interface.

nic-enable|
nic-disable

Specifies if the NIC is enabled or disabled.

nic-state down|up

Specifies if the NIC state is up or down. If the NIC is disabled, then the state is down.

vrrp-id id

Specify the ID assigned to VRRP. Range is 0 - 255.

vrrp-primary vrrp-primary-string

Specify the VRRP primary interface.

vrrp-priority number

Specify the VRRP priority for the interface. Range is 0 - 254.

vrrp-adv-int ms

Specify the VRRP Advertisement Interval. In ms, min 10, max 40950, default 1000.

secondary-macs secondary-macs-string

Specifies a secondary MAC address.

if-nat-realm internal|external

Specify a NAT realm interface as internal or external.

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, nic, and nic-state, added.

Version 2.2.5

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

Version 2.3.1 

The option, autov6, added.

Version 2.4

The parameter, l3-port, deprecated.

Version 2.4.1

The parameter, vlan-type, vnet, and public-vlan, added.

Version 2.5

The parameters, vnet and sriov-vf, added.

Version 2.5.4

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

Version 2.6.2

The parameter, if-nat-realm, added.

Version 3.1.0

The parameter, priority-tag, added.

Usage   A virtual network manager interface (VNET manager) can administer a virtual network (VNET) but the same management abstraction can also be used to administer a fabric, cluster, or standalone switch. This command removes a VNET manager interface.

Examples  To display information about all VNET manager interfaces, use the following command:

CLI network-admin@switch > vnet-manager-interface-show