Documente Academic
Documente Profesional
Documente Cultură
To create alias
alicreate "alias_name1","wwn"
To create Zone
zonecreate "zone_name","alias_name1;alias_name2"
To add Zone to zone config
cfgadd "<< ADD CFG NAMEHERE >>","zone_name"
To see all the ports details
switchshow
To see config files in switch
zoneshow
To add license
licenseadd
To see all commands
help
Switchenable/switchdisable
Procedure
Alias
Zone create
Add to zone
save
enable
CISCO Procedure
config t, enters into configuration mode
Create zones
switch(config)# fcalias name AliasSample vsan 3
Add members to zone
switch-config-fcalias# member fcid 0x222222
member pwwn 10:00:00:23:45:67:89:ab
member fwwn 10:01:10:01:10:ab:cd:ef
Create zone set
switch(config)# zoneset name Zoneset1 vsan 3
Add zones to zoneset
switch(config-zoneset)# member Zone1
zone name InlineZone1
switch(config-zoneset-zone)#
switch(config-zoneset-zone)# member fcid 0x111112
Activate zone set
switch(config)# zoneset activate name Zoneset1 vsan 3 Activate
switch(config)# no zoneset activate name Zoneset1 vsan 3 De-Activate
Save configuration
First, create some aliases for your own use instead of having to remember the Fibre Channel
World Wide Port Names (WWPNs). This will make life a lot easier, in my opinion. You create
aliases using the fcalias command, like this (where applicable in this command and all other
commands in this post, replace XXX with the appropriate VSAN number):
Obviously, youll replace the fake WWPN I used in the command above with the correct WWPN
for that device. Repeat this process for all the storage processor ports, server HBAs, etc. From
this point forward, you can use the alias in place of the WWPN when creating zones. See, isnt
that easier?
Next, create zones. Each zone should have a single initiator and (ideally) a single target, although
multiple targets is usually acceptable. To create a zone, use the zone and member commands like
this:
Since each zone contains only a single initiator, youll need to repeat this process for each
initiator.
Once you have all the zones created, next create a zoneset. You can create a new zoneset just
using the zoneset command, or you can clone an existing zoneset with the zoneset clone
command. In this case, Ill clone an existing zoneset:
From here, you have a copy of the existing zoneset, which already had all the previously defined
zones as members. Add the new zones youve defined to the zoneset like this: