Verifying the configuration, Vsan configuration example, Network requirements – H3C Technologies H3C S12500-X Series Switches User Manual
Page 86
77
# Configure Switch B to operate in FCF mode, and enable the fabric configuration function in
VSAN 2.
[SwitchB] fcoe-mode fcf
[SwitchB] vsan 2
[SwitchB-vsan2] domain configure enable
# Configure the domain ID as 2.
[SwitchB-vsan2] domain-id 2 static
Non-disruptive reconfiguration or isolating the switch may be performed. Continu
e? [Y/N]:y
# Enable FSPF globally.
[SwitchB-vsan2] fspf enable
[SwitchB-vsan2] quit
# Create interface VFC 1, and configure it to operate in E mode.
[SwitchB] interface vfc 1
[SwitchB-Vfc1] fc mode e
# Bind interface VFC 1 to interface Ten-GigabitEthernet 1/0/1, and assign it to VSAN 2 as a trunk
port.
[SwitchB-Vfc1] bind interface ten-gigabitethernet 1/0/1
[SwitchB-Vfc1] port trunk vsan 2
[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
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 2.
[SwitchB] vlan 10
[SwitchB-vlan10] fcoe enable vsan 2
[SwitchB-vlan10] quit
# Enable FSPF on interface VFC 1.
[SwitchB] interface vfc 1
[SwitchB-Vfc1] port trunk vsan 2
[SwitchB-Vfc1] undo fspf silent vsan 2
[SwitchB-Vfc1] quit
Verifying the configuration
# Display FSPF neighbor information on Switch A.
[SwitchA] display fspf neighbor
FSPF neighbor information of VSAN 2(01):
Interface NbrDomain IfIndex NbrIfIndex Dead Time State
Vfc1 2 0x68 0x68 00:01:06 Full
# Display information about the FC routing table on Switch A.
[SwitchA] display fc routing-table vsan 2
Routing Table: VSAN 2