Verifying the configuration – H3C Technologies H3C S5830V2 Series Switches User Manual
Page 121
110
[SwitchB] 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.
[SwitchB] 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.
[SwitchB] 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 FCF mode.
[SwitchB] fcoe-mode fcf
# Create VSAN 1.
[SwitchB] vsan 1
[SwitchB-vsan1] quit
# Change Ethernet interface Ten-GigabitEthernet 1/0/3 into FC interface FC 1/0/3.
[SwitchB] interface ten-gigabitethernet 1/0/3
[SwitchB-Ten-GigabitEthernet1/0/3] port-type fc
# Configure the mode of interface FC 1/0/3 as F.
[SwitchB-Fc1/0/3] fc mode f
# Configure interface FC 1/0/3 to autonegotiate the speed.
[SwitchB-Fc1/0/3] speed auto
# Configure the trunk mode of interface FC 1/0/3 as On, and assign interface FC 1/0/3 to
VSAN 1 as a trunk port.
[SwitchB-Fc1/0/3] port trunk mode on
[SwitchB-Fc1/0/3] port trunk vsan 1
[SwitchB-Fc1/0/3] quit
# Enable FCoE for VLAN 10, and map VLAN 10 to VSAN 1.
[SwitchB] vlan 10
[SwitchB-vlan10] fcoe enable vsan 1
[SwitchB-vlan10] quit
Verifying the configuration
# Display the nodes on downlink interfaces and their mapped uplink interfaces.
[SwitchA] display npv login
Server External
Interface VSAN FCID Node WWN Port WWN Interface