H3C Technologies H3C S10500 Series Switches User Manual

Page 57

Advertising
background image

46

[SwitchA-Vfc1] port trunk vsan 1

[SwitchA-Vfc1] quit

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

[SwitchA] vlan 20

[SwitchA-Vlan20] quit

[SwitchA] interface ten-gigabitethernet1/0/1

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

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

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

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

[SwitchA] interface vfc 2

[SwitchA-Vfc2] fc mode e

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

[SwitchA-Vfc2] bind interface ten-gigabitethernet1/0/2

[SwitchA-Vfc2] port trunk vsan 1

[SwitchA-Vfc2] quit

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

[SwitchA] vlan 20

[SwitchA-Vlan20] quit

[SwitchA] interface ten-gigabitethernet1/0/2

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

[SwitchA-Ten-GigabitEthernet1/0/2] port trunk permit vlan 20

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

# Enable FCoE for VLAN 20, and map VLAN 20 to VSAN 1.

[SwitchA] vlan 20

[SwitchA-vlan20] fcoe enable vsan 1

[SwitchA-vlan20] quit

# Configure members in the default zone to access each other. By default, the server and disk
belong to the default zone and members in the default zone are not permitted to access each other.

For more information about zones, see "

Configuring FC zones

."

[SwitchA] vsan 1

[SwitchA-vsan1] zone default-zone permit

[SwitchA-vsan1] quit

2.

Configure Switch B:
# Configure the switch to operate in advanced mode, save the configuration, and reboot the
switch. (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.

[SwitchB] save

[SwitchB] quit

<SwitchB> reboot

# Configure the switch to operate in FCF mode, and disable the fabric configuration feature in
VSAN 1.

Advertising