免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1694 | 回复: 0
打印 上一主题 下一主题

Setup zones using CLI on the QLogic SANbox 5602 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-22 14:46 |只看该作者 |倒序浏览
Linux 2.4.18_mvl30-amazon (switch) (16:19 on Thursday, 14 June 2007)
switch login: admin
Password:
  Establishing connection...   Please wait.
       *****************************************************
       *                                                   *
       *       Command Line Interface SHell  (CLISH)       *
       *                                                   *
       *****************************************************
       SystemDescription   SANbox 5602 FC Switch
       Eth0NetworkAddress  9.11.215.206 (use 'set setup system' to update)
       MACAddress          00:c0:dd:09:95:60
       WorldWideName       10:00:00:c0:dd:09:95:60
       SerialNumber        0608A00112
       SymbolicName        arcqlo560200112
       ActiveSWVersion     V5.0.0.17.0
       ActiveTimestamp     Thu Mar 10 09:11:44 2005
       DiagnosticsStatus   Passed
       LicensedPorts       20
arcqlo560200112 #> show port
        Admin       Operational  Login       Config Running     Link     Link
  Port  State       State        Status      Type   Type        State    Speed
  ----  -----       -----------  ------      ------ -------     -----    -----
  0     Online      Online       LoggedIn    GL     F           Active   4Gb/s
  1     Online      Online       LoggedIn    GL     F           Active   4Gb/s
  2     Online      Online       LoggedIn    GL     F           Active   4Gb/s
  3     Online      Online       LoggedIn    GL     F           Active   4Gb/s
  4     Online      Online       LoggedIn    GL     E           Active   2Gb/s
  5     Online      Online       LoggedIn    GL     F           Active   4Gb/s
  6     Online      Offline      NotLoggedIn GL     Unknown     Inactive Auto
  7     Online      Offline      NotLoggedIn GL     Unknown     Inactive Auto
  8     Online      Online       LoggedIn    GL     F           Active   2Gb/s
  9     Online      Online       LoggedIn    GL     F           Active   2Gb/s
  10    Online      Online       LoggedIn    GL     F           Active   4Gb/s
  11    Online      Offline      NotLoggedIn GL     Unknown     Inactive Auto
  12    Online      Online       LoggedIn    GL     F           Active   2Gb/s
  13    Online      Offline      NotLoggedIn GL     Unknown     Inactive Auto
  14    Online      Online       LoggedIn    GL     F           Active   2Gb/s
  15    Online      Online       LoggedIn    GL     F           Active   2Gb/s
  16    Offline     Offline      NotLoggedIn G      Unknown     Inactive 10Gb/s
  17    Online      Offline      NotLoggedIn G      Unknown     Inactive 10Gb/s
  18    Online      Offline      NotLoggedIn G      Unknown     Inactive 10Gb/s
  19    Online      Offline      NotLoggedIn G      Unknown     Inactive 10Gb/s
arcqlo560200112 #> show ns
  Seq Domain    Port   Port
  No  ID        ID     Type COS PortWWN                 NodeWWN
  --- ------    ------ ---- --- -------                 -------
  1   1 (0x1)   010000 N    3   50:05:07:68:01:40:37:f0 50:05:07:68:01:00:37:f0
  2   1 (0x1)   010100 N    3   50:05:07:68:01:10:37:f0 50:05:07:68:01:00:37:f0
  3   1 (0x1)   010200 N    3   50:05:07:68:01:40:37:f1 50:05:07:68:01:00:37:f1
  4   1 (0x1)   010300 N    3   50:05:07:68:01:10:37:f1 50:05:07:68:01:00:37:f1
  5   1 (0x1)   010500 N    3   50:06:0b:00:00:67:37:c6 50:06:0b:00:00:67:37:c7                                                (**)       
                          6   1 (0x1)   010800 N    3   20:04:00:a0:b8:0f:14:c2 20:04:00:a0:b8:0f:14:c1
  7   1 (0x1)   010900 N    3   20:05:00:a0:b8:0f:14:c2 20:04:00:a0:b8:0f:14:c1
  8   1 (0x1)   010a00 N    3   50:06:0b:00:00:67:37:cc 50:06:0b:00:00:67:37:cd                                                (**)       
  9   1 (0x1)   010c00 N    3   21:01:00:e0:8b:29:07:8b 20:01:00:e0:8b:29:07:8b
  10  1 (0x1)   010e00 N    3   21:00:00:e0:8b:17:9f:45 20:00:00:e0:8b:17:9f:45       
                                           11  1 (0x1)   010f00 N    3   21:00:00:e0:8b:10:f9:90 20:00:00:e0:8b:10:f9:90
arcqlo560200112 #> admin begin
arcqlo560200112 (admin) #> zoning list

  Active ZoneSet Information
  ZoneSet     Zone      ZoneMember
  -------     ----      ----------
  osl_cfg
              GAA0001_Larry_SVC_10
                        10:00:00:00:c9:30:91:cf
                        10:00:00:00:c9:3b:ba:e8
                        10:00:00:00:c9:55:4e:7b
                        50:05:07:68:01:10:37:f0
                        50:05:07:68:01:10:37:f1
                        50:05:07:68:01:40:37:f0
                        50:05:07:68:01:40:37:f1
              OSL_SVC_10_STG_ZONE
                        1,0
                        1,1
                        1,2
                        1,3
                        1,8
                        1,9
           
  Configured Zoning Information
  ZoneSet     Zone      ZoneMember
  -------     ----      ----------
  osl_cfg
              GAA0001_Larry_SVC_10
                        10:00:00:00:c9:30:91:cf
                        10:00:00:00:c9:3b:ba:e8
                        10:00:00:00:c9:55:4e:7b
                        50:05:07:68:01:10:37:f0
                        50:05:07:68:01:10:37:f1
                        50:05:07:68:01:40:37:f0
                        50:05:07:68:01:40:37:f1
              OSL_SVC_10_STG_ZONE
                        1,0
                        1,1
                        1,2
                        1,3
                        1,8
                        1,9
                       
arcqlo560200112 (admin) #> zoneset list
  Current list of ZoneSets
  ------------------------
  osl_cfg
arcqlo560200112 (admin) #> zoneset active
  Active ZoneSet Information
  --------------------------
  ActiveZoneSet    osl_cfg
  LastActivatedBy  admin@OB-session15
  LastActivatedOn  Thu Jun 14 16:53:31 2007
arcqlo560200112 (admin-zoning) #> zoneset zones osl_cfg
  Current list of Zones for ZoneSet: osl_cfg
  ----------------------------------
  GAA0001_Larry_SVC_10
   OSL_SVC_10_STG_ZONE
arcqlo560200112 (admin) #> zone list
  Zone        ZoneSet
  ----        -------
  GAA0001_Larry_SVC_10
              osl_cfg
   OSL_SVC_10_STG_ZONE
              osl_cfg
arcqlo560200112 (admin) #> zoning edit
arcqlo560200112 (admin-zoning) #> alias create archalsd12083p0_port1
arcqlo560200112 (admin-zoning) #> alias add archalsd12083p0_
port150:06:0b:00:00:67:37:cc
arcqlo560200112 (admin-zoning) #> alias members archalsd12083p0_port1
  Current list of members for Zone Alias: archalsd12083p0_port1
  ---------------------------------------
  50:06:0b:00:00:67:37:cc
arcqlo560200112 (admin-zoning) #> alias create  archalsd12083p1_port2
arcqlo560200112 (admin-zoning) #> alias add archalsd12083p1_
port250:06:0b:00:00:67:37:c6
arcqlo560200112 (admin-zoning) #> alias members archalsd12083p1_port2
  Current list of members for Zone Alias: archalsd12083p1_port2
  ---------------------------------------
  50:06:0b:00:00:67:37:c6
arcqlo560200112 (admin-zoning) #> zone create GAH0001_yangshu_p0

arcqlo560200112 (admin-zoning) #> zone add GAH0001_yangshu_p0 archalsd12083p0_port1 50:05:07:68:01:40:37:f0 50:05:07:68:01:10:37:f1
arcqlo560200112 (admin-zoning) #> zone members GAH0001_yangshu_p0
  Current list of members for Zone: GAH0001_yangshu_p0
  ---------------------------------
  archalsd12083p0_port1 (Alias)
        50:06:0b:00:00:67:37:cc
  50:05:07:68:01:40:37:f0
  50:05:07:68:01:10:37:f1
arcqlo560200112 (admin-zoning) #> zone create GAH0001_yangshu_p1
arcqlo560200112 (admin-zoning) #> zone add GAH0001_yangshu_p1 archalsd12083p1_port2 50:05:07:68:01:10:37:f0  50:05:07:68:01:40:37:f1

arcqlo560200112 (admin-zoning) #> zone members GAH0001_yangshu_p1
  Current list of members for Zone: GAH0001_yangshu_p1
  ---------------------------------
  archalsd12083p1_port2 (Alias)
        50:06:0b:00:00:67:37:c6
  50:05:07:68:01:10:37:f0
  50:05:07:68:01:40:37:f1
arcqlo560200112 (admin-zoning) #> zoneset add osl_cfg GAH0001_yangshu_p0 GAH0001_yangshu_p1

arcqlo560200112 (admin-zoning) #> zoneset zones osl_cfg
  Current list of Zones for ZoneSet: osl_cfg
  ----------------------------------
  GAA0001_Larry_SVC_10
   GAH0001_yangshu_p0
  GAH0001_yangshu_p1
  OSL_SVC_10_STG_ZONE

arcqlo560200112 (admin-zoning) #> zoning save
  The changes have been saved; however, they must be activated
  before they can take effect -- see zoneset activate command.
arcqlo560200112 (admin) #> zoneset activate osl_cfg


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/16112/showart_326443.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP