beautypg.com

Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 110

background image

101

# 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, bind it to interface Ten-GigabitEthernet 1/0/1, and assign it to VSAN 1 as a
trunk port.

[SwitchA] interface vfc 1

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

[SwitchA-Vfc1] port trunk vsan 1

[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, bind it to interface Ten-GigabitEthernet 1/0/2, and assign it to VSAN 1 as a
trunk port.

[SwitchA] interface vfc 2

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

[SwitchA-Vfc2] port trunk vsan 1

[SwitchA-Vfc2] quit

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

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

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

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

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

# Create interface VFC 3, bind it to interface Ten-GigabitEthernet 1/0/3, and assign it to VSAN 1 as a
trunk port.

[SwitchA] interface vfc 3

[SwitchA-Vfc3] bind interface ten-gigabitethernet 1/0/3

[SwitchA-Vfc3] port trunk vsan 1

[SwitchA-Vfc3] quit

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

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

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

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

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

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

[SwitchA] vlan 10

[SwitchA-vlan10] fcoe enable vsan 1

[SwitchA-vlan10] quit

# Configure the uplink interface VFC 3.

This manual is related to the following products: