beautypg.com

Configuring switch c – H3C Technologies H3C S5830V2 Series Switches User Manual

Page 184

background image

173

[SwitchA-Vfc11] quit

# Enable FCoE for VLAN 4001, and map VLAN 4001 to VSAN 100.

[SwitchA] vlan 4001

[SwitchA-vlan4001] fcoe enable vsan 100

[SwitchA-vlan4001] quit

# Enable FCoE for VLAN 4002, and map VLAN 4002 to VSAN 200.

[SwitchA] vlan 4002

[SwitchA-vlan4002] fcoe enable vsan 200

[SwitchA-vlan4002] quit

# Enter the view of VSAN 100, and configure the members in the default zone to access each
other.

[SwitchA] vsan 100

[SwitchA-vsan100] zone default-zone permit

[SwitchA-vsan100] quit

# Enter the view of VSAN 200, and configure the members in the default zone to access each
other.

[SwitchA] vsan 200

[SwitchA-vsan200] zone default-zone permit

[SwitchA-vsan200] quit

Configuring Switch C

1.

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

advanced mode.)

system-view

[SwitchC] 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.

[SwitchC] 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.

[SwitchC] 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...

2.

Configure VLANs and interfaces:
# Create 4001, which is intended to transmit storage traffic.

system-view

[SwitchC] vlan 4001