S Commands


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

spf-interval

To configure an interval for shortest-path-first (SPF) generation, use the spf-interval command. To return to the default setting, use the no form of this command.

spf-interval {spf-max-wait | spf-initial-wait | spf-second-wait}

no spf-interval {spf-max-wait | spf-initial-wait | spf-second-wait}

Syntax Description

spf-max-wait

Maximum interval (in seconds) between two consecutive occurrences of a link-state packet (LSP) being generated. The range is from 50 to 120000.

spf-initial-wait

Initial LSP generation delay (in milliseconds). The range is from 50 to 120000.

spf-second-wait

Hold time between the first and second LSP generation (in milliseconds). The range is from 50 to 120000.


Command Default

The defaults are as follows:

spf-max-wait: 8000

spf-initial-wait: 50

spf-second-wait: 50

Command Modes

FabricPath IS-IS configuration mode

Command History

Release
Modification

5.1(3)N1(1)

This command was introduced.


Usage Guidelines

This command requires an Enhanced Layer 2 license.

Examples

This example shows how to configure an interval for SPF generation:

switch# configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
switch(config)# fabricpath domain default
switch(config-fabricpath-isis)# spf-interval 9000 60 70
switch(config-fabricpath-isis)#

Related Commands

Command
Description

fabricpath domain default

Enables FabricPath Layer 2 IS-IS.


switchport mode fabricpath

To configure interfaces as FabricPath ports, use the switchport mode fabricpath command. To return the interfaces to the default settings, use the no form of this command.

switchport mode fabricpath

no switchport mode

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Interface configuration mode
Virtual Ethernet interface configuration mode

Command History

Release
Modification

5.1(3)N1(1)

This command was introduced.


Usage Guidelines


Note The no keyword returns the interface to the default Classical IEEE 802.1Q Ethernet (CE) switchport access interface. The FabricPath ports carry traffic only for those VLANs configured as FabricPath VLANs.


This command requires an Enhanced Layer 2 license.

Examples

This example shows how to configure specific interfaces as FabricPath ports:

switch# configure terminal
switch(config)# interface ethernet 2/11-15
switch(config-if)# switchport mode fabricpath
switch(config-if)# no shutdown
switch(config-if)#
 
   

This example shows how to configure a virtual Ethernet interface as a FabricPath port:

switch# configure terminal
switch(config)# interface vethernet 1
switch(config-if)# switchport mode fabricpath
switch(config-if)# no shutdown
switch(config-if)#
 
   

Related Commands

Command
Description

show interface brief

Displays a brief summary of the interface status and information.


system default switchport fabricpath

To configure the default port mode as FabricPath, use the system default switchport fabricpath command. To return to the default settings, use the no form of this command.

system default switchport fabricpath

no system default switchport fabricpath

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Global configuration mode

Command History

Release
Modification

5.1(3)N1(1)

This command was introduced.


Usage Guidelines

This command requires an Enhanced Layer 2 license.

Examples

This example shows how to configure the default port mode as FabricPath:

switch# configure terminal
switch(config)# system default switchport fabricpath
switch(config)#
 
   

Related Commands

Command
Description

show running-config

Displays the running system configuration information.