beautypg.com

Verifying the configuration, Network requirements, Configuration procedure – H3C Technologies H3C S5830V2 Series Switches User Manual

Page 146

background image

135

[SwitchB-Fc1/0/1] port trunk vsan 1

[SwitchB-Fc1/0/1] 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

# Configure a static route on Switch B.

[SwitchB] vsan 1

[SwitchB-vsan1] fc route-static 010000 8 fc 1/0/1

Verifying the configuration

Identify whether Switch A and Switch B can reach each other.
# On Switch A, use the fcping command to ping Switch B and identify whether Switch B is reachable.

[SwitchA-vsan1] fcping fcid fffc02 vsan 1

FCPING fcid 0xfffc02: 128 data bytes, press CTRL_C to break.

Reply from 0xfffc02: bytes = 128 time = 23 ms

Reply from 0xfffc02: bytes = 128 time = 9 ms

Reply from 0xfffc02: bytes = 128 time = 19 ms

Reply from 0xfffc02: bytes = 128 time = 14 ms

Reply from 0xfffc02: bytes = 128 time = 25 ms

--- 0xfffc02 fcping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 9/18/25 ms

FC ping configuration examples by using VFC interfaces

Network requirements

Identify whether Switch A and Switch B can reach each other.

Figure 40 Network diagram

Configuration procedure

1.

Configure Switch A:
# Configure the switch to operate in advanced mode. (Skip this step if the switch is operating in
advanced mode.)

system-view

[SwitchA] system-working-mode advance

Do you want to change the system working mode? [Y/N]:y

The system working mode is changed, please save the configuration and reboot the

Switch A

Switch B

Domain ID: 1

Domain ID: 2

VFC1
XGE1/0/1

VFC1

XGE1/0/1