H3C Technologies H3C S5830V2 Series Switches User Manual
Page 182
171
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr af1 group 1 byte-count 1
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr be 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 af2 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr af3 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr af4 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr ef group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr cs6 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] qos wrr cs7 group sp
[SwitchA-Ten-GigabitEthernet1/0/1] quit
# Enable byte-count WRR on interface Ten-GigabitEthernet 2/0/1.
[SwitchA] interface ten-gigabitethernet 2/0/1
[SwitchA-Ten-GigabitEthernet2/0/1] qos wrr byte-count
# Configure WRR on interface Ten-GigabitEthernet 2/0/1:
{
Assign 50% of the interface bandwidth to the FCoE traffic (traffic assigned to queue 1).
{
Assign 50% of the interface bandwidth to Ethernet data traffic (traffic assigned to queue 0).
[SwitchA-Ten-GigabitEthernet2/0/1] qos wrr af1 group 1 byte-count 1
[SwitchA-Ten-GigabitEthernet2/0/1] qos wrr be group 1 byte-count 1
# Assign the other queues to the SP group on interface Ten-GigabitEthernet 2/0/1.
[SwitchA-Ten-GigabitEthernet2/0/1] qos wrr af2 group sp
[SwitchA-Ten-GigabitEthernet2/0/1] qos wrr af3 group sp
[SwitchA-Ten-GigabitEthernet2/0/1] qos wrr af4 group sp
[SwitchA-Ten-GigabitEthernet2/0/1] qos wrr ef group sp
[SwitchA-Ten-GigabitEthernet2/0/1] qos wrr cs6 group sp
[SwitchA-Ten-GigabitEthernet2/0/1] qos wrr cs7 group sp
[SwitchA-Ten-GigabitEthernet2/0/1] quit
6.
Configure FCoE:
# Configure the switch to operate in FCF mode.
[SwitchA] fcoe-mode fcf
# Create VSAN 100. Enable the fabric configuration function for VSAN 100 (this step is optional
because the fabric configuration function is enabled by default).
[SwitchA] vsan 100
[SwitchA-vsan100] domain configure enable
# Configure the domain ID as 2 for the switch in VSAN 100.
[SwitchA-vsan100] domain-id 2 preferred
Non-disruptive reconfiguration or isolating the switch may be performed. Continue?
[Y/N]:y
# Enable FSPF globally for VSAN 100.
[SwitchA-vsan100] fspf enable
[SwitchA-vsan100] quit
# Create VSAN 200. Enable the fabric configuration function for VSAN 200 (this step is optional
because the fabric configuration function is enabled by default).
[SwitchA] vsan 200
[SwitchA-vsan200] domain configure enable
# Configure the domain ID as 3 for the switch in VSAN 200.
[SwitchA-vsan200] domain-id 3 preferred