beautypg.com

H3C Technologies H3C S5830V2 Series Switches User Manual

Page 112

background image

101

[SwitchA] save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

[SwitchA] quit

# Reboot the switch.

reboot

Start to check configuration with next startup configuration file, please

wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

# Configure the switch to operate in FCF mode.

system-view

[SwitchA] fcoe-mode fcf

# Create zone alias Alias 1.

[SwitchA] vsan 1

[SwitchA-vsan1] zone-alias name Alias1

# 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-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