H3C Technologies H3C S10500 Series Switches User Manual

Page 35

Advertising
background image

24

[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr 6 group sp

[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr 7 group sp

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

f.

Configure FCoE:
# Configure the switch to operate in FCF mode and create VSAN 10.

[SwitchA] fcoe-mode fcf

[SwitchA] vsan 10

[SwitchA-vsan10] quit

# Create interface VFC 1, and configure the mode of VFC 1 as F.

[SwitchA] interface vfc 1

[SwitchA-Vfc1] fc mode f

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

trunk port.

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

[SwitchA-Vfc1] port trunk vsan 10

[SwitchA-Vfc1] quit

# Create interface VFC 2, and configure the mode of VFC 2 as E.

[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 10 as a
trunk port.

[SwitchA-Vfc2] bind interface ten-gigabitethernet 1/0/2

[SwitchA-Vfc2] port trunk vsan 10

[SwitchA-Vfc2] quit

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

[SwitchA] vlan 20

[SwitchA-vlan20] fcoe enable vsan 10

[SwitchA-vlan20] quit

# Permit 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 10

[SwitchA-vsan10] zone default-zone permit

[SwitchA-vsan10] quit

2.

Configure Switch B:

a.

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

b.

Configure VLANs and interfaces:

Advertising