Quick-setup instructions
FCoE CN switches have dual capabilities in that they serve as both an Ethernet switch and an FC switch. You must perform a setup procedure to achieve the desired function.
If you are familiar with the FCoE CN switch vendor’s FC switches, then you are familiar with the commands required to configure that portion of the FCoE CN switch setup. The procedures in this section are intended as a quick-start guide to configuring the FCoE ports on an FCoE CN switch to access the FC ports on the FCoE CN switch and other attached FC switches.
2408 FCoE Converged
Network Switch quick setupThis procedure is intended for users who are familiar with Brocade FC switches and have experience merging B-series FC switches into an existing FC fabric. Use this procedure to enable servers with CNAs attached to the 2408 FCoE Converged Network Switches to access devices on the attached B-series FC fabric.
IMPORTANT:
If you are not familiar with Brocade FC switches or you do not have experience merging B-series FC switches into an existing FC fabric, use the detailed instructions found in the switch user guide to set up your switch.
1. Configure Link Layer Discovery Protocol (LLDP) for FCoE (common to all CEE ports).
switch:admin> cmsh
switch# enable
switch# config terminal
switch(config)# protocol lldp
switch(conf-lldp)# advertise dcbx-fcoe-app-tlv
switch(conf-lldp)# advertise dcbx-fcoe-logical-link-tlv
switch(conf-lldp)# exit
2. Create a CEE map to carry
LAN traffic (60%) and SAN traffic (40%) (common to all CEE ports).
switch(config)# cee-map default
switch(conf-ceemap)# priority-group-table 1 weight 40 pfc
switch(conf-ceemap)# priority-group-table 2 weight 60
switch(conf-ceemap)# priority-table 2 2 2 1 2 2 2 2
switch(conf-ceemap)# exit
3. Create an FCoE virtual LAN (VLAN) for traffic to and from the FC fabric (required for FCoE).
switch(config)# vlan classifier rule 1 proto fcoe encap ethv2
switch(config)# vlan classifier group 1 add rule 1
switch(config)# interface vlan 5 (Can be any VLAN number other than 1)
switch(conf-if-vl-5)# fcf forward
switch(conf-if-vl-5)# exit
4. Configure interfaces (required for each port being configured).
switch(config)# interface tengigabitethernet 0/0 Change Port ID
switch(config-if-te-0/0)# switchport
switch(config-if-te-0/0)# switchport mode access
switch(config-if-te-0/0)# vlan classifier activate group 1 vlan 5 FCoE Required (Step 3 VLAN)
switch(config-if-te-0/0)# qos flowcontrol pfc 3 tx on rx on
switch(config-if-te-0/0)# cee-map default
switch(config-if-te-0/0)# exit
5. Repeat Step 4 for each interface you are configuring.
6. Perform a port shutdown/no shutdown operation (required for each port for the configuration change to be enabled).
switch(config)# interface tengigabitethernet 0/0 Change Port ID
switch(config-if-te-0/0)# shutdown
switch(config-if-te-0/0)# no shutdown
switch(config-if-te-0/0)# exit
7. Repeat Step 6 for each interface you are configuring.
8. Save the running configuration to boot flash.
switch(config)# exit
switch# copy running-config startup-config
Overwrite the startup config file (y/n): y
Building configuration...
switch#
9. Verify that the CEE port link status and VLAN status are correct.
switch# show ip interface brief
Interface IP-Address Status Protocol
========= ========== ====== ========
TenGigabitEthernet 0/0 unassigned up up
switch#show vlan brief
VLAN Name State Ports
(u)-Untagged, (t)-Tagged
======= ================ ======= ===============================
1 default ACTIVE Te 0/0(u)…
5 VLAN0005 ACTIVE Te 0/0(u)…
switch# exit
switch:admin>
10. Verify the status of the FC and FCoE virtual FC ports.
BR8000-01:admin> switchshow
switchName: BR8000-01
(Deleted Output)
Area Port Media Speed State Proto
====================================
0 0 id N4 Online FC E-Port (Trunk port, master is Port 1 )
1 1 id N4 Online FC E-Port 10:00:00:05:1e:36:2a:70 "BR48-02" (Trunk master)
2 2 id N4 Online FC E-Port (Trunk port, master is Port 3 )
3 3 id N4 Online FC E-Port 10:00:00:05:1e:36:2a:70 "BR48-02" (upstream)(Trunk master)
4 4 id N8 No_Light FC
5 5 id N8 No_Light FC
6 6 id N8 No_Light FC
7 7 id N8 No_Light FC
8 8 -- 10 Online FCoE F-Port 5 NPIV public
9 9 -- 10 Online FCoE F-Port 4 NPIV public
10 10 -- 10 Online FCoE F-Port 4 NPIV public
11 11 -- 10 Online FCoE F-Port 4 NPIV public
12 12 -- 10 Online FCoE F-Port 3 NPIV public
13 13 -- 10 Online FCoE F-Port 2 NPIV public
NOTE:
Ports 8 through 13 are the virtual FC ports. To display the FCoE virtual FC devices connected to those ports, enter the following command for ports 8 through 13.
BR8000-01:admin> fcoe --loginshow 8 (Repeat for ports 9—13)
Number of connected devices: 4
=====================================================================================
===========================
Peer Type Connect Device WWN Device MAC Session MAC
FCoE Port MAC TE port
=====================================================================================
===========================
FCOE_DEVICE Direct 21:01:00:1b:32:20:fe:0c 00:c0:dd:0a:bb:35 0e:fc:00:04:08:04
00:05:1e:76:7b:00 Te 0/1
FCOE_DEVICE Direct 21:01:00:1b:32:20:1d:0d 00:c0:dd:0a:bd:b9 0e:fc:00:04:08:01
00:05:1e:76:7b:01 Te 0/3
FCOE_DEVICE Direct 10:00:00:00:c9:76:f2:b9 00:00:c9:76:f2:b9 0e:fc:00:04:08:02
00:05:1e:76:7b:02 Te 0/2
FCOE_DEVICE Direct 10:00:00:00:c9:76:f2:55 00:00:c9:76:f2:55 0e:fc:00:04:08:03
00:05:1e:76:7b:03 Te 0/0
BR8000-01:admin
HP C-series Nexus 5010/20 Converged Network Switch quick setupThis procedure is intended for users who are familiar with Cisco MDS FC switches and have experience merging C-series MDS FC switches into an existing MDS FC fabric. Use this procedure to enable servers with CNAs attached to the HP C-series Nexus 5010/20 Converged Network Switch to access devices on the attached C-series FC fabric.
IMPORTANT:
If you are not familiar with Cisco FC switches or you do not have experience merging C-series FC switches into an existing FC fabric, use the detailed instructions found in the switch user guide to set up your switch.
HP recommends that you use the virtual Fibre Channel (VFC) port assignments listed in Table 9.
Table 9 Recommended VFC port assignments
In the following examples, FCoE is enabled on a C-series Nexus 5010 Converged Network Switch, VLAN 200 is created, and the Ethernet ports are bound to a virtual SAN (VSAN 2) from an 8-port FC expansion module. The commands are the same for the HP C-series Nexus 5020 Switch.
To establish CNA connectivity and enable login to the HP C-series Nexus 5000 Converged Network Switch, configure the IEEE DCB ports as follows:
1.Enable FCoE (disabled by default).
NOTE:
The C-series Nexus 5000 Converged Network Switch will require a reload (reboot).
Nexus5010# configure terminal
Nexus5010(config)# feature fcoe
Nexus5010(config)# 2009 Apr 1 12:05:06 Nexus5010 %$ VDC-1 %$ %PLATFORM-2-FC_LICENSE_DESIRED: FCoE/FC feature will be enabled after the configuration is saved followed by a reboot
Nexus5010(config)# exit
Nexus5010# copy running-config startup-config
[########################################] 100%
Packaging and storing to flash: \
Packaging and storing to flash: |
Packaging and storing to flash: /
Nexus5010# reload
WARNING: This command will reboot the system
Do you want to continue? (y/n) [n] y
The system is going down for reboot NOW!
2. Create a new VLAN for FCoE.
By default, all ports are in VLAN 1, however, you must use a different VLAN for FCoE. In the following example, VLAN 200 is created with access to Ethernet ports 1/1 to 1/20, and VFC ports 1–20 are also created.
NOTE:
In the last section of this example, 1/1-20 indicates that the commands that follow apply to multiple ports (in this case, ports 1/1 through 1/20). All 20 ports are set for switchport mode trunk, and switchport trunk allowed is set for VLANs 1 and 200.
Nexus5010# configure terminal
Nexus5010(config)# vlan 200
Nexus5010(config-vlan)# exit
Nexus5010(config)# exit
Nexus5010# show vlan brief
VLAN Name Status Ports
---- -------------------------------- ------- -------------------------
1 default active Eth1/1, Eth1/2, Eth1/3,
Eth1/4, Eth1/5, Eth1/6,
Eth1/7, Eth1/8, Eth1/9,
Eth1/10, Eth1/11, Eth1/12,
Eth1/13, Eth1/14, Eth1/15,
Eth1/16, Eth1/17, Eth1/18,
Eth1/19, Eth1/20
200 VLAN0200 active
Nexus5010# configure terminal
Nexus5010(config)# interface ethernet 1/1-20
Nexus5010(config-if-range)# switchport mode trunk
Nexus5010(config-if-range)# switchport trunk allowed vlan 1, 200
Nexus5010(config-if-range)# interface vfc 1-20
Nexus5010(config-if-range)# exit
3. Create a new VSAN that includes the FC and VFC ports.
By default, all ports are in VSAN 1. HP recommends that you use a different VSAN for SAN connectivity. In this example, VSAN 2 is created and includes FC ports 2/1 through 2/8 and VFC ports 1 through 20.
NOTE:
VFC ports must be FCoE ports. FC ports cannot be VFC ports.
Nexus5010(config)# vsan database
Nexus5010(config-vsan-db)# vsan 2
Nexus5010(config-vsan-db)# vsan 2 interface fc2/1-8
Nexus5010(config-vsan-db)# vsan 2 interface vfc 1-20
Nexus5010(config-vsan-db)# exit
Nexus5010(config)# exit
Nexus5010# show vsan membership
vsan 1 interfaces:
vsan 2 interfaces:
fc2/1 fc2/2 fc2/3 fc2/4 fc2/5 fc2/6 fc2/7 fc2/8
vfc1 vfc2 vfc3 vfc4 vfc5 vfc6 vfc7 vfc8
vfc9 vfc10 vfc11 vfc12 vfc13 vfc14 vfc15 vfc16
vfc17 vfc18 vfc19 vfc20
vsan 4094(isolated_vsan) interfaces:
4. Associate the VLAN with the VSAN.
In this example, VLAN 200 is associated with VSAN 2.
Nexus5010# configure terminal
Nexus5010(config)# vlan 200
Nexus5010(config-vlan)# fcoe vsan 2
Nexus5010(config-vlan)# exit
Nexus5010(config)# exit
Nexus5010# show vlan fcoe
VLAN VSAN Status
-------- -------- --------
200 2 Operational
5. Bind each VFC port to a unique Ethernet port by issuing the following commands on each port:
• interface vfc n
• bind interface ethernet slot/port
• exit
NOTE:
Depending on your switch, up to 52 VFC ports may be available.
In Example 1, VFC ports 1 through 8 are created and are bound to Ethernet ports 1/1 through 1/8, respectively. Example 2 shows a more complex configuration in which the VFC ports are not sequential.
Example 1. Creating and binding consecutive VFC ports
Nexus5010# configure terminal
Nexus5010(config)# interface vfc 1
Nexus5010(config-if)# bind interface ethernet 1/1
Nexus5010(config-if)# exit
Nexus5010(config)# interface vfc 2
Nexus5010(config-if)# bind interface ethernet 1/2
Nexus5010(config-if)# exit
Nexus5010(config)# interface vfc 3
Nexus5010(config-if)# bind interface ethernet 1/3
Nexus5010(config-if)# exit
Nexus5010(config)# interface vfc 4
Nexus5010(config-if)# bind interface ethernet 1/4
Nexus5010(config-if)# exit
Nexus5010(config)# interface vfc 5
Nexus5010(config-if)# bind interface ethernet 1/5
Nexus5010(config-if)# exit
Nexus5010(config)# interface vfc 6
Nexus5010(config-if)# bind interface ethernet 1/6
Nexus5010(config-if)# exit
Nexus5010(config)# interface vfc 7
Nexus5010(config-if)# bind interface ethernet 1/7
Nexus5010(config-if)# exit
Nexus5010(config)# interface vfc 8
Nexus5010(config-if)# bind interface ethernet 1/8
Nexus5010(config-if)# exit
Nexus5010(config)# interface vfc 1-8
Nexus5010(config-if)# no shutdown
Nexus5010(config-if)# exit
IMPORTANT:
Example 2 is provided for reference only. It shows an alternate method of performing this step.
In Example 2, VFC ports 1 through 6, 10, and 20 through 25 are created, and each VFC port is bound to an Ethernet port. Because the VFC ports are not sequential, multiple interface vfc commands are required.
Example 2. Creating and binding nonconsecutive VFC ports
Nexus5020# configure terminal
Nexus5020(config)# interface vfc 1
Nexus5020(config-if)# bind interface ethernet 1/1
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 2
Nexus5020(config-if)# bind interface ethernet 1/2
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 3
Nexus5020(config-if)# bind interface ethernet 1/3
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 4
Nexus5020(config-if)# bind interface ethernet 1/4
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 5
Nexus5020(config-if)# bind interface ethernet 1/5
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 6
Nexus5020(config-if)# bind interface ethernet 1/6
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 10
Nexus5020(config-if)# bind interface ethernet 1/10
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 20
Nexus5020(config-if)# bind interface ethernet 1/20
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 21
Nexus5020(config-if)# bind interface ethernet 1/21
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 22
Nexus5020(config-if)# bind interface ethernet 1/22
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 23
Nexus5020(config-if)# bind interface ethernet 1/23
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 24
Nexus5020(config-if)# bind interface ethernet 1/24
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 25
Nexus5020(config-if)# bind interface ethernet 1/25
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 1-6
Nexus5020(config-if)# no shutdown
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 10
Nexus5020(config-if)# no shutdown
Nexus5020(config-if)# exit
Nexus5020(config)# interface vfc 20-25
Nexus5020(config-if)# no shutdown
Nexus5020(config-if)# exit
6. Enable the FC ports.
In this example, FC ports 2/1 through 2/8 are enabled.
Nexus5010(config)# interface fc 2/1-8
Nexus5010(config-if)# no shutdown
Nexus5010(config-if)# exit
Nexus5010(config)# exit
7. Copy the running configuration to the startup configuration location.
Nexus5010# copy running-config startup-config
[########################################] 100%
8. Copy the running configuration to a
backup location.
Nexus5010# copy running-config ftp://10.10.20.1/backup.txt
Glossary of terms:3PO - third-party option
CEE - converged enhanced Ethernet
CN - converged network
CNA - converged network adapter
DCB - Data Center Bridging
EoR - End of Row (switch)
FC - Fibre Channel
FCoE - Fibre Channel over Ethernet
FIP - FCoE Initialization Protocol
FOS - Fabric Operating System (Brocade)
FPMA - Fabric Provided Mac Addressing
IOS - Internetwork Operating System (Cisco)
ISL - interswitch link
LLDP - Link Layer Discovery Protocol
NIC - network interface card
RHEL - Red Hat Enterprise Linux
RU - rack unit
SAN - storage area network
SAN-OS - SAN Operating System (Cisco)
SFP+ - small form-factor pluggable, plus (transceiver)
SLES - SUSE Linux Enterprise Server
ToR - Top of Rack (switch)
unified fabric - IEEE DCB enabled network (Cisco)
VFC - virtual Fibre Channel
VLAN - virtual LAN