This document describes how to configure Fibre Channel over Ethernet (FCoE) connectivity between Virtual Interface Card (VIC) adapters installed on Cisco Unified Computing System (UCS) rack servers and Cisco Nexus 5500 (Nexus 5K) Series Switches. Two sample topologies include Cisco Fabric Extender (FEX) devices, and one sample topology does not.
Cisco recommends that you have knowledge of these topics:
This configuration exists in the environment:
Refer to the configuration guide of each specific hardware device for limitations and compatibility information.
The information in this document is based on these software and hardware versions:
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
This is an overview of the configuration process:
The server can be deployed in one of these three topologies:
The document provides sample configurations for FCoE connectivity for each topology.
Even though this document focuses on the FCoE configuration on VIC adapters and Nexus 5K switches, it also includes the required basic configuration on the vPC and of the FCoE features for completeness.
The topology in this example uses Virtual Storage Area Network (VSAN) 100 and VSAN 200 as two SAN fabrics. These VSANs are created on the A side and the B side of the Nexus 5K switch and are mapped to FCoE VLANS 100 and 200, respectively.
For a new setup, this procedure describes how to perform the basic configuration on the Nexus 5K switches:
5548-switch# configure terminal
5548-switch(config)# feature lldp
5548-switch(config)# feature lacp
5548-switch(config)# feature fcoe
5548-switch(config)# feature fex
5548-switch(config)# feature vpc
5548-switch(config)# end
5548-switch# configure terminal
5548-switch(config)# vpc domain 150
5548-switch (config-vpc-domain)# peer-keepalive destination <peer-switch-ip>
source <source-ip> vrf management
5548-switch(config-vpc-domain)# interface port-channel 150
5548-switch(config-if)# switchport mode trunk
5548-switch(config-if)# vpc peer-link
5548-switch(config-if)# no shut
5548-switch-A # configure terminal
5548-switch-A(config)# vsan database
5548-switch-A(config-vsan-db)#vsan 100
5548-switch-A(config)#exit
5548-switch-A(config)#vlan 100
5548-switch-A(config-vlan)#fcoe vsan 100
5548-switch-B # configure terminal
5548-switch-B(config)#vsan database
5548-switch-B(config-vsan-db)#vsan 200
5548-switch-B(config)#exit
5548-switch-B(config)#vlan 200
5548-switch-B(config-vlan)#fcoe vsan 200
Configure the VIC adapter on the UCS server. This procedure describes how to apply this configuration to all Cisco VIC (P81E or VIC 1225 or VIC 1225T) adapters:
The server can be deployed in one of three topologies. This section describes how to configure the Nexus 5K switches based on your topology.
Common configuration guidelines for all three topologies are:
This document provides sample configurations for Fabric A; you should perform a similar configuration on the other switch for Fabric B.
In this scenario, the Nexus 5K switches are in the vPC, and the server CNA ports are directly connected to both Nexus 5K switches. This procedure describes the configuration for this topology:
N5548UP-A(config)# int eth 1/1
N5548UP-A(config-if)# channel-group 1
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exit
N5548UP-A# configure terminal
N5548UP-A(config)# interface port-channel 1
N5548UP-A(config-if)# switchport mode trunk
N5548UP-A(config-if)# switchport trunk native vlan 10
N5548UP-A(config-if)# switchport trunk allowed vlan 10,100
N5548UP-A(config-if)# spanning-tree port type edge trunk
N5548UP-A(config-if)# vpc 1
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exit
N5548UP-A(config)# int vfc 1
N5548UP-A(config-if)# bind interface ethernet 1/1
N5548UP-A(config-if)# switchport trunk allowed vsan 100
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exitN5548UP-A(config)# vsan database
N5548UP-A(config-vsan-db)# vsan 100 interface vfc 1
N5548UP-A(config-vsan-db)# end
N5548UP-A# show run int port-channel 1 membership
interface port-channel 1
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan 10,100
spanning-tree port type edge trunk
speed 10000
vpc 1
interface Ethernet1/1
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan 10,100
channel-group 1
N5548UP-A# show run int vfc 1
interface vfc1
bind interface Ethernet1/1
switchport trunk allowed vsan 100
no shutdown
In this scenario, the FEX is connected to the Nexus 5K switch in straight-through mode, and the CNA is connected to the FEX ports. This procedure describes the configuration for this topology:
Straight-through FEX configuration:
Repeat Steps 1-4 on the B side of the Nexus 5K switch, and use the same vPC interface number under the HIF port channel.
N5548UP-A# configure terminal
N5548UP-A(config)# fex 101
N5548UP-A(config-fex)# exit
N5548UP-A(config)# interface ethernet 1/5 - 6
N5548UP-A(config-if-range)# channel-group 210
N5548UP-A(config-if-range)#no shut
N5548UP-A(config-if-range)# exit
N5548UP-A(config)# interface port-channel 210
N5548UP-A(config-if)# switchport mode fex-fabric
N5548UP-A(config-if)# fex associate 101
N5548UP-A(config-if)#no shut
N5548UP-A(config-if)# exit
<---Create HIF port-channel-->
N5548UP-A(config-if)# interface ethernet 101/1/1
N5548UP-A(config-if)# channel-group 1
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exit
<---Configure port-channel parameters-->
N5548UP-A(config)# interface port-channel 1
N5548UP-A(config-if)#switchport mode trunk
N5548UP-A(config-if)# switchport trunk native vlan 10
N5548UP-A(config-if)# switchport trunk allowed vlan 10,100
N5548UP-A(config-if)# spanning-tree port type edge trunk
N5548UP-A(config-if)# vpc 10
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exit
<---Create vfc interfvace and bind to port-channel (Ethernet interface)-->
N5548UP-A(config)# int vfc 1
N5548UP-A(config-if)# bind interface ethernet 101/1/1
N5548UP-A(config-if)# switchport trunk allowed vsan 100
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exit
<---Associate vfc interface to corresponding VSAN ID-->
N5548UP-A(config)# vsan database
N5548UP-A(config-vsan-db)# vsan 100 interface vfc 1
N5548UP-A(config-vsan-db)# end
N5548UP-A# show run int port-channel 210 membership
interface port-channel210
switchport mode fex-fabric
fex associate 101
interface Ethernet1/5
switchport mode fex-fabric
fex associate 101
channel-group 210
interface Ethernet1/6
switchport mode fex-fabric
fex associate 101
channel-group 210
N5548UP-A# show int fex
Fabric Fabric Fex FEX
Fex Port Port State Uplink Model Serial
---------------------------------------------------------------
101 Eth1/5 Active 1 N2K-C2232PP-10GE SSI142602QN
101 Eth1/6 Active 2 N2K-C2232PP-10GE SSI142602QN
N5548UP-A# show run int port-channel 1 membership
interface port-channel 1
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan 10,100
spanning-tree port type edge trunk
speed 10000
vpc 10
interface Ethernet101/1/1
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan 10,100
channel-group 1
N5548UP-A# show run int vfc 1
interface vfc1
bind interface Ethernet101/1/1
switchport trunk allowed vsan 100
no shutdown
In this scenario, the FEX is connected to the Nexus 5K switch in enhanced vPC mode, and the CNA is connected to the FEX ports.
SAN Fabric A traffic (FCoE VLAN 100) is associated with FEX 101 / A side of the Nexus 5K switch. SAN Fabric B traffic (FCoE VLAN 200) is associated with FEX 102 / B side of the Nexus 5K switch.
For a two member host port channel, you must configure HIF ports on both FEX devices on both Nexus 5K switches; that is, a total of four HIF port configurations are required.
This procedure describes the configuration for this topology:
Active - Active FEX configuration:
N5548UP-A# configure terminal
N5548UP-A(config)# fex 101
N5548UP-A(config-fex)# fcoe
N5548UP-A(config-fex)# exit
N5548UP-A(config)# interface ethernet 1/3 - 4
N5548UP-A(config-if-range)# channel-group 201
N5548UP-A(config-if-range)#no shut
N5548UP-A(config-if-range)# exit
N5548UP-A(config)# interface port-channel 201
N5548UP-A(config-if)# switchport mode fex-fabric
N5548UP-A(config-if)# fex associate 101
N5548UP-A(config-if)# vpc 201
N5548UP-A(config-if)#no shut
N5548UP-A(config-if)# exit
N5548UP-A# configure terminal
N5548UP-A(config)# fex 102
N5548UP-A(config-fex)# exit
N5548UP-A(config)# interface ethernet 1/5 - 6
N5548UP-A(config-if-range)# channel-group 202
N5548UP-A(config-if-range)#no shut
N5548UP-A(config-if-range)# exit
N5548UP-A(config)# interface port-channel 202
N5548UP-A(config-if)# switchport mode fex-fabric
N5548UP-A(config-if)# fex associate 102
N5548UP-A(config-if)# vpc 202
N5548UP-A(config-if)#no shut
N5548UP-A(config-if)# exit
N5548UP-B# configure terminal
N5548UP-B(config)# fex 102
N5548UP-B(config-fex)# fcoe
N5548UP-B(config-fex)# exit
N5548UP-A(config-if)# interface ethernet 101/1/1
N5548UP-A(config-if)# channel-group 1
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exit
N5548UP-A(config)# interface ethernet 102/1/1
N5548UP-A(config-if)# channel-group 1
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exit
N5548UP-A(config)# interface port-channel 1
N5548UP-A(config-if)#switchport mode trunk
N5548UP-A(config-if)# switchport trunk native vlan 10
N5548UP-A(config-if)# switchport trunk allowed vlan 10,100
N5548UP-A(config-if)# spanning-tree port type edge trunk
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exit
<---Create vfc interface and bind to port-channel member (ethernet interface)-->
N5548UP-A(config)# int vfc 1
N5548UP-A(config-if)# bind interface ethernet 101/1/1
N5548UP-A(config-if)# switchport trunk allowed vsan 100
N5548UP-A(config-if)# no shut
N5548UP-A(config-if)# exit
<---Associate vfc interface to corresponding VSAN ID-->
N5548UP-A(config)# vsan database
N5548UP-A(config-vsan-db)# vsan 100 interface vfc 1
N5548UP-A(config-vsan-db)# end
N5548UP-A# show fex
FEX FEX FEX FEX
Number Description State Model Serial
------------------------------------------------------------------------
101 FEX0101 Online N2K-C2232PP-10GE SSI142602QN
102 FEX0102 Online N2K-C2232PP-10GE SSI14260EVV
N5548UP-A# show interface fex
Fabric Fabric Fex FEX
Fex Port Port State Uplink Model Serial
---------------------------------------------------------------
101 Eth1/3 Active 2 N2K-C2232PP-10GE SSI142602QN
102 Eth1/4 Active 1 N2K-C2232PP-10GE SSI14260EVV
N5548UP-A# show fex 101 detail
FEX: 101 Description: FEX0101 state: Online
FEX version: 6.0(2)N2(1) [Switch version: 6.0(2)N2(1)]
FEX Interim version: 6.0(2)N2(1)
Switch Interim version: 6.0(2)N2(1)
Extender Serial: SSI142602QN
FCoE Admin: true
FCoE Oper: true
FCoE FEX AA Configured: true
N5548UP-A# show run interface port-channel 1 membership
interface port-channel1
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan 10,100
spanning-tree port type edge trunk
speed 10000
interface Ethernet102/1/1
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan 10,100
spanning-tree port type edge trunk
channel-group 1
interface Ethernet101/1/1
switchport mode trunk
switchport trunk native vlan 10
switchport trunk allowed vlan 10,100
spanning-tree port type edge trunk
channel-group 1
N5548UP-A# show int vfc 1
vfc1 is trunking
Bound interface is Ethernet101/1/1
Port WWN is 20:00:54:7f:ee:e1:6a:bf
Admin port mode is F, trunk mode is on
Port mode is TF
Port vsan is 100
Trunk vsans (admin allowed and active) (100)
Trunk vsans (up) (100)
Trunk vsans (isolated) ()
Trunk vsans (initializing) ()
N5548UP-A# show run int port-channel 201 membership
interface port-channel201
switchport mode fex-fabric
fex associate 101
vpc 201
interface Ethernet1/3
switchport mode fex-fabric
fex associate 101
channel-group 201
interface Ethernet1/4
switchport mode fex-fabric
fex associate 101
channel-group 201
N5548UP-A# show run int port-channel 202 membership
interface port-channel202
switchport mode fex-fabric
fex associate 102
vpc 202
interface Ethernet1/5
switchport mode fex-fabric
fex associate 102
channel-group 202
interface Ethernet1/6
switchport mode fex-fabric
fex associate 102
channel-group 202
This screen shot from the server boot sequence validates the switch configuration as the VIC firmware successfully detects the LUN and updates the boot table:
Verification procedures are included within the configuration examples.
This section provides information you can use in order to troubleshoot your configuration.
Perform these checks in order to determine if the VFC is coming up:
Use these commands in order to verify the configuration:
Revision | Publish Date | Comments |
---|---|---|
1.0 |
25-Mar-2014 |
Initial Release |