Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 69

Advertising
background image

60

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

[SwitchA-Vfc2] port trunk vsan 20

[SwitchA-Vfc2] quit

# Assign interface Ten-GigabitEthernet 1/0/2 to VLAN 10 as a trunk port.

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

[SwitchA-Ten-GigabitEthernet1/0/2] port link-type trunk

[SwitchA-Ten-GigabitEthernet1/0/2] port trunk permit vlan 10

[SwitchA-Ten-GigabitEthernet1/0/2] quit

# Create interface VFC 4, and configure it to operate in E mode.

[SwitchA] interface vfc 4

[SwitchA-Vfc4] fc mode e

# Bind interface VFC 4 to interface Ten-GigabitEthernet 1/0/4, and assign it to VSANs 10 and 20
as a trunk port.

[SwitchA-Vfc4] bind interface ten-gigabitethernet 1/0/4

[SwitchA-Vfc4] port trunk vsan 10 20

[SwitchA-Vfc4] quit

# Assign interface Ten-GigabitEthernet 1/0/4 to VLANs 10 and 20 as a trunk port.

[SwitchA] interface ten-gigabitethernet 1/0/4

[SwitchA-Ten-GigabitEthernet1/0/4] port link-type trunk

[SwitchA-Ten-GigabitEthernet1/0/4] port trunk permit vlan 10 20

[SwitchA-Ten-GigabitEthernet1/0/4] quit

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

[SwitchA] vlan 10

[SwitchA-vlan10] fcoe enable vsan 10

[SwitchA-vlan10] quit

# Enable FCoE for VLAN 20 and map VLAN 20 to VSAN 20.

[SwitchA] vlan 20

[SwitchA-vlan20] fcoe enable vsan 20

[SwitchA-vlan20] quit

2.

Configure Switch B in the same way Switch A is configured. (Details not shown.)

Verifying the configuration

1.

Verify the configuration on Switch A by displaying member interfaces of all VSANs.

[SwitchA] display vsan port-member

VSAN 1:

Access Ports:

Trunk Ports:

VSAN 10:

Access Ports:

Trunk Ports:

Vfc1

Vfc4

VSAN 20:

Access Ports:

Advertising
This manual is related to the following products: