PurposeCommand or Action
(Optional)
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
switch(config-if)# copy
running-config startup-config
Step 5
This example shows how to enable a vEthernet interface:
switch# configure terminal
switch(config)# interface vethernet 100
switch(config-if)# no shutdown
switch(config-if)# show interface veth100 status
--------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
--------------------------------------------------------------------------------
Veth100 -- up 1 auto auto --
switch(config-if)#
Verifying the vEthernet Interface Configuration
Use one of the following commands to verify the configuration:
PurposeCommand
Displays the vEthernet interface configuration.
show interface vethernet interface-number [brief |
counters [detailed [all] | errors] | description |
mac-address | status [ down | err-disabled | inactive
| module num | up ] | switchport]
Displays the complete interface configuration.
show interface [vethernet interface-number]
Displays the abbreviated interface configuration.
show interface [vethernet interface-number] brief
Displays the interface description.
show interface [vethernet interface-number]
description
Displays the interface MAC address.
For vEth interfaces, this command shows
the MAC address of the connected device.
Note
show interface [vethernet interface-number]
mac-address
Displays the interface line status.
show interface [vethernet interface-number] status
[down | err-disabled | inactive | module num | up]
Displays interface switchport information.
show interface [vethernet interface-number]
switchport
Displays virtual interfaces only.
show interface virtual [vm [vm_name] | vmk | vswif]
[module mod_no]
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
41
Configuring Virtual Ethernet Interfaces
Verifying the vEthernet Interface Configuration