R211x-HP Flexfabric 11900 FCoE Configuration Guide
75
<SwitchC> system-view
[SwitchC] fcoe-mode fcf
[SwitchC] vsan 1
[SwitchC-vsan1] domain configure enable
# Configure the domain ID as 3.
[SwitchC-vsan1] domain-id 3 static
Non-disruptive reconfiguration or isolating the switch may be performed. Continu
e? [Y/N]:y
[SwitchC-vsan1] quit
# Create interface VFC 2, and configure it to operate in E mode.
[SwitchC] interface vfc 2
[SwitchC-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.
[SwitchC-Vfc2] bind interface ten-gigabitethernet 1/0/2
[SwitchC-Vfc2] port trunk vsan 1
[SwitchC-Vfc2] quit
# Assign interface Ten-GigabitEthernet 1/0/2 to VLAN 10 as a trunk port.
[SwitchC] interface ten-gigabitethernet 1/0/2
[SwitchC-Ten-GigabitEthernet1/0/2] port link-type trunk
[SwitchC-Ten-GigabitEthernet1/0/2] port trunk permit vlan 10
[SwitchC-Ten-GigabitEthernet1/0/2] quit
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1.
[SwitchC] vlan 10
[SwitchC-vlan10] fcoe enable vsan 1
[SwitchC-vlan10] quit
# Configure two static routes.
[SwitchC] vsan 1
[SwitchC-vsan1] fc route-static 010000 8 vfc 2
[SwitchC-vsan1] fc route-static 020000 8 vfc 2
[SwitchC-vsan1] quit
# Permit the members in the default zone in VSAN 1 to access each other.
[SwitchC] vsan 1
[SwitchC-vsan1] zone default-zone permit
[SwitchC-vsan1] quit
Verifying the configuration
# Display the FC routing table in VSAN 1 on Switch A.
[SwitchA] display fc routing-table vsan 1
Routing Table: VSAN 1
Destinations : 6 Routes : 6
Destination/mask Protocol Preference Cost Interface
0x020000/8 STATIC 10 0 Vfc1
0x030000/8 STATIC 10 0 Vfc1
0xfffc01/24 DIRECT 0 0 InLoop0
0xfffffa/24 DIRECT 0 0 InLoop0










