R211x-HP Flexfabric 11900 FCoE Configuration Guide

45
# Enable interface Ten-GigabitEthernet 1/0/1 to automatically negotiate with its peer to decide
whether to enable PFC, enable PFC for 802.1p priority 3, and configure Ten-GigabitEthernet
1/0/1 to trust the 802.1p priority carried in packets.
[SwitchB-Ten-GigabitEthernet1/0/1] priority-flow-control auto
[SwitchB-Ten-GigabitEthernet1/0/1] priority-flow-control no-drop dot1p 3
[SwitchB-Ten-GigabitEthernet1/0/1] qos trust dot1p
[SwitchB-Ten-GigabitEthernet1/0/1] quit
# Create interface VFC 1, and configure it to operate in F mode.
[SwitchB] interface vfc 1
[SwitchB-Vfc1] fc mode f
# Bind interface VFC 1 to interface Ten-GigabitEthernet 1/0/1, and assign it to VSAN 1 as a trunk
port.
[SwitchB-Vfc1] bind interface ten-gigabitethernet 1/0/1
[SwitchB-Vfc1] port trunk vsan 1
[SwitchB-Vfc1] quit
# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 10 as a trunk port.
[SwitchB] interface ten-gigabitethernet 1/0/1
[SwitchB-Ten-GigabitEthernet1/0/1] port link-type trunk
[SwitchB-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10
[SwitchB-Ten-GigabitEthernet1/0/1] quit
# Create interface VFC 2, and configure it to operate in E mode.
[SwitchB] interface vfc 2
[SwitchB-Vfc2] fc mode e
# Bind interface VFC 2 to interface Ten-GigabitEthernet 1/0/2, and assign it to VSAN 1 as a trunk
port.
[SwitchB-Vfc2] bind interface ten-gigabitethernet 1/0/2
[SwitchB-Vfc2] port trunk vsan 1
[SwitchB-Vfc2] quit
# Assign interface Ten-GigabitEthernet 1/0/2 to VLAN 10 as a trunk port.
[SwitchB] interface ten-gigabitethernet 1/0/2
[SwitchB-Ten-GigabitEthernet1/0/2] port link-type trunk
[SwitchB-Ten-GigabitEthernet1/0/2] port trunk permit vlan 10
[SwitchB-Ten-GigabitEthernet1/0/2] quit
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1.
[SwitchB] vlan 10
[SwitchB-vlan10] fcoe enable vsan 1
[SwitchB-vlan10] quit
# Permit the members in the default zone in VSAN 1 to access each other.
[SwitchB] vsan 1
[SwitchB-vsan1] zone default-zone permit
[SwitchB-vsan1] quit
Verifying the configuration
1. Verify the configuration on Switch A.
[SwitchA] display fc domain vsan 1