You are on page 1of 9

Command Line

Zoning

Step by Step Procedure of Zoning via Cli.


1.Create a Zone Alias and member using "AliCreate"
2.Create a Zone and member using "ZoneCreate"
3.Create a Zone to Zone configuration "CfgCreate".
4.Save the Configuration using "CfgSave".
5.Enable the Configuration using "CfgEnable".
alicreate "aliName", "member; member ..."
alicreate "sun_hba1", 20:15:00:a0:b8:48:35:5a"
(WWN zoning)
alicreate "sun_hba1","1,2" where 1 is domain id and
2 is port no (Port Zoning)
alicreate "EMC_SPA", 50:0a:09:82:98:ec:82:3a"
alicreate "EMC_SPA","1,3" where 1 is domain id
and 3 is port no
alicreate "sun_hba2", 20:15:00:a0:b8:48:35:5b"
alicreate "sun_hba2","2,4" where 2 is domain id and
4 is port no
alicreate "EMC_SPB", 50:0a:09:82:98:ec:82:3b"

alicreate "EMC_SPB","2,5" where 2 is domain id and


5 is port no

zonecreate "zonename", "member; member "


zonecreate "sun_v440_hba1_EMC_SPA",
"server_hba1;EMC_SPA
zonecreate "sun_v440_hba2_EMC_SPB",
"server_hba2;EMC_SPB

cfgcreate "cfgName", "member; member. "


cfgcreate "Test_cfg", " sun_v440_hba1_EMC_SPA;
sun_v440_hba2_EMC_SPB "

cfgsave

cfgenable cfgName
cfgenable "Test_cfg"

GUI ZONING

Step 1: Logging into the zone admin window

Step 2: Creating the alias name

Step 3: Creating the new zone and adding the required


alias under the zone

Step 4: Adding the created zone under existing zone


config

Step 5: Saving and enabling the switch config

10

You might also like