beautypg.com

Verifying the configuration – H3C Technologies H3C S5830V2 Series Switches User Manual

Page 125

background image

114

Saved the current configuration to mainboard device successfully.

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

# Configure the switch to operate in FCF mode.

system-view

[SwitchB] fcoe-mode fcf

# Create VSAN 1.

[SwitchB] vsan 1

[SwitchB-vsan1] quit

# Create interface VFC 3.

[SwitchB] interface vfc 3

# Configure the mode of VFC 3 as F.

[SwitchB-Vfc3] fc mode f

# Bind VFC 3 to interface Ten-GigabitEthernet 1/0/3.

[SwitchB-Vfc3] bind interface ten-gigabitethernet 1/0/3

# Assign VFC 3 to VSAN 1 as a trunk port.

[SwitchB-Vfc3] port trunk vsan 1

[SwitchB-Vfc3] quit

# Configure Ten-GigabitEthernet 1/0/3 as a trunk port, and assign the port to VLAN 10.

[SwitchB] interface ten-gigabitethernet 1/0/3

[SwitchB-Ten-GigabitEthernet1/0/3] port link-type trunk

[SwitchB-Ten-GigabitEthernet1/0/3] port trunk permit vlan 10

[SwitchB-Ten-GigabitEthernet1/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

Vfc1 1 0x010001 20:00:00:00:c8:60:e4:9a 21:00:00:00:c8:00:e4:30 Vfc3

Vfc2 1 0x010002 20:00:00:00:c9:60:e4:9a 21:00:00:00:c9:00:e4:30 Vfc3

# Display the status of Switch A.

[SwitchA] display npv status

External Interfaces:

Interface: Vfc3 VSAN tagging mode: Tagging

VSAN State FCID