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

Page 165

Advertising
background image

154

# Bind VFC 11 to Layer 2 aggregate interface 2.

[SwitchA-Vfc11] bind interface bridge-aggregation 2

# Assign VFC 11 to VSAN 200 as a trunk port.

[SwitchA-Vfc11] port trunk vsan 200

# Enable FSPF for VFC 11.

[SwitchA-Vfc11] undo fspf silent vsan 200

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

Configure the switch to operate in advanced mode, save the configuration, and reboot the switch.

(Skip this step if the switch is operating in advanced mode.)

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

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

Slot 1:

Save next configuration file successfully.

[SwitchC] quit

<SwitchC> reboot

Start to check configuration with next startup configuration file, please

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

Current configuration will be lost after the reboot, save current configuration?

[Y/N]:y

Advertising