beautypg.com

Configuration procedure – H3C Technologies H3C S5830V2 Series Switches User Manual

Page 45

background image

34

ports, so that the link between the two FC switches can send and receive the frames of the two

VSANs at the same time.

Configuration procedure

This section describes only the VSAN configurations.

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

system to make it effective.

# Save the configuration.

[SwitchA] save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

[SwitchA] quit

# Reboot the switch.

reboot

Start to check configuration with next startup configuration file, please

wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

# Configure the switch to operate in FCF mode.

system-view

[SwitchA] fcoe-mode fcf

# Create VSAN 10 and VSAN 20.

[SwitchA] vsan 10

[SwitchA-vsan10] quit

[SwitchA] vsan 20

[SwitchA-vsan20] quit

# Change Ethernet interface Ten-GigabitEthernet 1/0/1 into FC interface FC 1/0/1.

[SwitchA] interface ten-gigabitethernet 1/0/1

[SwitchA-Ten-GigabitEthernet1/0/1] port-type fc

# Configure the mode of interface FC 1/0/1 as F.

[SwitchA-Fc1/0/1] fc mode f

# Configure interface FC 1/0/1 to autonegotiate the speed.

[SwitchA-Fc1/0/1] speed auto

# Assign FC interface FC 1/0/1 to VSAN 10 as an access port.

[SwitchA-Fc1/0/1] port access vsan 10

[SwitchA-Fc1/0/1] quit

# Change Ethernet interface Ten-GigabitEthernet 1/0/2 into FC interface FC 1/0/2.