Verifying the configuration, Configuring the hello interval for an interface – H3C Technologies H3C S12500-X Series Switches User Manual

Page 101

Advertising
background image

92

# Configure Switch A to operate in FCF mode, and enter the view of VSAN 1.

<SwitchA> system-view

[SwitchA] fcoe-mode fcf

[SwitchA] vsan 1

# Create zone alias Alias 1 and add pWWN 22:33:44:55:66:77:88:99 (Disk B) and FC address
020004 (Disk C) as its members.

[SwitchA-vsan1] zone-alias name Alias1

[SwitchA-vsan1-zone-alias-Alias1] member pwwn 22:33:44:55:66:77:88:99

[SwitchA-vsan1-zone-alias-Alias1] member fcid 020004

[SwitchA-vsan1-zone-alias-Alias1] quit

# Create Zone 1 and specify FC ID 010001 as its member.

[SwitchA-vsan1] zone name Zone1

[SwitchA-vsan1-zone-Zone1] member fcid 010001

[SwitchA-vsan1-zone-Zone1] quit

# Create Zone 2 and specify FC ID 010002 and pWWN 11:22:33:44:55:66:77:88, whose zone
aliases are Alias 1, as its members.

[SwitchA-vsan1] zone name Zone2

[SwitchA-vsan1-zone-Zone2] member fcid 010002

[SwitchA-vsan1-zone-Zone2] member pwwn 11:22:33:44:55:66:77:88

[SwitchA-vsan1-zone-Zone2] member zone-alias Alias1

[SwitchA-vsan1-zone-Zone2] quit

# Create Zone 3 and specify FC ID 010003, whose zone alias is Alias 1, as its member.

[SwitchA-vsan1] zone name Zone3

[SwitchA-vsan1-zone-Zone3] member fcid 010003

[SwitchA-vsan1-zone-Zone3] member zone-alias Alias1

[SwitchA-vsan1-zone-Zone3] quit

# Create zone set Zoneset 1 and add Zones 1, 2, and 3 as its members.

[SwitchA-vsan1] zoneset name Zoneset1

[SwitchA-vsan1-zoneset-Zoneset1] member Zone1

[SwitchA-vsan1-zoneset-Zoneset1] member Zone2

[SwitchA-vsan1-zoneset-Zoneset1] member Zone3

[SwitchA-vsan1-zoneset-Zoneset1] quit

# Configure zone distribution and merge types as complete distribution and complete merge.

[SwitchA-vsan1] zoneset distribute full

# Activate a zone set as the active zone set, and distribute it to the entire fabric.

[SwitchA-vsan1] zoneset activate name Zoneset1

Verifying the configuration

All verification tasks are performed on Switch B.
# Display zone set information for VSAN 1.

<SwitchB> display zoneset vsan 1

VSAN 1:

zoneset name Zoneset1

zone name Zone1

Advertising
This manual is related to the following products: