Dell FC Switch zone configuration

发布时间:2014-10-25 2:21:22
来源:分享查询网

Technorati 标签: dell,switch,zone Dell FC Switch zone configuration 1 命令语法 1.1 登陆到switch telnet IP Fabric OS (TOP_SW) Fabos Version 5.2.2 TOP_SW login: admin Password: TOP_SW:admin> 1.2 查看帮助和所有命令 help,查看所有命令 TOP_SW:admin> help aaaconfig Configure RADIUS for AAA services ad Specifies all administration domain (AD)-level operations 。。。。。。 help 指定命令 TOP_SW:admin> help zonecreate 1.3 查看license ipaddrset TOP_SW:admin> licenseShow SdddSSQR9TeeeT7: Web license Rb9eddbcbRScAfer: Zoning license RRcS99Qz9dSidTAp: First Ports on Demand license - additional 4 port upgrade RRcS99Qz9dSShTAd: Second Ports on Demand license - additional 4 port upgrade 1.4 端口管理 portshow TOP_SW:admin> portshow 8 。。。。。。 portId: 010800 portIfId: 43020008 portWwn: xx:xx:xx:xx:xx:xx:xx:xx portWwn of device(s) connected: 10:00:xx:xx:xx:xx:xx:xx Distance: normal portSpeed: N4Gbps 。。。。。。 portshow 8:是查看端口8的所有信息。 portWwn: 是端口的wwn。 portWwn of device(s) connected:是接在该端口的设备wwn。 1.5 别名管理 alishow,查看别名 TOP_SW:admin> alishow alicreate,"10:00:00:00:xx:xx:xx:xx"是端口的wwn TOP_SW:admin> alicreate "Port_8", "10:00:00:00:xx:xx:xx:xx" aliremove TOP_SW:admin> alicremove "Port_8", "10:00:00:00:xx:xx:xx:xx" 1.6 zone管理 zoneshow,查看zone TOP_SW:admin> zoneshow zonecreate,其中Port8;Port9;Port10;Port1是已经创建好的别名。 TOP_SW:admin> zonecreate "zonebackup","Port8;Port9;Port10;Port11" zoneremove,把Port8从zone里删除 TOP_SW:admin> zoneremove "zonebackup","Port8 " zoneadd,把Port8加到zone里 TOP_SW:admin> zoneadd "zonebackup","Port8" 1.7 配置管理 cfgshow TOP_SW:admin> cfgshow TOP_SW:admin> cfgshow cfgcreate,zonebk是已经创建好的zone。 TOP_SW:admin> cfgcreate "test","zonebk" TOP_SW:admin> cfgradd TOP_SW:admin> cfgadd "test","zonebk2" TOP_SW:admin> cfgremove TOP_SW:admin> cfgremove "test","zonebk2" TOP_SW:admin> cfgenable,这个命令可以是zone生效 TOP_SW:admin> cfgenable MAIN_CONFIG You are about to enable a new zoning configuration. This action will replace the old zoning configuration with the current configuration selected. Do you want to enable 'MAIN_CONFIG' configuration (yes, y, no, n): [no] y zone config "MAIN_CONFIG" is in effect Updating flash ... cfgsave,保存配置设置,switch重启该配置依然有效。 TOP_SW:admin> cfgsave You are about to save the Defined zoning configuration. This action will only save the changes on Defined configuration. Any changes made on the Effective configuration will not take effect until it is re-enabled. Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y Nothing changed: nothing to save, returning ... 2 zone配置实例 这里将连接端口上设备的wwn划成一个zone,好处是不管设备插在switch的哪个端口上,他们始终是在一个zone里。 2.1 收集所有连接在指定端口上的设备wwn TOP_SW:admin> portshow 8 portWwn: 20:xx:xx:xx:xx:xx:xx:xx portWwn of device(s) connected: 10:00:00:xx:xx:xx:xx:xx TOP_SW:admin> portshow 9 TOP_SW:admin> portshow 10 TOP_SW:admin> portshow 11 2.2 创建别名 TOP_SW:admin> alicreate "Port8", "20:08:xx:xx:xx:xx:xx:xx" TOP_SW:admin> alicreate "Port9", "20:09: xx:xx:xx:xx:xx:xx" TOP_SW:admin> alicreate "Port10", "20:0a: xx:xx:xx:xx:xx:xx" TOP_SW:admin> alicreate "Port11", "20:0b: xx:xx:xx:xx:xx:xx" 2.3 创建zone TOP_SW:admin> zonecreate "zonebackup","Port8;Port9;Port10;Port11" 2.4 向已有的配置里添加当前zone TOP_SW:admin> cfgadd "MAIN_CONFIG","zonebackup" 2.5 激活zone配置 TOP_SW:admin> cfgenable MAIN_CONFIG 2.6 保存zone配置 TOP_SW:admin> cfgsave

返回顶部
查看电脑版