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.
To shut down the local traffic on an interface, use the shutdown command. To return the interface to its default operational state, use the no form of this command.
shutdown
no shutdown
This command has no arguments or keywords.
Not shut down
Interface configuration mode
Subinterface configuration mode
Virtual Ethernet interface configuration mode
Release |
Modification |
---|---|
5.2(1)N1(1) |
This command was introduced. |
You can use this command on the following interfaces:
Note | Use the no switchport command to configure an interface as a Layer 3 interface. |
This example shows how to shut down, or disable, a Layer 2 interface:
switch(config)# interface ethernet 1/10 switch(config-if)# shutdown switch(config-if)#
This example shows how to shut down a Layer 3 Ethernet subinterface:
switch(config)# interface ethernet 1/5.1 switch(config-if)# shutdown switch(config-if)#
This example shows how to shut down a virtual Ethernet interface:
switch(config)# interface vethernet 10 switch(config-if)# shutdown switch(config-if)#
Command |
Description |
---|---|
no switchport |
Converts an interface to a Layer 3 routed interface. |
show interface ethernet |
Displays the Ethernet interface configuration information. |
show interface port-channel |
Displays information on traffic about the specified EtherChannel interface. |
show interface vethernet |
Displays the virtual Ethernet interface configuration information. |
To shut down the local traffic on a virtual Ethernet interface, use the shutdown command. To return a virtual Ethernet interface to its default operational state, use the no form of this command.
shutdown
no shutdown
This command has no arguments or keywords.
Not shut down
Virtual Ethernet interface configuration mode
Release |
Modification |
---|---|
5.1(3)N1(1) |
This command was introduced. |
This example shows how to shut down, or disable, a virtual Ethernet interface:
switch# configure terminal switch(config)# interface vethernet 10 switch(config-if)# shutdown switch(config-if)#
Command |
Description |
---|---|
show interface vethernet |
Displays the virtual Ethernet interface configuration information. |
To configure the transmit and receive speed for an interface, use the speed command. To reset to the default speed, use the no form of this command.
speed { 10 | 100 | 1000 | 10000 | auto }
no speed
10 |
Sets the interface speed to 10 Mbps. This speed is not supported on Cisco Nexus 5500 Series switches. |
100 |
Sets the interface speed to 100 Mbps. This speed is not supported on a management interface, Cisco Nexus 5500 Series switches, or the CU-96 CEM card. |
1000 |
Sets the interface speed to 1 Gbps. For the Cisco Nexus 5596T switch, the base board ports support 1 Gbps. |
10000 |
Sets the interface speed to 10 Gbps. This is the default speed. This speed is not supported on a management interface. For the Cisco Nexus 5596T switch, the base board ports support 10 Gbps. |
auto |
Specifies that the speed of the interface is auto negotiated. For the Cisco Nexus 5596T switch, you can choose auto negotiation on the 10GBase-T ports. |
The default speed is 10000 (10-Gigabit).
Interface configuration mode
Release |
Modification |
---|---|
5.2(1)N1(1) |
This command was introduced. |
The first 32 ports of a Cisco Nexus 5596T switch are switchable 1-Gigabit and 10-Gigabit ports. You can also configure them to auto-negotiate to either 1-Gigabit or 10-Gigabit. The last ports 33-48 are SFP+ ports and do not support auto negotiation.
Note | On the Cisco Nexus 5000 Series switches and 6000 Series switches with 1-Gigabit Ethernet SFP transceiver, you must configure the no negotiation auto command to disable auto negotiation. |
This example shows how to set the speed for a 1-Gigabit Ethernet port:
switch# configure terminal switch(config)# interface ethernet 2/1 switch(config-if)# speed 1000
This example shows how to set the speed for a 1-Gigabit Ethernet port:
switch# configure terminal switch(config)# interface ethernet 1/5 switch(config-if)# speed auto switch(config-if)#
Command |
Description |
---|---|
show interface |
Displays the interface configuration information. |
To configure all Layer 2 switchports to be Layer 3 routed ports, use the system default switchport shutdown command. To reset to the default of all Layer 2 swithports, use the no form of this command.
system default switchport shutdown
no system default switchport shutdown
This command has no arguments or keywords.
The default is all ports configured as Layer 2 switchports.
Global configuration mode
Release |
Modification |
---|---|
5.2(1)N1(1) |
This command was introduced. |
When the system default switchport shutdown command is issued, any switchports (including FEX HIFs) that are not configured with no shutdown command are shut down. To avoid the shutdown, configure the switchports with no shutdown command.
This example shows how to set all ports as Layer 3 routed ports:
switch# configure terminal switch(config)# system default switchport shutdown switch(config)#
This example shows how to reset all ports back to Layer 2 switchports:
switch# configure terminal switch(config)# system default switchport shutdown switch(config)#
Command |
Description |
---|---|
show interface |
Displays the interface configuration information. |