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 the letter V.
To configure a Virtual Ethernet Module (VEM) and enter VEM slot configuration mode, 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]
module-number |
Specifies a module number. The range of valid values is 3 to 66. |
None
Global Configuration (config)
network-admin
|
|
4.0(4)SV1(1) |
This command was introduced. |
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:
n1000v# configure terminal
n1000v(config)# vem 10
n1000v(config-vem-slot)#
This example shows how to remove a VEM:
n1000v# configure terminal
n1000v(config)# no vem 10
n1000v(config)#
|
|
---|---|
show module vem |
Displays information about the VEM module. |
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.
version 9
no version 9
This command has no arguments or keywords.
None
NetFlow flow exporter (config-flow-exporter)
network-admin
|
|
4.0(4)SV1(1) |
This command was introduced. |
This example shows how to configure version 9 for a Netflow flow exporter:
n1000v#
config t
n1000v(config)# flow exporter ExportTest
n1000v(config-flow-exporter)# version 9
n1000v(config-flow-exporter-version-9)#
This example shows how to remove version 9 from the Netflow flow exporter:
n1000v#
config t
n1000v(config)# flow exporter ExportTest
n1000v(config-flow-exporter)# version 9
n1000v(config-flow-exporter-version-9)# no version 9
n1000v(config-flow-exporter)#
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}
id |
VLAN identification number. The range of valid values is 1 to 4094. |
dot1Q tag native |
Specifies an IEEE 802.1Q virtual LAN. |
The default VLAN is VLAN 1.
Global Configuration (config)
network-admin
|
|
4.0(4)SV1(1) |
This command was introduced. |
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:
n1000v# configure terminal
n1000v(config)# vlan 10
n1000v(config-vlan)#
This example shows how to remove a VLAN:
n1000v# configure terminal
n1000v(config)# no vlan 10
n1000v(config)#
|
|
---|---|
show vlan |
Displays VTP VLAN status. |
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 name
no vmware dvs
name |
Switch name. |
None
SVS connection configuration (config-svs-conn)
network-admin
|
|
4.0(4)SV1(1) |
This command was introduced. |
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.
This example shows how to create a VMware virtual switch:
n1000v#
configure terminal
n1000v(config)# svs connect s1
n1000v(config-svs-conn)# vmware dvs datacenter-name dc1
n1000v(config-svs-conn)#
This example shows how to remove a VMware virtual switch:
n1000v#
configure terminal
n1000v(config)# svs connect s1v
n1000v(config-svs-conn)# no vmware dvs datacenter-name dc1
n1000v(config-svs-conn)#
|
|
---|---|
show svs |
Displays SVS information. |
show vmware |
Displays VMware information. |
To create the maximum number of ports for the VMware port profile, use the vmware max-ports command. To remove the maximum port configuration, use the no form of this command.
vmware max-ports number
no vmware max-ports number
number |
Specifies the maximum number of ports. The range of valid values is 1 to 1024. |
32 ports
Port profile configuration (config-port-prof)
network-admin
|
|
4.0(4)SV1(1) |
This command was introduced. |
To specify the maximum number of VMware ports to configure, you must be in port profile configuration mode.
This example shows how to set the maximum number of VMware ports in a port profile:
n1000v#
configure terminal
n1000v(config)# port-profile testprofile
n1000v(config-port-prof)# vmware max-ports 100
n1000v(config-port-prof)#
This example shows how to remove the maximum VMware ports configuration:
n1000v#
configure terminal
n1000v(config)# port-profile testprofile
n1000v(config-port-prof)# no vmware max-ports 100
n1000v(config-port-prof)#
|
|
---|---|
show port-profile name |
Displays configuration information about a particular port-profile. |
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.
vmware port-group name
no vmware port-group name
name |
Specifies the name of the VMware port group. |
None
Port profile configuration (config-port-prof)
network-admin
|
|
4.0(4)SV1(1) |
This command was introduced. |
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
n1000v(config)# port-profile testprofile
n1000v(config-port-prof)# vmware port-group testgroup
n1000v(config-port-prof)#
This example shows how to remove the VMware port group:
n1000v#
configure terminal
n1000v(config)# port-profile testprofile
n1000v(config-port-prof)# no vmware port-group testgoup
n1000v(config-port-prof)#
|
|
---|---|
show port-profile name |
Displays configuration information about a particular port-profile. |
To create an extension key, use the vmware vc extension-key command.
vmware vc extension-key key
key |
Extension key number. The range of valid values is 1 to 80. |
The key does not exist.
Global Configuration (config)
network-admin
|
|
4.0(4)SV1(1) |
This command was introduced. |
An extension key is used to connect to an instance of Virtual Center.
This example shows how to create an extension key:
n1000v# configure terminal
n1000v(config)# vmware vc extension-key 10
n1000v(config)#
|
|
---|---|
show vmware vc extension-key |
Displays extension key information. |