范文一:光纤交换机配置-命令模式
Zoning With CLI Commands
Dell? PowerVault? 5x F Switches Zoning Guide
Creating and Modifying Zone Aliases
Creating and Modifying Zones
Creating and Modifying Zone Configurations
Managing a Zone Configuration
You can zone Dell? PowerVault? switches using Command Line Interface (CLI) commands by creating and managing the three principal zoning object
types — alias, zone, and configuration. You issue the commands during a Telnet session with the switch(es). (Refer to your PowerVault switch Installation and Troubleshooting Guide for details on creating a Telnet session with the switch.) NOTE: Before issuing any zoning commands, use the switchShow command on each switch iare connected. All ports used for interswitch links (ISL) display the neighboring switches' WWNFollow this general sequence of steps when creating a new zone configuration. NOTE: See
1. Define the core aliases.
2. Define all zones.
3. Add aliases and members to the zones.
4. Define the zone configuration.
5. Add zones to the configuration.
6. Enable the configuration.
7. Test the configuration.
8. Save the configuration.
Including Multiple Items in a CLI Command
To include multiple items in a CLI command, separate the items with semicolons, within a single pair of quotes:
command
For example, zoneAdd
Creating and Modifying Zone Aliases
While aliases are not required in a zone configuration, they can make it easier to manage complex configurations in your zone. After you create aliases, you can then move to the next section and create and configure zones.
aliCreate
The following example shows three instances of the aliCreate command, which creates a new zone alias.
aliDelete
The following example shows the aliDelete command, which deletes an existing zone alias.
aliAdd
The following example shows three instances of the aliAdd command, which adds one or more new alias members to an existing zone alias and is a list of one or more physical-fabric port numbers (such as 1,2) or WWNs (such as 10:00:00:60:69:00:00:8a) separated by semicolons.
admin> aliAdd
21:00:00:20:37:0c:71:0a
admin> aliAdd
21:00:00:20:37:0c:66:3a
admin> aliAdd
21:00:00:20:37:0c:59:7e
White spaces are ignored. The alias members list cannot contain references to any other zone aliases.
aliRemove
The following example shows the aliRemove command, which removes one or more members from an existing zone alias.
The members to be removed are found by an exact string match. When removing multiple members, sequence is important. If this command results in all members being removed, the system deletes the zone alias.
aliShow
The following example shows the aliShow command, which displays the
specified zone alias definition if a parameter is given (otherwise all zone
configuration information is displayed).
Creating and Modifying Zones
You can use the following CLI commands to create or manipulate the zones and their members with a fabric. These members may consist of fabric ports, WWNs, or aliases.
zoneCreate
Use this command to create a zone with one or more members. The following example shows thre instances of the zoneCreate command.
zoneDelete
The following example shows the zoneDelete command, which deletes an
existing zone.
zoneAdd
The following example shows the zoneAdd command, which adds one or more
new members to an existing zone.
zoneRemove
The following example shows the zoneRemove command, which removes one or
more members from an existing zone.
The members to be removed are found by an exact string match. Therefore, when
removing multiple members, sequence is important. If this command removes all
members, the system deletes the zone.
zoneShow
The following example shows the zoneShow command, which displays the
specified zone definition if a parameter is given (otherwise all zone configuration
information is displayed).
Creating and Modifying Zone Configurations
After creating zones, you can create or remove zone configurations and their members using CLI commands.
cfgCreate
The following example shows the cfgCreate command, which creates a new zone configuration.
cfgDelete
The following example shows the cfgDelete command, which deletes an existing
zone configuration.
cfgAdd
The following example shows the cfgAdd command, which adds one or more new zones to an existing zone configuration.
cfgRemove
The following example shows the cfgRemove command, which removes one or more zones from an existing zone configuration.
The zones to be removed are found by an exact string match. When removing multiple members, sequence is important. If this command removes all members, the system deletes the zone configuration.
cfgShow
The following example shows the cfgShow command, which displays the specified zone configuration definition if a parameter is given (otherwise, all zone configuration information is displayed)
Adding a New Device to a Configuration
1. Create an alias for the device by typing
aliCreate
2. Add the alias to the appropriate zone(s) by typing
zoneAdd
3. Save the configuration by typing
cfgSave
4. Enable the configuration by typing
cfgEnable
Removing a Device From a Zone Configuration
1. Remove the device from the zone:
a. If there is only one device in the alias, type
zoneRemove
a.
If you are removing a single device from an alias that includes
several devices, type
zoneRemove
a. To remove multiple devices, type aliRemove
by the WWN (or port number) of each device you are removing. 2. Save the new configuration by typing
cfgSave
3. Enable the configuration by typing
cfgEnable
Replacing a Device in a Zone Configuration
1. Remove the existing device from the zone:
a. If you are replacing a single device in an alias that includes several devices, remove the device you are replacing by typing zoneRemove
a. If the device you wish to replace is the only device in the alias, type
zoneRemove
a. To replace multiple devices, type aliRemove
by the WWN (or port number) of each device you wish to replace. 2. If desired, create an alias for the replacement device by typing
aliCreate
3. Add the device or alias to the appropriate zone(s) by typing
zoneAdd
or
zoneAdd
4. Save the configuration by typing
cfgSave
5. Enable the configuration by typing
cfgEnable
Managing a Zone Configuration
After creating the zone configuration, use the following commands to enable, save,
disable, or clear the zone configuration.
cfgSave
The following example shows the cfgSave command, which writes a copy of the defined configuration and the name of the effective configuration to flash memory in all fabric switches.
The saved configuration is automatically reloaded by the switch at system startup. If a configuration was in effect when it was saved, the same configuration is reinstated with an automatic cfgEnable command.
NOTE: Dell recommends saving after you enable and test a configuration. Any unsaved configucfgEnable
The following example shows the cfgEnable command, which enables a specified configuration.
cfgDisable
The following example shows the cfgDisable command, which disables the current zone configuration.
The fabric returns to a nonzoned mode, in which all devices see each other. cfgClear
The following example shows the cfgClear command, which you should use with caution.
NOTICE: When executed on any switch in the fabric, the cfgClear
command removes all alias, zone, and configuration information from all switches in the fabric. Dell recommends clearing any switch before
connecting it to a zoned fabric.
When the cfgClear command is used on an enabled zone configuration, it is first disabled. The system then deletes all defined zone objects. However, the saved configuration remains in flash memory. To clear the configuration from memory, type cfgSave after cfgClear and press 导读:就爱阅读网友为您分享以下“博科 光纤交换机配 置命令一览”资讯,希望对您有所帮助,感谢您对92to.com 的支持! DS_200B:admin> help aaaconfig Configure RADIUS for AAA services ad Specifies all administration domain (AD)-level operations ag Configure the Access Gateway feature agshow Displays the Access Gateway information registered with the fabric 1 agtcfgdefault Reset SNMP agent to factory default aliadd Add a member to a zone alias alicreate alidelete aliremove alishow aptpolicy auditcfg authutil backplanetest backport bannerset bannershow bcastshow bladebeacon bladedisable bladeenable burninerrclear 2 burninerrshow burninstatus camtest centralmemorytest cfgactvshow cfgadd cfgclear cfgcreate cfgdelete cfgdisable cfgenable cfgremove cfgsave cfgshow Create a zone alias Delete a zone alias Remove a member from a zone alias Print zone alias information Get and set Advanced Performance Tuning policy Modifies and displays audit log filter configuration. Get and set authentication configuration Backplane connection test for multi-blade systems. Test for 3 back-end ASIC pair to ASIC pair links. Set security banner Display security banner Display broadcast routing information Enables or disables blade beaconing or displays the current mode. Disables all user ports on a blade. Enables all User Ports on a blade. Clear errors that are stored in the non-volatile storage Display errors that are stored in the non-volatile storage Display the diagnostics burnin status. Verify QuickLoop’s Content Addressable Memory (CAM).SID translation Test ASIC central memory operation. Display Effective zone configuration information Add a member to a configuration Clear all zone configurations Create a zone configuration Delete a zone configuration Disable a zone configuration Enable a zone configuration Remove a member from a configuration Save zone configurations in flash Print zone configuration information cfgsize Print size details of zone database cfgtransabort Abort zone configuration transaction cfgtransshow Print zone configurations in transaction buffer chassisconfig Display or 4 set the chassis configuration chassisname Display or set the chassis’s Name chassisshow Display all Field Replaceable Units (FRU) chipregshow Displays the port registers for a given chip number. cmemretentiontest Data retention test of the central memory SRAMs. cmitest configdefault configdownload configshow configupload configure datatypeshow date dbgshow defzone diagclearerror diagcommandshow diagdisablepost diagenablepost 5 diagenv diaghelp diagloopid diagmodeshow diagpost diagretry diagsetburnin diagsetcycle diagsetesdmode diagsetshowtime diagshow diagshowtime diagstatus diagstopburnin distribute dlsreset dlsset dlsshow Verify CMI bus between ASICs. Reset config to factory default Load switch config from a server Print switch config parameters Save switch config to a server Set 6 switch config parameters Display available diagnostic data types. Print/set the system date and time Display debug levels of various modules Activates or deactivates a default zone configuration. Clears diagnostics failure status. Display diagnostic command descriptions. Disable diagnostic POST. Enable diagnostic POST. Diagnostic debug parameters management package. Display diagnostic command descriptions. Select the diagnostics loop ID. Displays diagnostic mode configuration. Displays the contents of port registers and memories. Sets diagnostic retry mode Initializes the blade for a burnin run. Set diagnostic script parameters. Set or display ESD mode. Set or display diagnostic show-time mode. Display diagnostic status. Set or display diagnostic show-time mode. Display currently running diagnostic tests. Terminate burnin run on a blade. Distributes data to switches in a fabric. Turn off the dynamic load sharing (DLS) option Turn on the dynamic load sharing (DLS) option Display the state of the dynamic load sharing option dnsconfig Configure DNS service enclosureshow Display the switch 7 enclosure attributes errclear Clear error log errdelimiterset Sets the error log start and end delimiter for messages sent to the console and syslog errdump Print error log (no page breaks) errfilterset Sets a filter for an error log destination errmoduleshow Displays all the defined modules in the system errshow Print error log fabportshow fabretryshow fabriclog fabricprincipal fabricshow fabstateclear fabstateresize fabstateshow fabstatsshow fabswitchshow 8 fandisable fanenable fanshow fastboot fastwritecfg fazoneadd fazonecreate fazonedelete fazoneremove fazoneshow fcipchiptest fciphelp fcippathtest fcping fcplogclear fcplogdisable fcplogenable fcplogshow fcpprobeshow fcprlsshow fcrchiptest fcrconfigure 9 fcrfabricshow fcrlsancount Display contents of a particular port’s data Display retry count of various fabric commands Displays or manipulates the fabric log Displays/Enables/Disables Principal Switch Selection mode Print fabric membership info Clears the fabric state information Changes the number of state entries Displays the fabric state information Displays the fabric statistics information Display fabric switch state information Disables a fan unit. Enables a fan unit. Print fan status Reboot this switch and bypass POST Configure FC fastwrite feature Add a member to a fabric assist zone Create a fabric assist zone Delete a fabric assist zone Remove a member from a fabric assist zone Print Fabric Assist Zone information Functional Test of Components in FCIP Complex. Print FCIP help info Data Path Test of the FCIP complex. Sends a FC ELS ECHO request to a port Clear the FCP log Disable logging of FCP events Enable logging of FCP events Display FCP probing log information Display FCP probing information Display FCP RLS (read link state) information Functional Test of FCR FPGA. Sets FC 10 Router configuration parameters. Displays FC Routers on a backbone fabric. Display maximum LSAN zone limit. fcrlsanmatrix Manage LSAN fabric matrix configuration. fcrpathtest Data Path Test on Connection between FCR FPGA and Central ASIC. fcrphydevshow Displays FC Router physical device information. fcrproxyconfig Displays or configures proxy devices presented by an FC Router. fcrproxydevshow Displays FC Router proxy device information. fcrresourceshow Displays FC Router physical resource usage. fcrrouterportcost Displays FC Router route information. fcrrouteshow fcrxlateconfig fddcfg fdmicacheshow 11 fdmishow ficonclear ficoncupset ficoncupshow ficonhelp ficonshow filtertest firmwarecommit firmwaredownload firmwaredownloadstatus firmwarerestore firmwareshow fosconfig fporttest framerpathtest frureplace fspfshow fwalarmsfilterset fwalarmsfiltershow fwclassinit 12 fwconfigreload fwconfigure fwfrucfg fwhelp fwmailcfg Displays FC Router route information. Displays or persistently configures a translate (xlate) domain’s domain ID for both EX_Port-attached fabric and backbone fabric. fddcfg manages the fabric data distribution configuration parameters. Display abbreviated remote FDMI device information according to remote domain ID Display detailed FDMI device information Clears contents of the specified FICON management database Sets FICON-CUP parameters for a switch Displays FICON-CUP parameters for a switch Displays FICON commands Displays contents of the specified FICON management database Run frame filter test for bloom ASICs. Commit firmware to stable storage Download firmware into switch Display the progress and status of firmwareDownload Restore the old firmware in the switch Display firmware versions in the switch Enable/disable FabOS services Functional test of F->N N->F point to point path. Tests data 13 path between ASICs Replace a Field Replacable Unit Print FSPF global information Configure alarms filtering for Fabric Watch Show alarms filtering for Fabric Watch Initialize all Fabric Watch classes Reload Fabric Watch configuration Configure Fabric Watch Configure FRU state and notification Print Fabric Watch help info Configure Fabric Watch Email Alert fwportdetailshow Create a report with detailed port information fwsamshow Show availability monitor information 14 产品编号 2498-B24 基础光纤网络交换 机 IBM System Storage SAN24B-4 易捷版交换机 [带有 24个端口,其中 8个端口已激活(0 到 7) ]和 Brocade Fabric OS (FOS ) 6.1.0 或更高 版本、硬拷贝安装指南、光盘(包含手册) 、维修和包装工具、小型客 插拔 (SFP ) 拆卸工具、用于机架安装的 110V 电源线、滑轨套件、 高级分区、 增强的组管理 (EGM ) (在 2498-B24 上为标配, 在 249824E 上为可选) 、 EZSwitchSetup 向导、 全光纤网络 (在 2498-B24 上为标配, 在 249824E 上为可选) 、 Web 工具 光纤通道接口 E_Port、 F_Port、 FL_Port 和 M_Port 光学收发器 可选择 8Gbps (支持 8、 4 和 2Gbps 链路速度)和 4Gbps (支持 4、 2 和 1Gbps 链路速度)短波和长波 SFP 风扇和电源 双风扇,一个电源 热插拔组件 SFP 光学收发器 非机架支持 支持非机架安装;必须订购适用于不同国家 /地区的电源线 支持的服务器 ?IBM Power Systems 、 IBM System i? 与选定的 IBM AS/400? 服务器、 IBM System p? 与选定的 IBM RS/6000? 服务器 ?IBM System x、选定的 IBM Netfinity? 服务器以及其他基于英 特尔 ? 处理器的服务器 ?选定的 Sun 和 HP 服务器 支持的操作系统 * ?Microsoft Windows NT?、 Windows 2000、 Windows 2003 ?Red Hat Linux、 Red Hat Linux Advanced Server ?SUSE Linux、 SUSE Linux Enterprise Server (SLES ) ?IBM AIX、 HACMP? 、 i5/OS?、 OS/400 ?其他选定的操作系统 支持的存储产品 ?IBM System Storage DS8000 ?、 DS6000? 和 DS4000 存储服 务器 ?IBM TotalStorage Enterprise Storage Server? 系统 ?IBM TotalStorage FAStT 系列存储服务器 ?IBM System Storage N 系列 NAS 文件管理器和网关 ?IBM TotalStorage 3580、 3588、 3590 和 3592 磁带机 ?IBM TotalStorage 3494、 3582、 3583 和 3584 磁带库 ?IBM TotalStorage 3581 磁带自动加载机 ?IBM TotalStorage 3584 高可用性机架型号 HA1 ?IBM TotalStorage SAN 卷控制器 ?其他选定的存储系统 支持的光纤通道交 换机 最新的 IBM System Storage 和 TotalStorage SAN b 型和 m 型交换机、 路由器和导向器(必须运行最新固件) 光纤线缆 需要使用光纤线缆,有各种长度的单模和多模规格可供选择 电源线 附带用于机架安装的跳线; 必须订购用于桌面或独立式安装的适用于不 同国家 /地区的电源线 保修 1年;客户更换元件 (CRU ) 服务;提供保修服务升级 可选特性 8 端口激活、 适应性联网、高级性能监控器、 Enterprise 软件包 、扩展 光纤网络、 Fabric Watch 、全光纤网络(在 2498-B24 上为标配,在 249824E 上为可选) 、干线激活、 SAO 许可 物理特性 高 4.29cm/1.69in 宽 42.88cm/16.88in 深 30.6cm/12.07in 重量 4.35 kg/9.3 lb 温度 工作:0°C 到 40°C (32°F 到 104°F ) 非工作:-25°C 至 70°C (-13°F 至 158°F ) 湿度 工作:40oC (104oF ) 时, 10% 到 85% 非冷凝 非工作:70oC (158oF ) 时, 10% 到 90% 非冷凝 功率 85 - 264 VAC (通用) , 47 - 63 Hz 光纤交换机常用操作命令,下面以博科(Brocade)的光纤交换机操作说明,IBM和HP的光纤交换机都是OEM博科的,操作命令类似。 uptime 显示交换机工作时间 ipaddrshow 显示交换机IP地址信息 licenseshow 显示当前交换机所添加的license信息 switchshow 检查交换机信息及端口状态 switchstatusshow 显示交换机的运行状态 firmwareshow 显示微码版本 fanshow 显示风扇运行状态 tempshow 显示交换机当前温度信息 psshow 显示电源运行状态 slotshow 显示板卡运行状态 hashshow 显示CP版卡HA状态, errdump 显示错误日志 fabricshow 显示fabric信息及级联信息 cfgshow 显示交换机配置信息 porterrshow 显示交换机端口的错误统计 chassisshow 显示外壳信息及序列号 version 相看版本 userconfig --show -a 查看登录帐号 domainsshow 查看交换机的domain信息 aliashow 查看别名 级联互ping:fcping --number 10000 --length 2036 --interval 1 10:00:00:05:33:9f:06:28 级联更改portcfglongdistance 0 备份 configuplocad Protocol (scp or ftp):ftp host: user name: filename: password: 恢复 switchdisable 停用交换机 configdownload Protocol (scp or ftp):ftp Server Name or IP Address [host]: User Name [user]: File Name [config.txt]:config.txt ......... Do you want to continue [y/n]:y Password: 设置IP ipaddrset Ethernet IP Address [10.77.77.77]: Ethernet Subnetmask [255.255.255.0]: Fibre Channel IP Address [none]: Fibre Channel Subnetmask [none]: Gataway IP Address []: DHCP [On] Zone配置示例: 创建别名 alicreate "member1","1,1;1,2;1,3" alicreate "member2","1,2;1,3;1,4" alicreate "member3","1,3;1,4;1,5" alishow 划分zone zonecreate "zone1","member1;member2" zonecreate "zone2","1,1;1,7" zonecreate "zone2","member3;1,8" zoneshow 将zone添加到配置中 cfgcreate "conf1","zone1;zone2;zone3" cfgshow 启用配置 cfgenable conf1 存储配置 cfgsave 删除cfg IBM_2005_H16:admin> cfgRemove "H16_cfg","vmtest" IBM_2005_H16:admin> cfgsave IBM_2005_H16:admin> cfgenable H16_cfg 删除zone IBM_2005_H16:admin> zonedelete vmtest 删除ali 11. 删除一个 zone switch:admin>zonedelete switch:admin>cfgsave 12. 查看当前定义配置中的 zone 以下命令查看所有以字母 A 、 B 、 C 开头的 zone switch:admin>zoneshow zone: Blue_zone 1,1; array1; 1,2; array2 zone: Bobs_zone 4,5; 4,6; 4,7; 4,8; 4,9 13. 创建 zone 配置 switch:admin>cfgcreate 14. 向 zone 配置成员中加入 zone switch:admin>cfgadd switch:admin>cfgsave 15. 从 zone 配置成员中删除 zone switch:admin>cfgremove switch:admin>cfgsave 16. 删除 zone 配置 switch:admin>cfgdelete switch:admin>cfgsave 17. 撤销对 zone 配置的修改 命令 cfgTransAbort 将撤销所有未保存的修改, 及恢复到上次执行 cfgSave 时的 状态。 18. 查看 zone 配置信息 cfgShow 不带任何参数:显示处于 defined 和 effective 状态的所有 zone 配置 信息 switch:admin>cfgshow Defined configuration: cfg: USA1 Blue_zone cfg: USA_cfgRed_zone; Blue_zone zone: Blue_zone 1,1; array1; 1,2; array2 zone: Red_zone 1,0; loop1 alias: array1 21:00:00:20:37:0c:76:8c; 21:00:00:20:37:0c:71:02 alias: array2 21:00:00:20:37:0c:76:22; 21:00:00:20:37:0c:76:28 alias: loop1 21:00:00:20:37:0c:76:85; 21:00:00:20:37:0c:71:df Effective configuration: cfg: USA_cfg zone: Blue_zone 1,1 21:00:00:20:37:0c:76:8c 21:00:00:20:37:0c:71:02 1,2 21:00:00:20:37:0c:76:22 21:00:00:20:37:0c:76:28 zone: Red_zone 1,0 21:00:00:20:37:0c:76:85 21:00:00:20:37:0c:71:df 19. 保存 zone 配置 switch:admin>cfgenable 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 'USA_cfg' configuration (yes, y, no, n): [no] y zone config Updating flash ... 转载请注明出处范文大全网 » 光纤交换机配置-命令模式范文二:博科光纤交换机命令 博科 光纤交换机配置命令一览
范文三:ibm b24 光纤交换机详细参数
范文四:博科光纤交换机常用操作命令
范文五:Brocade 光纤交换机常用命令