Configuration procedure – H3C Technologies H3C S5830V2 Series Switches User Manual
Page 131
120
Configuration procedure
1.
Configure the Transit switch:
# Configure the switch to operate in advanced mode. (Skip this step if the switch is operating in
advanced mode.)
[Transit] 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.
[Transit] 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.
[Transit] quit
# Reboot the switch.
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 Transit mode.
[Transit] fcoe-mode transit
# Enable FIP snooping for VLAN 10.
[Transit] vlan 10
[Transit-vlan10] fip-snooping enable
# Configure an FC-MAP value of 0x0EFC01 for VLAN 10.
[Transit-vlan10] fip-snooping fc-map 0efc01
[Transit-vlan10] quit
# Configure interface Ten-GigabitEthernet 1/0/1 to allow VLAN 10.
[Transit] interface ten-gigabitethernet 1/0/1
[Transit-Ten-GigabitEthernet1/0/1] port link-type trunk
[Transit-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10
# Configure interface Ten-GigabitEthernet 1/0/1 to operate in ENode mode.
[Transit-Ten-GigabitEthernet1/0/1] fip-snooping port-mode enode
[Transit-Ten-GigabitEthernet1/0/1] quit
# Configure interface Ten-GigabitEthernet 1/0/2 to allow VLAN 10.
[Transit] interface ten-gigabitethernet 1/0/2
[Transit-Ten-GigabitEthernet1/0/2] port link-type trunk
[Transit-Ten-GigabitEthernet1/0/2] port trunk permit vlan 10
# Configure interface Ten-GigabitEthernet 1/0/2 to operate in FCF mode.
[Transit-Ten-GigabitEthernet1/0/2] fip-snooping port-mode fcf