Configuring Virtual Ethernet Interfaces
-------------------------------------------------------------------------------
Veth1
Veth2
switch#
Example: show running-config interface veth1
This example shows how to display the running configuration information for all vEthernet interfaces:
switch# show running-config interface veth1
version 4.2(1)SV1(4)
interface Vethernet1
inherit port-profile vlan48
description gentoo1, Network Adapter 1
vmware dvport 2968 dvswitch uuid "d4 02 20 50 16 4b 36 97-46 09 dc d8 5b c6 1e c1"
vmware vm mac 0050.56A0.0000
switch#
Monitoring the vEthernet Interface Configuration
Use one of the following commands to monitor the vEthernet interface configuration:
Command
show interface [vethernet interface-number]
counters
show interface [ vethernet interface-number]
counters detailed [all]
show interface [vethernet interface-number]
counters errors
This example shows how to display the counters for all vEthernet interfaces:
switch# show interface counters
--------------------------------------------------------------------------------
Port
--------------------------------------------------------------------------------
mgmt0
Eth8/2
Veth1
control0
--------------------------------------------------------------------------------
Port
--------------------------------------------------------------------------------
mgmt0
Eth8/2
Veth1
control0
--------------------------------------------------------------------------------
Port
--------------------------------------------------------------------------------
mgmt0
Eth8/2
Veth1
control0
DVPort5747
static
DVPort3361
static
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
Monitoring the vEthernet Interface Configuration
up
none
up
none
Purpose
Displays the interface incoming and outgoing
counters.
Displays detailed information for all counters.
If all is not specified, only nonzero counters
Note
are shown.
Displays the interface error counters.
InOctets
224396010
1106222375
2700
155152164
InMcastPkts
148552
15051
0
999
OutOctets
14803330
164990676
820595312
251243
InUcastPkts
562676
703688
0
501981
InBcastPkts
656058
2093981
45
119539
OutUcastPkts
56509
514040
17385
0
43