Cisco Nexus 6000 Series NX-OS Interfaces Command Reference
S Commands
Downloads: This chapterpdf (PDF - 103.0KB) The complete bookPDF (PDF - 1.28MB) | Feedback

S Commands

Table Of Contents

S Commands

shutdown

speed (interface)

system default switchport shutdown


S Commands


This chapter describes the Cisco NX-OS interface commands that begin with S.

shutdown

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

Syntax Description

This command has no arguments or keywords.

Command Default

Not shut down

Command Modes

Interface configuration mode
Subinterface configuration mode
Virtual Ethernet interface configuration mode

Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.


Usage Guidelines

You can use this command on the following interfaces:

Layer 2 interface (Ethernet interface, EtherChannel interface, subinterface)

Layer 3 interface


Note Use the no switchport command to configure an interface as a Layer 3 interface.


Layer 3 subinterface

Management interface

Virtual Ethernet interface

Examples

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-subif)# shutdown 
switch(config-subif)# 
 
   

This example shows how to shut down a virtual Ethernet interface:

switch(config)# interface vethernet 10 
switch(config-if)# shutdown 
switch(config-if)# 
 
   

Related Commands

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.


speed (interface)

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

Syntax Description

10

Sets the interface speed to 10 Mbps.

100

Sets the interface speed to 100 Mbps.

This speed is not supported on a management interface or the CU-96 CEM card.

1000

Sets the interface speed to 1 Gbps.

10000

Sets the interface speed to 10 Gbps. This is the default speed.

This speed is not supported on a management interface.

auto

Specifies that the speed of the interface is auto negotiated.


Command Default

The default speed is 10000 (10-Gigabit).

Command Modes

Interface configuration mode

Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.


Usage Guidelines

The first 8 ports of a Cisco Nexus 5010 switch and the first 16 ports of a Cisco Nexus 5020 switch are switchable 1-Gigabit and 10-Gigabit ports. The default interface speed is 10-Gigabit. To configure these ports for 1-Gigabit Ethernet, insert a 1-Gigabit Ethernet SFP transceiver into the applicable port and then set its speed with the speed command.

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.

Examples

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 an interface port to automatically negotiate the speed:

switch# configure terminal
switch(config)# interface ethernet 1/5
switch(config-if)# speed auto
switch(config-if)#
 
   

Related Commands

Command
Description

show interface

Displays the interface configuration information.


system default switchport shutdown

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

Syntax Description

This command has no arguments or keywords.

Command Default

The default is all ports configured as Layer 2 switchports.

Command Modes

Global configuration mode

Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.


Examples

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)# 
 
   

Related Commands

Command
Description

show interface

Displays the interface configuration information.