H3C Technologies H3C S10500 Series Switches User Manual

Page 147

Advertising
background image

136

[SwitchA-maptbl-dot1p-lp] import 6 export 0

[SwitchA-maptbl-dot1p-lp] import 7 export 0

[SwitchA-maptbl-dot1p-lp] quit

# Configure WRR on interface Ten-GigabitEthernet 1/0/1 as follows:

{

Assign 50% of the interface bandwidth to the FCoE traffic (traffic assigned to queue 1).

{

Assign 50% of the interface bandwidth to the LAN traffic (traffic assigned to queue 0).

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

[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr byte-count

[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr 1 group 1 byte-count 1

[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr 0 group 1 byte-count 1

# Assign the other queues to the SP group on interface Ten-GigabitEthernet 1/0/1.

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

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

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

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

[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

6.

Configure FCoE:
# Configure the switch to operate in FCF mode.

[SwitchA] fcoe-mode fcf

# Enable the fabric configuration feature for VSAN 100. By default, the fabric configuration

feature is enabled.

[SwitchA] vsan 100

[SwitchA-vsan100] domain configure enable

# Set the domain ID to 2.

[SwitchA-vsan100] domain-id 2 preferred

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

[Y/N]:y

# Enable FSPF.

[SwitchA-vsan100] fspf enable

[SwitchA-vsan100] quit

# Create interface VFC 1.

[SwitchA] interface vfc 1

# Configure the mode of VFC 1 as F.

[SwitchA-Vfc1] fc mode f

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

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

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

[SwitchA-Vfc1] port trunk vsan 100

[SwitchA-Vfc1] quit

# Create interface VFC 10.

[SwitchA] interface vfc 10

# Configure the mode of VFC 10 as E.

[SwitchA-Vfc10] fc mode e

Advertising