fcoe

To associate a Cisco Nexus 2000 Series Fabric Extender (FEX) to a switch for pinning Fibre Channel over Ethernet (FCoE) Initialization Protocol (FIP) and FCoE traffic, use the fcoe command. To remove the association, use the no form of this command.

fcoe [ vsan vsan-id ]

no fcoe [ vsan ]

Syntax Description

vsan vsan-id
Specifies the VSAN status. The VSAN ID range is from 1 to 4094.

Command Default

None

Command Modes

FEX configuration mode
VLAN configuration mode

Command History

Release
Modification
5.1(3)N1(1)
This command was introduced.

Usage Guidelines

Before you use this command, make sure that you enable the Fabric Extender (FEX) features on the switch by using the feature fex command.

You can use this command only on a Cisco Nexus 2232P Fabric Extender. When you bind an interface to a virtual Fibre Channel interface to enable FCoE traffic, you must use slot number 1. The port number can be from 1 to 32.

Examples

This example shows how to configure a FEX as FCoE enabled:

switch# configure terminal
switch(config)# feature fex
switch(config)# fex 100
switch(config-fex)# fcoe
switch(config-fex)#
 

This example shows how to configure a pair of FEXs to carry FCoE traffic in a fabric virtual port channel (vPC) topology, with the host uplink ports in the FEXs configured to the same port channel:

switch# configure terminal
switch(config)# feature lacp
switch(config)# feature fex
switch(config)# feature fcoe
switch(config)# fex 100
switch(config-fex)# fcoe
switch(config-fex)# exit
switch(config)# interface vfc 1
switch(config-if)# bind interface eth101/1/1
switch(config)# interface eth101/1/1
switch(config-if)# channel-group 1
switch(config)# fex 102
switch(config-fex)# fcoe
switch(config)# interface vfc 1
switch(config-if)# bind interface eth102/1/1
switch(config)# interface eth102/1/1
switch(config-if)# channel-group 1
switch(config-if)#
 

This example shows how to configure FCoE traffic on a VLAN:

switch# configure terminal
switch(config)# vlan 5
switch(config-vlan)# fcoe vsan 1
switch(config-vlan)#
 

This example shows how to disable FCoE traffic on a FEX:

switch# configure terminal
switch(config)# fex 100
switch(config-fex)# no fcoe
switch(config-fex)#
 

Related Commands

Command
Description
feature fcoe
Enables the FCoE feature on the switch.
feature fex
Enables the FEX feature on the switch.
feature lacp
Enables the Link Aggregation Control Protocol (LACP).
show fex
Displays information about a specific FEX.