PurposeCommand or Action
(Optional)
Displays the current configuration of interfaces.
switch( config-if)# show
interface interface
Step 3
The interface argument is defined as follows:
•
For an Ethernet port, use the ethernet slot/port command,
where slot is the module slot number and port is the port
number.
•
For the management interface, use the mgmt 0 or mgmt0
command.
•
For a vEthernet port, use the vethernet number command,
where number is a number from 1 to 1048575.
This example shows how to specify an interface to configure:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# show interface ethernet 3/1
switch(config-if)#
Configuring a Description
You can add a description to an Ethernet, vEthernet, or management interface.
Before You Begin
•
Log in to the CLI in EXEC mode.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode for the specified
interface.
switch(config)# interface interface
Step 2
Adds a description of up to 80 alphanumeric characters
for the interface and saves it in the running
configuration.
switch(config-if)# description string
Step 3
(Optional)
Displays the interface status, which includes the
description.
switch(config-if)# show interface
interface
Step 4
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
14
Configuring Interface Parameters
Configuring a Description