beautypg.com

H3C Technologies H3C S5830V2 Series Switches User Manual

Page 199

background image

188

[SwitchC-Ten-GigabitEthernet1/0/5] quit

[SwitchC] interface ten-gigabitethernet 1/0/6

[SwitchC-Ten-GigabitEthernet1/0/6] priority-flow-control enable

[SwitchC-Ten-GigabitEthernet1/0/6] priority-flow-control no-drop dot1p 3

[SwitchC-Ten-GigabitEthernet1/0/6] qos trust dot1p

[SwitchC-Ten-GigabitEthernet1/0/6] quit

[SwitchC] interface ten-gigabitethernet 1/0/7

[SwitchC-Ten-GigabitEthernet1/0/7] priority-flow-control enable

[SwitchC-Ten-GigabitEthernet1/0/7] priority-flow-control no-drop dot1p 3

[SwitchC-Ten-GigabitEthernet1/0/7] qos trust dot1p

[SwitchC-Ten-GigabitEthernet1/0/7] quit

[SwitchC] interface ten-gigabitethernet 1/0/8

[SwitchC-Ten-GigabitEthernet1/0/8] priority-flow-control enable

[SwitchC-Ten-GigabitEthernet1/0/8] priority-flow-control no-drop dot1p 3

[SwitchC-Ten-GigabitEthernet1/0/8] qos trust dot1p

[SwitchC-Ten-GigabitEthernet1/0/8] quit

4.

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

[SwitchC] fcoe-mode fcf

# Enable the fabric configuration function for VSAN 100 (this step is optional because the fabric

configuration function is enabled by default).

[SwitchC] vsan 100

[SwitchC-vsan100] domain configure enable

# Set the priority to 1 for the switch, so the switch can be elected as the principal switch.

[SwitchC-vsan100] priority 1

# Configure the domain ID as 1 for the switch.

[SwitchC-vsan100] domain-id 1 preferred

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

[Y/N]:y

# Enable FSPF globally.

[SwitchC-vsan100] fspf enable

[SwitchC-vsan100] quit

# Change Ethernet interface Ten-GigabitEthernet 1/0/1 into FC interface FC 1/0/1.

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

[SwitchC-Ten-GigabitEthernet1/0/1] port-type fc

# Configure the mode of interface FC 1/0/1 as F.

[SwitchC-Fc1/0/1] fc mode f

# Configure interface FC 1/0/1 to autonegotiate the speed.

[SwitchC-Fc1/0/1] speed auto

# Configure interface FC 1/0/1 to trust the 802.1p priorities carried in incoming packets.

[SwitchC-Fc1/0/1] qos trust dot1p

# Assign interface FC 1/0/1 to VSAN 100 as an access port.

[SwitchC-Fc1/0/1] port access vsan 100

# Enable FSPF for interface FC 1/0/1.

[SwitchC-Fc1/0/1] undo fspf silent vsan 100

[SwitchC-Fc1/0/1] quit