beautypg.com

H3C Technologies H3C S5830V2 Series Switches User Manual

Page 212

background image

201

[SwitchA-vsan200] fspf enable

[SwitchA-vsan200] 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 2.

[SwitchA] interface vfc 2

# Configure the mode of VFC 2 as F.

[SwitchA-Vfc2] fc mode f

# Bind VFC 2 to interface Ten-GigabitEthernet 2/0/1.

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

# Assign VFC 2 to VSAN 200 as a trunk port.

[SwitchA-Vfc2] port trunk vsan 200

[SwitchA-Vfc2] 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

# Create interface VFC 11.

[SwitchA] interface vfc 11

# Configure the mode of VFC 11 as E.

[SwitchA-Vfc11] fc mode e

# Bind VFC 11 to Layer 2 aggregate interface 2.

[SwitchA-Vfc11] bind interface bridge-aggregation 2

# Assign VFC 11 to VSAN 200 as a trunk port.

[SwitchA-Vfc11] port trunk vsan 200

# Enable FSPF for VFC 11.

[SwitchA-Vfc11] undo fspf silent vsan 200

[SwitchA-Vfc11] quit

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

[SwitchA] vlan 4001