The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco Nexus 1000V commands that begin with V.
To configure a Virtual Ethernet Module (VEM), use the vem command. To remove a VEM configuration, use the no form of this command.
vem module-number [- module-number ]
no vem module-number [- module-number ]
Specifies a module number. The range of valid values is 3 to 66. |
|
|
Specify a range of VEMs by using a dash. For example, 3-9 or 20-30.
This example shows how to create a VEM and enter the VEM slot configuration mode:
This example shows how to remove a VEM:
|
|
---|---|
To designate NetFlow export version 9 in the NetFlow exporter, use the version 9 command. To remove version 9, use the no form of this command.
NetFlow flow exporter configuration (config-flow-exporter)
|
|
This example shows how to configure version 9 for a Netflow flow exporter:
n1000v#
config t
This example shows how to remove version 9 from the Netflow flow exporter:
n1000v#
config t
To classify and separate traffic for network services, use the virtual-service-domain command. To remove a virtual service domain, use the no form of this command.
virtual-service-domain vsd-name
Port profile configuration (config-port-prof)
|
|
This example shows how to configure a port profile for a VSD:
n1000v# config t
n1000v(
config)#
port-profile vsd1_member
n1000v(
config-port-prof)#
vmware port-group
n1000v(
config-port-prof)#
switchport access vlan 315
n1000v(
config-port-prof)#
virtual-service-domain vsd1
n1000v(
config-port-prof)#
no shutdown
n1000v(
config-port-prof)#
state enabledThis example shows how to remove the virtual service domain configuration:
n1000v# config t
n1000v(
config)#
port-profile vsd1_member
n1000v(
config-port-prof)# no
virtual-service-domain vsd1
|
|
---|---|
Displays a list of the VSDs currently configured in the VSM, including VSD names and port profiles. |
To create a VLAN and enter the VLAN configuration mode, use the vlan command. To remove a VLAN, use the no form of this command.
vlan { id | dot1Q tag native }
no vlan { id | dot1Q tag native }
VLAN identification number. The range of valid values is 1 to 4094. |
|
|
|
Specify a VLAN range by using a dash. For example, 1-9 or 20-30.
This example shows how to create a VLAN and enter the VLAN configuration mode:
This example shows how to remove a VLAN:
|
|
---|---|
To enter the VLAN configuration mode and deny all VLAN access for the role, use the vlan policy deny command.
To remove the policy restrictions, use the no form of this command.
Role configuration (config-role)
|
|
After executing this command, access to any VLAN must be explicitly defined for this role by using the permit vlan command.
This example shows how to enter the VLAN configuration mode and deny all VLAN access for the role:
This example shows how to remove policy restrictions:
|
|
---|---|
Specifies the VLAN that users assigned to this role can access. |
|
To create a VMware virtual switch, use the vmware dvs datacenter-name command. To remove the virtual switch, use the no form of this command.
vmware dvs datacenter-name [folder/] name
SVS connection configuration (config-svs-conn)
|
|
To create a virtual switch, you must be in the SVS connection configuration mode. Use the svs connection command to create a connection and enter that mode. The number of SVS connections that can be created is limited to one.
After the VSM creates a DVS in the vCenter, if the ESX administrator changes the DVS folder name in the vCenter, the VSM administrator must manually update the DVS name in the VSM too using the vmware dvs datacenter-name command. This action is required because the DVS name is not automatically updated in the VSM, and if the names do not match, the connection between the VSM and DVS is broken.
This example shows how to create a VMware virtual switch:
n1000v#
configure terminal
This example shows how to remove a VMware virtual switch:
n1000v#
configure terminal
|
|
---|---|
To create a VMware port group, use the vmware port-group command. To remove the VMware port group, use the no form of this command.
Port profile configuration (config-port-prof)
|
|
To create the VMware port group, you must be in port profile configuration mode.
This example shows how to create a VMware port group:
n1000v#
configure terminal
This example shows how to remove the VMware port group:
n1000v#
configure terminal
|
|
---|---|
Displays configuration information about a particular port-profile. |
To create an extension key, use the vmware vc extension-key command.
|
|
An extension key is used to connect to an instance of Virtual Center.
This example shows how to create an extension key:
|
|
---|---|
To clear the upgrade status, use the vmware vem upgrade complete command.
network-admin
network-operator
|
|
Once you have cleared the upgrade status, you cannot repeat this procedure.
This example shows how to clear the upgrade status:
To notify the vCenter Server that the software on the Virtual Supervisor Module (VSM) has been upgraded, and that a Virtual Ethernet Module (VEM) upgrade is available, use the vmware vem upgrade notify command.
network-admin
network-operator
|
|
This example shows how to notify the vCenter Server that the software on the Virtual Supervisor Module (VSM) has been upgraded, and that a VEM upgrade is available:
|
|
---|---|
To begin the upgrade of the virtual machine (VM), use the vmware vem upgrade proceed command.
network-admin
network-operator
|
|
This example shows how to begin the upgrade of the VM:
To configure a VXLAN user datagram protocol (UDP) port for VXLAN encapsulation, use the vxlan udp port command. To remove a VXLAN UDP port, use the no form of this command.
no vlan udp port [port_number]
The default port number is either 4789 or 8472, depending on the installation. See the Usage Guidelines for this command.
|
|
You must permit this port through any intermediate firewall.
In Cisco Nexus 1000V for VMware Release 4.2(1)SV2(2.1) and earlier, the default UDP port number was 8472. Beginning with Release 5.2(1)SV3(1.1), the default UDP port number has changed to the IANA-approved UDP port number 4789. This change affects the Cisco Nexus 1000V for VMware software installation, upgrade, and VXLAN configuration in the following ways:
This example shows how to configure a VXLAN UDP destination port:
This example shows how to remove a VXLAN UDP destination port: