Verifying the configuration – H3C Technologies H3C S10500 Series Switches User Manual

Page 64

Advertising
background image

53

<SwitchD> system-view

[SwitchD] fcoe-mode fcf

# Enable the fabric configuration feature in VSAN 1. By default, the fabric configuration feature is

enabled.

[SwitchD] vsan 1

[SwitchD-vsan1] domain configure enable

# Set the domain ID to 14.

[SwitchD-vsan1] domain-id 14 preferred

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

[Y/N]:y

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

[SwitchD] vlan 10

[SwitchD-vlan10] fcoe enable vsan 1

[SwitchD-vlan10] quit

# Create interface VFC 1, and bind it to interface Ten-GigabitEthernet 1/0/1.

[SwitchD] interface Vfc 1

[SwitchD-Vfc1] bind interface ten-gigabitethernet1/0/1

# Configure VFC 1 to operate in F mode, and assign it to VSAN 1 as a trunk port.

[SwitchD-Vfc1] fc mode f

[SwitchD-Vfc1] port trunk vsan 1

[SwitchD-Vfc1] quit

# Create interface VFC 2, and bind it to interface Ten-GigabitEthernet 1/0/2.

[SwitchD] interface Vfc 2

[SwitchD-Vfc2] bind interface ten-gigabitethernet1/0/2

# Configure VFC 2 to operate in E mode, and assign it to VSAN 1 as a trunk port.

[SwitchD-Vfc2] fc mode e

[SwitchD-Vfc2] port trunk vsan 1

[SwitchD-Vfc2] quit

# Permit members in the default zone to access each other. By default, the server and disk belong
to the default zone and members in the default zone are not permitted to access each other. For

more information about zones, see "

Configuring FC zones

."

[SwitchD] vsan 1

[SwitchD-vsan1] zone default-zone permit

[SwitchD-vsan1] quit

Verifying the configuration

Verify the configuration on switches, for example, Switch A.
# Display the domain information of VSAN 1.

[SwitchA-vsan1] display fc domain vsan 1

Domain Information of VSAN 1:

Running time information:

State: Stable

Switch WWN: 48:33:43:2d:46:43:1A:1A

Fabric name: 48:33:43:2d:46:43:1B:1B

Priority: 128

Domain ID: 11

Advertising