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 contains the following sections:
Information About the Basic Interface Parameters
For the vEthernet, and management interfaces, you can configure the description parameter to provide a name for the interface. Using a unique name for each interface allows you to quickly identify the interface when you are looking at a listing of multiple interfaces.
By default, the description for vEthernet interfaces is automatically formatted to contain information about the connected device. The description for a virtual Network Interface Card (vNIC), for example, contains the VM name and network adapter number. You keep this default description or you can override it with a description of your choosing.
The administrative-status parameter determines whether an interface is up or down. When an interface is administratively down, it is disabled and unable to transmit data. When an interface is administratively up, it is enabled and able to transmit data.
Interface parameters have the following guidelines and limitations:
You can use this procedure to specify an interface to configure.
You are logged in to the CLI in EXEC mode.
switch# configure terminal switch(config)# interface vethernet 5 switch(config-if)# show interface vethernet 5 switch(config-if)#
You can use this procedure to add a description to an interface.
The following example shows how to set the interface description:
switch# configure terminal switch(config)# interface vethernet 5 switch(config-if)# description vEthernet on module 5 switch(config-if)#
You can use this procedure to shut down and restart interfaces.
The following example shows how to shut down vethernet interafce:
switch# configure terminal switch(config)# interface vethernet 5 switch(config-if)# shutdown switch(config-if)# no shutdown switch(config-if)#
You can use this procedure to clear the interface counters.
You are logged in to the CLI in EXEC mode, configuration mode, or interface configuration mode.
The following example shows how to clear and reset the counters on vethernet 5:
switch# clear counters vethernet 5 switch#
Use one of the following commands to verify the configuration:
Command | Purpose |
---|---|
show interface interface |
Displays the configured states of one or all interfaces. |
show interface brief |
Displays a table of interface states. |
show interface switchport |
Displays the status of Layer 2 ports. |
Feature Name |
Releases |
Feature Information |
---|---|---|
Basic interface parameters |
Release 5.2(1)IC1(1.1) |
This feature was introduced. |