Configuring switch b, Configuring switch c – H3C Technologies H3C S5830V2 Series Switches User Manual
Page 197
186
# Assign VFC 1 to VSAN 100 as a trunk port.
[SwitchA-Vfc1] port trunk vsan 100
[SwitchA-Vfc1] quit
# Create interface VFC 10.
[SwitchA] interface vfc 10
# Configure the mode of VFC 10 as E.
[SwitchA-Vfc10] fc mode e
# Bind VFC 10 to Layer 2 aggregate interface 1.
[SwitchA-Vfc10] bind interface bridge-aggregation 1
# Assign VFC 10 to VSAN 100 as a trunk port.
[SwitchA-Vfc10] port trunk vsan 100
# Enable FSPF for VFC 10.
[SwitchA-Vfc10] undo fspf silent vsan 100
[SwitchA-Vfc10] 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
# 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
Configuring Switch B
Configure Switch B is a similar way Switch A is configured. The differences are that:
•
The aggregate interface configured on Switch A is Layer 2 aggregate interface 1.
•
The aggregate interface configured on Switch B is Layer 2 aggregate interface 2.
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.)
[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