S Commands

switchport trunk allowed vsan

To allow a virtual SAN list for a virtual Fibre Channel (VFC) interface, use the switchport trunk allowed vsan command. To return to the default setting, use the no form of this command.

switchport trunk allowed vsan vsan-id

no switchport trunk allowed vsan vsan-id

Syntax Description

vsan-id

VSAN ID. The range is from 1 to 4093.

Command Default

None.

Command Modes


Interface configuration mode.

Command History

Release

Modification

5.2(1)

This command was introduced on the Cisco Nexus 7000 and MDS 9500 Series Switches.

Usage Guidelines

None.

Examples

This example shows how to allow a VSAN list for a VFC interface:

switch# configure terminal
switch(config)# interface vfc 1
switch(config-if)# switchport trunk allowed vsan 1
switch(config-if)#
This example shows how to add VSAN 100 to the allowed list:
switch(config-if)# switchport trunk allowed vsan add 100
switch(config-if)#

spanning-tree fcoe

To enable the Spanning Tree Protocol (STP) for FCoE VLAN, use the spanning-tree fcoe command. To disable the STP for FCoE VLAN, use the no form of the command.

spanning-tree fcoe

no spanning-tree fcoe

Syntax Description

This command has no arguments or keywords.

Command Default

Enabled

Command Modes


Global configuration mode

Command History

Release

Modification

5.2(1)

This command was introduced on the Cisco Nexus 7000 Series Switches.

Usage Guidelines

The STP Lite feature, which is automatically enabled, runs on both FCoE shared and dedicated links in the FCoE VLANs and ensures rapid convergence across the network by sending an agreement BPDU whenever it receives a proposal BPDU. If you want to disable this feature for troubleshooting purposes, enter the no spanning-tree fcoe command.

This command is only available on F-Series Modules when FCoE is enabled.

We recommend that you configure the interface on the peer side of the FCoE link as an STP-type edge port. Ensure that the peer interface is not configured as an STP-type network port.


Note

This feature runs only in FCoE VLANs.

Examples

This example shows how to enable the STP for FCoE VLANs:

switch# configure terminal
switch(config)# spanning-tree fcoe
switch(config)# 

This example shows how to disable the STP lite in the FCoE VLANs if you need to do troubleshooting:

switch# configure terminal
switch(config)# no spanning-tree fcoe
switch(config)#