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

Page 112

Advertising
background image

101

[SwitchB] quit

<SwitchB> reboot

# Configure the switch to operate in FCF mode.

<SwitchB> system-view

[SwitchB] fcoe-mode fcf

# Create VSAN 1.

[SwitchB] vsan 1

[SwitchB-vsan1] quit

# Create interface VFC 3.

[SwitchB] interface vfc 3

# Configure the mode of VFC 3 as F.

[SwitchB-Vfc3] fc mode f

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

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

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

[SwitchB-Vfc3] port trunk vsan 1

[SwitchB-Vfc3] quit

# Configure Ten-GigabitEthernet 1/0/3 as a trunk port, and assign the port to VLAN 10.

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

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

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

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

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

[SwitchB] vlan 10

[SwitchB-vlan10] fcoe enable vsan 1

[SwitchB-vlan10] quit

Verifying the configuration

# Display the nodes on downlink interfaces and their mapped uplink interfaces.

[SwitchA] display npv login

Server External

Interface VSAN FCID Node WWN Port WWN Interface

Vfc1 1 0x010001 21:00:00:00:c8:00:e4:30 20:00:00:00:c8:60:e4:9a Vfc3

Vfc2 1 0x010002 21:00:00:00:c9:00:e4:30 20:00:00:00:c9:60:e4:9a Vfc3

# Display information about uplink and downlink interfaces on Switch A.

[SwitchA] display npv status

External Interfaces:

Interface: Vfc3 VSAN tagging mode: Tagging

VSAN State FCID

1 Up 0x010000

Number of External Interfaces: 1

Server Interfaces:

Interface : Vfc1 VSAN tagging mode: Tagging

Advertising