beautypg.com

Configuring switch d – H3C Technologies H3C S5830V2 Series Switches User Manual

Page 171

background image

160

# 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

# Create interface VFC 1.

[SwitchC] interface vfc 1

# Configure the mode of VFC 1 as F.

[SwitchC-Vfc1] fc mode f

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

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

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

[SwitchC-Vfc1] port trunk vsan 100

[SwitchC-Vfc1] quit

# Create interface VFC 10.

[SwitchC] interface vfc 10

# Configure the mode of VFC 10 as E.

[SwitchC-Vfc10] fc mode e

# Bind VFC 10 to Layer 2 aggregate interface 1.

[SwitchC-Vfc10] bind interface bridge-aggregation 1

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

[SwitchC-Vfc10] port trunk vsan 100

# Enable FSPF for VFC 10.

[SwitchC-Vfc10] undo fspf silent vsan 100

[SwitchC-Vfc10] quit

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

[SwitchC] vlan 4001

[SwitchC-vlan4001] fcoe enable vsan 100

[SwitchC-vlan4001] quit

# Enter the view of VSAN 100, and configure the members in the default zone to access each

other.

[SwitchC] vsan 100

[SwitchC-vsan100] zone default-zone permit

[SwitchC-vsan100] quit

Configuring Switch D

Configure Switch D is a similar way Switch C is configured. The differences are that: