H3C Technologies H3C S5830V2 Series Switches User Manual
Page 155
144
# Enable the fabric configuration function for VSAN 1.
[SwitchC] vsan 1
[SwitchC-vsan1] domain configure enable
# Configure the domain ID as 3 for the switch.
[SwitchC-vsan1] domain-id 3 static
[SwitchC-vsan1] quit
# Change Ethernet interface Ten-GigabitEthernet 1/0/2 into FC interface FC 1/0/2.
[SwitchC] interface ten-gigabitethernet 1/0/2
[SwitchC-Ten-GigabitEthernet1/0/2] port-type fc
# Configure the mode of interface FC 1/0/2 as E.
[SwitchC-Fc1/0/2] fc mode e
# Configure interface FC 1/0/2 to autonegotiate the speed.
[SwitchC-Fc1/0/2] speed auto
# Configure the trunk mode of interface FC 1/0/2 as On, and assign interface FC 1/0/2 to
VSAN 1 as a trunk port.
[SwitchC-Fc1/0/2] port trunk mode on
[SwitchC-Fc1/0/2] port trunk vsan 1
[SwitchC-Fc1/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
# Disable FSPF for VSAN 1.
[SwitchC] vsan 1
[SwitchC-vsan1] undo fspf enable
4.
On Switch A, use the fcping command to ping Switch C and identify whether Switch C is
reachable.
[SwitchA-vsan1] fcping fcid fffc03 vsan 1
FCPING fcid 0xfffc03: 128 data bytes, press CTRL_C to break.
Request time out
Request time out
Request time out
Request time out
Request time out
--- 0xfffc03 fcping statistics ---
5 packet(s) transmitted
0 packet(s) received
100.00% packet loss
The output shows that Switch A cannot reach Switch C.
5.
Use the fctracert command to identify the faulty node.
[SwitchA-vsan1] fctracert fcid fffc03 vsan 1
Route present for: 0xfffc03, press CTRL_C to break
20:00:00:0b:46:00:02:82(0xfffc01)
20:00:00:05:30:00:18:db(0xfffc02)
Fctracert uncompleted: no route to destination port.