beautypg.com

H3C Technologies H3C S5830V2 Series Switches User Manual

Page 48

background image

37

# 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

# Create interface VFC 1.

[SwitchA] interface vfc 1

# Configure the mode of VFC 1 as F.

[SwitchA-Vfc1] fc mode f

# Bind VFC 1 to interface Ten-GigabitEthernet 1/0/1.

[SwitchA-Vfc1] bind interface

ten-gigabitethernet 1/0/1

# Assign VFC 1 to VSAN 10 as a trunk port.

[SwitchA-Vfc1] port trunk vsan 10

[SwitchA-Vfc1] quit

# Configure Ten-GigabitEthernet 1/0/1 as a trunk port, and assign the port to VLAN 10.

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

[SwitchA-Ten-GigabitEthernet1/0/1] port link-type trunk

[SwitchA-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10

[SwitchA-Ten-GigabitEthernet1/0/1] quit

# Create interface VFC 2.

[SwitchA] interface vfc 2

# Configure the mode of VFC 2 as F.