beautypg.com

H3C Technologies H3C S5830V2 Series Switches User Manual

Page 167

background image

156

[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

6.

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

[SwitchA] fcoe-mode fcf

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

[SwitchA-vsan100] domain-id 2 preferred

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

[Y/N]:y

# Enable FSPF globally.

[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

# Bind VFC 10 to Layer 2 aggregate interface 1.

[SwitchA-Vfc10] bind interface bridge-aggregation 1

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

[SwitchA-Vfc10] port trunk vsan 100

# Enable FSPF for VFC 10.

[SwitchA-Vfc10] undo fspf silent vsan 100

[SwitchA-Vfc10] quit

# Enable FCoE for VLAN 4001, and map VLAN 4001 to VSAN 100.

[SwitchA] vlan 4001

[SwitchA-vlan4001] fcoe enable vsan 100

[SwitchA-vlan4001] quit