Cisco Switch Zoning - Quick Reference
Cisco Switch Zoning - Quick Reference
Quick Reference
HOME
OS
SERVER
LEARNINGS
EC DATA
Below are the steps involved in doing zoning using Cisco CLI commands
Command
Description
# config t
Enter into Configuration Mode
# sanswitch1(config)# fcalias name emcsaninfo_fcalias vsan 2 Create a new fcalias called emcsaninfo_fcalias under vsan 2
# sanswitch1(config-fcalias)# member pwwn
Configures alias members based on the specified port WWN type and
value
xx:xx:xx:xx:xx:xx:xx:xx
(pWWN xx:xx:xx:xx:xx:xx:xx:xx)
Existing from fc alias configuration(Repeat 1 to 4 for creating
additional fc
# sanswitch1(config-fcalias)# exit
alias)
# sanswitch1(config)# zone name emcsaninfo_zone vsan 2 creating zone called emcsaninfo_zone under vsan 2
# sanswitch1(config-zone)# member fcalias emcsaninfo_fcalias
Adding fc alias emcsaninfo_fcalias as a member of zone
# sanswitch1(config-zone)# member fcalias emcsaninfo_fcalias1
emcsaninfo_zone(add your host fc alias as well as storage
alias into the
same zone. Here I assume fcalias is the host alias and fcalias1 as
storage
alias)
# sanswitch1(config-zone)# exit
# sanswitch1(config)# exit
exit from zone config mode
# sanswitch1# show zone name emcsaninfo_zone
exit from config mode
# sanswitch1#show zoneset active vsan xx
To display the created zone emcsaninfo_zone
This will display the current active zoneset
# sanswitch1# config t
# sanswitch1(config)# zoneset name SAN_EMCSANINFO_Active
Enter into Configuration Mode
# sanswitch1(config-zoneset)# member emcsaninfo_zone
Enter into active zoneset configuration Mode
http://quickreference.weebly.com/cisco-switch-zoning.html
1/2
3/14/2014
# sanswitch1(config-zoneset)# exit
# sanswitch1(config)# zoneset activate
SAN_EMCSANINFO_Active
vsan 10
# sanswitch1(config)# exit
# sanswitch1# copy running startup
http://quickreference.weebly.com/cisco-switch-zoning.html
2/2