PurposeCommand
Displays mappings between the virtual Ethernet and
VMware DVPort.
show interface virtual port-mapping [vm [name] |
vmk | vswif | description] [module_num]
Example: show interface vethernet
This example shows how to display vEthernet 1:
switch# show interface veth1
Vethernet1 is up
Port description is gentoo1, Network Adapter 1
Hardware is Virtual, address is 0050.56bd.42f6
Owner is VM "gentoo1", adapter is Network Adapter 1
Active on module 33
VMware DVS port 100
Port-Profile is vlan48
Port mode is access
Rx
491242 Input Packets 491180 Unicast Packets
7 Multicast Packets 55 Broadcast Packets
29488527 Bytes
Tx
504958 Output Packets 491181 Unicast Packets
1 Multicast Packets 13776 Broadcast Packets 941 Flood Packets
714925076 Bytes
11 Input Packet Drops 0 Output Packet Drops
switch#
Example: show interface virtual
This example shows how to display information for all vEthernet interfaces:
switch# show interface virtual
--------------------------------------------------------------------------------
Port Adapter Owner Mod Host
--------------------------------------------------------------------------------
Veth1 Vm1-kl61 2
Veth2 VM1-kl65 5
Veth3 VM2-kl61 2
Veth1 Net Adapter 1 austen-gentoo1 33 austen-strider.austen.
Veth2 Net Adapter 2 austen-gentoo1 33 austen-strider.austen.
switch#
Example: show interface virtual description
This example shows how to display the descriptions for all vEthernet interfaces:
switch# show interface virtual description
--------------------------------------------------------------------------------
Interface Description
--------------------------------------------------------------------------------
Veth1 gentoo1, Network Adapter 1
Veth2 gentoo1, Network Adapter 2
Veth3 VMware VMkernel, vmk1
Veth4 VMware Service Console, vswif1
switch#
Example: show interface virtual port-mapping
This example shows how to display the virtual port mapping for all vEthernet interfaces:
switch# show interface virtual port-mapping
-------------------------------------------------------------------------------
Port Hypervisor Port Binding Type Status Reason
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
42
Configuring Virtual Ethernet Interfaces
Verifying the vEthernet Interface Configuration