H3C Technologies H3C S12500-X Series Switches User Manual

Page 68

Advertising
background image

59

[SwitchA-maptbl-out-dot1p-lp] import 3 export 3

[SwitchA-maptbl-out-dot1p-lp] quit

# Enable byte-count WRR on interface Ten-GigabitEthernet 1/0/1, and configure queue 3 to use

strict priority (SP) queuing.

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

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

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

# Enable byte-count WRR on interface Ten-GigabitEthernet 1/0/2, and configure queue 3 to use
SP queuing.

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

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

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

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

# Enable interface Ten-GigabitEthernet 1/0/1 to automatically negotiate with its peer to decide
whether to enable PFC, enable PFC for 802.1p priority 3, and configure Ten-GigabitEthernet

1/0/1 to trust the 802.1p priority carried in packets.

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

[SwitchA-Ten-GigabitEthernet1/0/1] priority-flow-control auto

[SwitchA-Ten-GigabitEthernet1/0/1] priority-flow-control no-drop dot1p 3

[SwitchA-Ten-GigabitEthernet1/0/1] qos trust dot1p

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

# Enable interface Ten-GigabitEthernet 1/0/2 to automatically negotiate with its peer to decide

whether to enable PFC, enable PFC for 802.1p priority 3, and configure Ten-GigabitEthernet

1/0/2 to trust the 802.1p priority carried in packets.

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

[SwitchA-Ten-GigabitEthernet1/0/2] priority-flow-control auto

[SwitchA-Ten-GigabitEthernet1/0/2] priority-flow-control no-drop dot1p 3

[SwitchA-Ten-GigabitEthernet1/0/2] qos trust dot1p

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

# Create interface VFC 1, and configure it to operate in F mode.

[SwitchA] interface vfc 1

[SwitchA-Vfc1] fc mode f

# Bind interface VFC 1 to interface Ten-GigabitEthernet 1/0/1, and assign it 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

# Assign interface Ten-GigabitEthernet 1/0/1 to VLAN 10 as a trunk port.

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

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

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

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

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

[SwitchA] interface vfc 2

[SwitchA-Vfc2] fc mode f

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

Advertising
This manual is related to the following products: