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 5000 Series 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

4.0(1a)N2(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

5.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.

 

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

4.0(1a)N2(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.