Configuring a trunk vsan, Displaying and maintaining vsan – H3C Technologies H3C S12500-X Series Switches User Manual

Page 85

Advertising
background image

76

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.

# Configure Switch A to operate in FCF mode, and enable the fabric configuration function in
VSAN 2.

<SwitchA> system-view

[SwitchA] fcoe-mode fcf

[SwitchA] vsan 2

[SwitchA-vsan2] domain configure enable

# Configure the domain ID as 1.

[SwitchA-vsan2] domain-id 1 static

Non-disruptive reconfiguration or isolating the switch may be performed. Continu

e? [Y/N]:y

# Enable FSPF globally.

[SwitchA-vsan2] fspf enable

[SwitchA-vsan2] quit

# Create interface VFC 1, and configure it to operate in E mode.

[SwitchA] interface vfc 1

[SwitchA-Vfc1] fc mode e

# Bind interface VFC 1 to interface Ten-GigabitEthernet 1/0/1, and assign it to VSAN 2 as a trunk

port.

[SwitchA-Vfc1] bind interface ten-gigabitethernet 1/0/1

[SwitchA-Vfc1] port trunk vsan 2

[SwitchA-Vfc1] quit

# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 10 as a trunk port.

[SwitchA] interface ten-gigabitethernet 1/0/1

[SwitchA-Ten-GigabitEthernet1/0/1] port link-type trunk

[SwitchA-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10

[SwitchA-Ten-GigabitEthernet1/0/1] quit

# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 2.

[SwitchA] vlan 10

[SwitchA-vlan10] fcoe enable vsan 2

[SwitchA-vlan10] quit

# Enable FSPF on interface VFC 1.

[SwitchA] interface vfc 1

[SwitchA-Vfc1] port trunk vsan 2

[SwitchA-Vfc1] undo fspf silent vsan 2

[SwitchA-Vfc1] quit

2.

Configure Switch B:
# Configure Switch B to operate in advanced mode, save the configuration, and reboot Switch B.
(Skip this step if the switch is operating in advanced mode.)

<SwitchB> system-view

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

Advertising
This manual is related to the following products: