Login     Logout     Register     My Account

Forum Navigation
You need to log in to create posts and topics.

Cisco CLI commands for PWWN zoning and device-alias zoning

PWWN (Port World Wide Name) zoning and device-alias zoning with SAN.

PWWN Zoning

Before you add a new zone you need to determine the following information:

  • What devices will you be zoning together?
  • What VSAN (Virtual Storage Area Network) will the new zone will belong to?
  • Is there an active zoneset? If so, what is the name of the zoneset?

Once the VSAN number has been established, you can check for an active zoneset with the following command:

switch#show zoneset active vsan X

Where X is the vsan number provided.

Example:

Adding zones for Host_A to talk to Target_1 and Target_2 to the active zoneset Zoneset_10 in vsan 10.

End Device PWWN
Host_A 21:01:00:e0:8b:39:a9:07
Target_1 21:00:00:20:37:af:a5:93
Target_2 21:00:00:20:37:af:a5:3d

Adding Zones

switch# conf t
switch(config)# zoneset name Zoneset_10 vsan 10
switch(config-zoneset)# zone name Host_A-Target_1
switch(config-zoneset-zone)# member pwwn 21:01:00:e0:8b:39:a9:07
switch(config-zoneset-zone)# member pwwn 21:00:00:20:37:af:a5:93
switch(config-zoneset-zone)# zone name Host_A-Target_2
switch(config-zoneset-zone)# member pwwn 21:01:00:e0:8b:39:a9:07
switch(config-zoneset-zone)# member pwwn 21:00:00:20:37:af:a5:3d
switch(config-zoneset-zone)# zone commit vsan 10
switch(config)# zoneset activate name Zoneset_10 vsan 10
switch(config)# zone commit vsan 10

Command explanation:

Command Explanation
switch#conf t Enters configuration terminal
switch(config)# zoneset name Zoneset_10 vsan 10 Enters Zoneset configuration mode. Creates Zoneset_10 for vsan 10 if it does not exist
switch(config-zoneset)# zone name Host_A-Target_1 Enters in-line Zone configuration mode. Creates zone Host_A-Target_1 in vsan 10 and as a member to Zoneset_10 if it does not exist
switch(config-zoneset-zone)# member pwwn 21:01:00:e0:8b:39:a9:07 Add pwwn as a member of zone Host_A-Target_1
switch(config-zoneset-zone)# member pwwn 21:00:00:20:37:af:a5:93 Add pwwn as a member of zone Host_A-Target_1
switch(config-zoneset-zone)# zone commit vsan 10 Commits the changes made to the zones and zoneset in vsan 10. Used only if enhanced zoning is enabled
switch(config)# zoneset activate name Zoneset_10 vsan 10 Sets the active zoneset as the currently configured Zoneset_10 in vsan 10. Note that only 1 zoneset can be active in a vsan at a time
switch(config)# zone commit vsan 10 Commits the change made to the zoneset in vsan 10. This step is required in enhanced zoning mode after an activation in order for the new activation to occur

Device Alias Zoning

Before you add a new zone you need to determine the following information:

  • What devices will you be zoning together?
  • What VSAN will the new zone will belong to?
  • Is there an active zoneset? If so, what is the name of the zoneset?
  • Device Alias/PWWN mapping to be used

Once the VSAN number has been established you can check for an active zoneset with the following command

switch#show zoneset active vsan X

Where X is the vsan number provided.

Example:

Adding zones for Host_A to talk to Target_1 and Target_2 to the active zoneset Zoneset_10 in vsan 10.

End Device Device Alias PWWN
Host_A HOST 21:01:00:e0:8b:39:a9:07
Target_1 TARGET1 21:00:00:20:37:af:a5:93
Target_2 TARGET2 21:00:00:20:37:af:a5:3d

Configuring Device-Alias

switch# conf t
switch(config)
switch(config)# device-alias database
switch(config-device-alias-db)# device-alias name HOST pwwn 21:01:00:e0:8b:39:a9:07
switch(config-device-alias-db)# device-alias name TARGET1 pwwn21:00:00:20:37:af:a5:93
switch(config-device-alias-db)# device-alias name TARGET2 pwwn 21:00:00:20:37:af:a5:3d
switch(config-device-alias-db)#exit
switch(config)#device-alias commit

Adding zones

switch# conf t
switch(config)# zoneset name Zoneset_10 vsan 10
switch(config-zoneset)# zone name Host_A-Target_1
switch(config-zoneset-zone)# member device-alias HOST
switch(config-zoneset-zone)# member device-alias TARGET1
switch(config-zoneset-zone)# zone name Host_A-Target_2
switch(config-zoneset-zone)# member device-alias HOST
switch(config-zoneset-zone)# member device-alias TARGET2
switch(config-zoneset-zone)# zone commit vsan 10
switch(config)# zoneset activate name Zoneset_10 vsan 10
switch(config)# zone commit vsan 10

Command explanation:

Command Explanation
switch#conf t Enters configuration terminal
switch(config)# device-alias database Enteres Device-alias database configuration mode. Allows for the creation, deletion and modification of device-aliases
switch(config-device-alias-db)#device-alias name HOST pwwn 21:01:00:e0:8b:39:a9:07 Assigns the device alias HOST to the pwwn 21:01:00:e0:8b:39:a9:07. A device-alias can only be mapped to 1 PWWN and a PWWN can only map to 1 device-alias. This is case sensitive.
switch(config-device-alias-db)#exit Exits device-alias database configuration mode
switch(config)#device-alias commit Commits device-alias changed
switch(config)# zoneset name Zoneset_10 vsan 10 Enters Zoneset configuration mode. Creates Zoneset_10 for vsan 10 if it does not exist
switch(config-zoneset)# zone name Host_A-Target_1 Enters in-line Zone configuration mode. Creates zone Host_A-Target_1 in vsan 10 and as a member to Zoneset_10 if it does not exist
switch(config-zoneset-zone)# member device-alias HOST Add pwwn as a member of zone Host_A-Target_1
switch(config-zoneset-zone)# member device-alias TARGET1 Add pwwn as a member of zone Host_A-Target_1
switch(config-zoneset-zone)# zone commit vsan 10 Commits the changes made to the zones and zoneset in vsan 10. Used only if enhanced zoning is enabled
switch(config)# zoneset activate name Zoneset_10 vsan 10 Sets the active zoneset as the currently configured Zoneset_10 in vsan 10. Note that only 1 zoneset can be active in a vsan at a time
switch(config)# zone commit vsan 10 Commits the change made to the zoneset in vsan 10. This step is required in enhanced zoning mode after an activation in order for the new activation to occur

Command of the mobile instructor is judged for the fixing of the goals on elevation for the features. The assignment of the research paper writer is fixed for the instructions for the team. Its impact is reformed for all shows for the simulation and all products for the main team.

The benefit to using device-alias in this manner makes it easy when a device has new ... To create a device alias, you'll use the device-alias database command in global configuration mode. ... For example if we want to show what pwwn are active in a zone. ... How to Use SYMCLI in offline mode · EMC ... by epicfollowersuk

 - The RoundTower Demonstration Lab uses re-purposed Cisco UCS, Cisco MDS, ... Type “device-alias database”; Type “device-alia by followers australia

Cisco: Step by Step Zoning – How To ... Zone members are device PWWN (PWWN of the N-Port attached to the switch), fabric PWWN ... Zoning CLI commands.

Device-alias and/or. PWWN zone name AS01_NetApp vsan 42 ... Attached FC devices can send in Common Transport commands to query the Name Server ...  by   followers uk

Command Reference; Creating a VSAN; Creating a VLAN; Configuring a Port and ... checkpoint clear Reset functions cli CLI commands clock Manage the system ... Configure cisco packet analyzer event Event Manager commands fcdomain ... device-alias test2 switch(config-zone)# show zone zone name zonexzh vsan ...

What marketing strategies does Thesanguy use? Get traffic statistics, SEO keyword opportunities, audience insights, and competitive analytics for Thesanguy. by

Epicfollowerscanada

The SAN Guy is designed for enterprise storage engineers and other information technology professionals, providing technical material in an easy to access ...by

Buyfollowerscanada

Enterprise Storage Engineer

%d bloggers like this: