9124光纤交换机配置管理使用手册
9124光纤交换机配置管理使用手册
1. 2.
初始化信息 ............................................................................................................................... 3 交换机基本配置 ....................................................................................................................... 4 2.1. 2.2. 2.3. 2.4. 2.5. 3. 4.
配置交换机管理地址 ................................................................................................... 4 配置VSAN ................................................................................................................... 4 配置ZONESET ............................................................................................................ 4 配置ZONE ................................................................................................................... 5 TRUNKING的配置 ..................................................................................................... 5
常用检查命令 ........................................................................................................................... 5 常用配置命令 ........................................................................................................................... 6 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. 4.7. 4.8. 4.9. 4.10.
删除创建的ZONE ....................................................................................................... 6 清除配置 ....................................................................................................................... 6 设置配置口超时 ........................................................................................................... 6 安装与清除license ....................................................................................................... 6 显示指定License ......................................................................................................... 6 显示全部Licenses ........................................................................................................ 7 显示ID ......................................................................................................................... 7 命名交换机 ................................................................................................................... 7 设置管理口 ................................................................................................................... 7 禁止与使能Telnet 与 ssh ....................................................................................... 8
4.11. 下载配置文件 ............................................................................................................... 8 4.12. 4.13. 4.14. 4.15.
保存配置 ................................................................................................................... 8 创建与设置VSAN ................................................................................................... 8 分配VSAN成员 ...................................................................................................... 9 删除VSAN ............................................................................................................... 9
第 1 页 共 16 页
9124光纤交换机配置管理使用手册
4.16. 4.17. 4.18. 4.19. 4.20. 4.21. 4.22. 4.23.
浏览VSAN设置 ...................................................................................................... 9 设置FC端口 .......................................................................................................... 11 设置Zone ............................................................................................................... 11 设置Zone Sets ........................................................................................................ 11 激活Zone Set ......................................................................................................... 12 浏览Zone信息 ...................................................................................................... 12 恢复管理员口令 ..................................................................................................... 15 设置端口速率 ......................................................................................................... 15
第 2 页 共 16 页
9124光纤交换机配置管理使用手册
1. 初始化信息
在启动交换机后,会有类似如下的信息显示:
---- System Admin Account Setup ----
Enter the password for \ 输入admin管理员密码,系统设为P@ssw0rd Confirm the password for \ 再次输入admin管理员密码,P@ssw0rd
---- Basic System Configuration Dialog ----
This setup utility will guide you through the basic configuration of
the system. Setup configures only enough connectivity for management of the system.
Please register Cisco MDS 9000 Family devices promptly with your supplier. Failure to register may affect response times for initial service calls. MDS devices must be registered to receive entitled support services.
Press Enter at anytime to skip a dialog. Use ctrl-c at anytime to skip the remaining dialogs.
Would you like to enter the basic configuration dialog (yes/no): no 输入no,然后进入命令行配置模式; 输入yes,然后进入配置向导模式。 MDS Switch
switch login: admin 输入正确的用户名和刚才设置的密Password: 码P@ssw0rd,进入命令行模式 Cisco Storage Area Networking Operating System (SAN-OS) Software TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2005, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained herein are owned by other third parties and are used and distributed under license. Some parts of this software are covered under the GNU Public License. A copy of the license is available at http://www.gnu.org/licenses/gpl.html. switch#
然后,可以按照类似以太网交换机配置的方法来配置交换机了。
第 3 页 共 16 页
9124光纤交换机配置管理使用手册
2. 交换机基本配置
2.1. 配置交换机管理地址
switch# config t
Enter configuration commands, one per line. End with CNTL/Z. switch (config)# switchname switch switch(config)#
switch(config)# interface mgmt 0
switch(config-if)# ip adress 192.168.100.108 255.255.255.0 switch(config-if)# no shutdown
interface mgmt 0 表示的是交换机的管理端口。
Config t 进入配置模式 修改交换机名为switch 配置交换机的管理IP地址 开启管理端口 2.2. 配置VSAN
接下来配置VSAN
switch#config t
switch (config)#vsan database switch(config-vsan-db)# vsan 100 switch(config-vsan-db)#end
增加VSAN 100
2.3. 配置ZONESET
在VSAB100中创建名为anhuipowerswitch#config t
的ZONE switch (config)#zoneset name anhuipower vsan 100
switch (config-zoneset)#member ZONE_NAME 把ZONE填加到该ZONESET中
注:在交换机处于正常运行时,如果配置了新的ZONE,并且填加到了ZONESET中,此时需要Acitvate才能生效,命令如下:
switch#config t
switch (config)#zoneset activate name anhuipower vsan 100
第 4 页 共 16 页
9124光纤交换机配置管理使用手册
2.4. 配置ZONE
下面配置ZONE 基本命令如下: switch#config t
switch(config)#zone name zone_name vsan 100
配置zone,并给zone命名,然后把switch(config)#member interface fc#/#
指定端口加入到该zone中 switch(config)#member interface fc#/#
交换机端口都是以fc表示,fc1/1 表示第一个模块上的第一个端口。由于像cisco9506之类的交换机是模块化的,所以其每个端口就是fc模块号/端口号。像cisco9120,cisco9140,不是模块化的,但其接口默认是fc1/端口号。
2.5. TRUNKING的配置
默认情况下,交换机每个端口的TRUNKING协议都是启用的,交换机互连的端口应工作在E mode下,如果有两台交换机互相连接的情况,则要启用TRUNKING,以FC1/1和FC1/2为例。
配置命令如下: switch#config t
switch(config)# interface fc1/1
指定端口为E工作模式 switch(config-if)# switchport mode e
switch(config)# interface fc1/2
switch(config-if)# switchport mode e
3. 常用检查命令
show run 显示当前配置 show zone 显示当前配置的ZONE的信息 show zoneset 显示当前配置的ZONESET的信息 show interface fc1/1 显示端口fc1/1信息 show zone activate 显示当前活动的ZONE信息 show zoneset activate 显示当前活动的ZONESET信息
show flogi database detail 查看交换机端口连接的HBA卡的WWN号 copy run start 保存当前配置
第 5 页 共 16 页
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库9124思科光纤交换机配置管理使用手册在线全文阅读。
相关推荐: