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), 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 ]
Global configuration (config).
|
|
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 show portlog information, use the following command:
To show all entries in the specified portlog, use the following command:
vemportlog show all cookie portlog_number
To show the last number_of_entries entries in the specified portlog, use the following command:
vemportlog show last number_of_entries cookie portlog_number
To show a continuous tail, similar to the tail -f command in UNIX, use the following command:
To show the port bring up events and logs for the specified LTL number, use the following command:
vemportlog show ltl ltl_number
Specifies the number of entries to show, starting from the last entry. |
|
|
|
This example shows the output of the vemportlog show info command:
This example shows the port bringup logs for LTL number 49:
|
|
---|---|
Displays all of the VEM logs, including port bring up events. |
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#
configure terminal
This example shows how to remove version 9 from the Netflow flow exporter:
n1000v#
configure terminal
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 | configuration id | dot1Q tag native | filter access_map vlan-list id }
no vlan { id | configuration id | dot1Q tag native | filter access_map vlan-list id }
|
|
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 configure a VXLAN UDP destination port, use the vxlan udp port command. To remove a VXLAN UDP destination port, use the no form of this command.
no vlan udp port [port_number]
|
|
This example shows how to configure a VXLAN UDP destination port:
This example shows how to remove a VXLAN UDP destination port: