S Commands

This chapter describes the Cisco NX-OS commands that begin with S that are used to manage a Cisco Nexus 2000 Series Fabric Extender from a Cisco Nexus 5600 switch.

serial

To assign a serial number to a Fabric Extender, use the serial command. To remove the serial number, use the no form of this command.

serial serial_string

no serial

 
Syntax Description

serial_string

Serial number string for the Fabric Extender. The string is alphanumeric, case sensitive, and has a maximum length of 20 characters.

 
Command Default

None

 
Command Modes

Fabric extender configuration mode

 
Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.

 
Usage Guidelines

The serial number string you define with the serial command must match the serial number of the Fabric Extender. If you configure a serial number and then you use the fex associate command to associate the corresponding chassis ID to the switch, the association will succeed only if the Fabric Extender reports a matching serial number string.


Caution Configuring a serial number other than that of the given Fabric Extender will force the Fabric Extender offline.

Examples

This example shows how to specify a serial number for a Fabric Extender:

switch# configure terminal
switch(config)# fex 101
switch(config-fex)# serial Rack16_FEX101
 

This example shows how to remove a serial number from a Fabric Extender:

switch# configure terminal
switch(config)# fex 101
switch(config-fex)# no serial
 

 
Related Commands

Command
Description

fex

Creates a Fabric Extender and enters fabric extender configuration mode.

fex associate

Associates a Fabric Extender to an Ethernet or EtherChannel interface.

show fex

Displays all configured Fabric Extender chassis connected to the switch.

 

slot

To enable preprovisioning on a slot in a chassis, use the slot command. To disable the slot for preprovisioning, use the no form of this command.

slot slot-number

no slot slot-number

 
Syntax Description

slot-number

Slot number in the chassis. The range is from 2 to 199.

 
Command Default

None

 
Command Modes

Global configuration mode
Configuration synchronization mode

 
Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.

 
Usage Guidelines

Use this command to enable preprovisioning of features or interfaces of a module on a slot in a chassis. Preprovisioning allows you to configure features or interfaces (Ethernet, Fibre Channel) on modules before the modules are inserted in the switch chassis.

Examples

This example shows how to enable a chassis slot for preprovisioning of a module:

switch(config)# slot 2
switch(config-slot)#
 

This example shows how to disable a chassis slot for preprovisioning of a module:

switch(config)# no slot 2
switch(config)#
 

 
Related Commands

Command
Description

port

Configures ports as Ethernet, native Fibre Channel or Fibre Channel over Ethernet (FCoE) ports.

provision

Preprovisions a module in a slot.

show running-config exclude-provision

Displays the running configuration excluding the preprovisioned features.

 

speed

To configure the port speed, use the speed command. To reset to the default speed, use the no form of this command.

speed { 10 | 100 | 1000 | 10000 | 100000 | 40000 | auto [ 100 ] }

no speed

 
Syntax Description

10

Sets the speed to 10 Mbps.

100

Sets the speed to 100 Mbps.

1000

Sets the speed to 1 Gbps.

10000

Sets the speed to 10 Gbps.

100000

Sets the speed to 100 Gbps.

40000

Sets the speed to 40 Gbps.

auto

Auto negotiates the speed of the port.

auto [ 100 ]

Auto negotiates the speed to 100 Mbps.

 
Command Default

The default speed is 10 Gbps.

 
Command Modes

Interface configuration mode

 
Command History

Release
Modification

7.3(2)N(1)

The auto 100 keyword was added

6.0(2)N1(1)

This command was introduced.

 
Usage Guidelines

From Cisco NX-OS Release 7.3(2)N1(1), the speed 100 command for ports with 1G Cu SFP GLC-T is supported only by Cisco Nexus 2348UPQ 10GE Fabric Extender, and the speed auto 100 command is supported only by Cisco Nexus 2248TP-E Fabric Extender.

Examples

This example shows how to set the speed to 100 Mbps:

switch(config)# interface ethernet 2/2
switch(config-if)# speed 100
 

This example shows how to set an interface port to automatically negotiate the speed to 100 Mbps:

switch(config)# interface ethernet 2/2
switch(config-if)# speed auto 100
 

 
Related Commands

Command
Description

show interface

Displays the interface configuration information.

 

switchport mode fex-fabric

To set the interface type to be an uplink port for a Fabric Extender, use the switchport mode fex-fabric command.

switchport mode fex-fabric

no switchport mode fex-fabric

 
Syntax Description

This command has no arguments or keywords.

 
Command Default

None

 
Command Modes

Interface configuration mode

 
Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.

Examples

This example shows how to set an Ethernet interface to be an uplink port for a Fabric Extender:

switch# configure terminal
switch(config)# interface ethernet 1/40
switch(config-if)# switchport mode fex-fabric
 

This example shows how to set an EtherChannel interface to be an uplink port for a Fabric Extender:

switch# configure terminal
switch(config)# interface port-channel 4
switch(config-if)# switchport mode fex-fabric
 

 
Related Commands

Command
Description

fex associate

Associates a Fabric Extender to an Ethernet or EtherChannel interface.

show fex

Displays all configured Fabric Extender chassis connected to the switch.