1、Cisco交换机操作基本交换机知识:硬件:1 32口 24激活+8license +10GBEport(license)2 需求空间 1U3 约定,交换机尽量在机头机柜上 4 连接方式,首先console连接进行初始化(公转U口9针)软件: 操作软件:1 Fiber manager 2 device manager相关知识介绍1 VSAN概念:一个VASN相当于一个虚拟交换机,P口不能跨VSAN(9134不可以,高端设置可以)2 接口概念 :F-port:只属于一个VASN E-PORT 级联口 TE:可用多个VASN FLthunk&级联 SD-port 设置SPAN 3 操作模式:根模式
2、/ 只能进行简单show操作,不能进行任何设置 Config-vasn 可以进行VASN操作 Config-zone 可以进行zone操作 Config-zoneset 了以进行zoneset操作 交换机初始设置1. Admin/password的设置2. Switch Name的设置3. Switch IP Address 设置 首次设置,必须通过console进行连接,然后进行初始化设计,以后设定IP后可通过LAN进行登陆具体步骤:(红色字体部分着重注意,需要进行设置,大部分按照默认设置即可,而且设置的部分进入管理工具软件可以更改) - System Admin Account Setup
3、 - Enter the password for admin: passwordConfirm the password for admin: password- 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. Press Enter at any time to s
4、kip any dialog. Use ctrl-c at anytime to skip the remaining dialogs. Would you like to enter the basic configuration dialog (yes/no): y Create another login account (yes/no) n: Configure read-only SNMP community string (yes/no) n: Configure read-write SNMP community string (yes/no) n: Enter the swit
5、ch name: Pxx-MDS-x (where xx is your pod number and x is the switch number; for example: P01-MDS-1) Continue with Out-of-band (mgmt0) management configuration? (yes/no) y: Mgmt0 IPv4 address : (where x is your pod number and y is 5 for MDS-1 and 3 for MDS-2) Mgmt0 IPv4 netmask : 255.255.255.0 Config
6、ure the default gateway? (yes/no) y: IPv4 address of the default gateway : 10.0.x.254 (where x is your pod number) Configure advanced IP options? (yes/no) n: Enable the telnet service? (yes/no) y: Enable the ssh service? (yes/no) n: Configure the ntp server? (yes/no) n: Configure default switchport
7、interface state (shut/noshut) shut: (注意一下)noshut Configure default switchport trunk mode (on/off/auto) on: Configure default zone policy (permit/deny) deny: Enable full zoneset distribution (yes/no) n: NOTE:初始设定的配置对新的VSAN起作用,即原始VSAN1无这些配置 解决办法:1 zone default-zone permit VSAN2 新建 NEW VSAN2 将port转移VSA
8、N2里面命令行安装过程# show hard 显示机器硬件信息# config terminal 进入配置菜单模式VSAN配置 #config t(config)# vsan database 进入(config-vsan-db)# vsan 2 name VSAN2 创建名字为VSAN2的vsan(config-vsan-db)# vsan 2 interface fc 1/1 32 将1-32port光纤口绑定在vsan2上(config-vsan-db)# exit 退出config-vsan-db模式Zone配置#config t(config)# zone name zone1 vs
9、an 2 进入config-zone 模式并创建zone1(config-zone)# member interfac fc 1/10(config-zone)# member interfac fc 1/11(config-zone)# member interfac fc 1/12 将口绑定zone1上将10,11,12放到Zone1中(config-zone)# end 退出config-zone模式将Zone放到指定的VSAN#config t(config)# zoneset name Set1 vsan 2 进入config-zoneset 模式(config-zoneset)#
10、zone name zone1 保存zone1 (config-zoneset-zone)# end 退出返回show模式显示Zone# sh zonesetzoneset name Set1 vsan 2 zone name zone1 vsan 2 interface fc1/10 swwn 20:00:00:0c:ce:5c:5b:80 interface fc1/11 swwn 20:00:00:0c:ce:5c:5b:80interface fc1/12 swwn 20:00:00:0c:ce:5c:5b:80激活VSAN (config)# zoneset activate nam
11、e Set1 vsan 2激活zonesetZoneset activation initiated. check zone status (config)# endsh zoneset activeno member interfac fc 1/10show flogi database 看WWN(相当于BROCADE的switchshow)注意模式交换机信息terminal length 0show tech-support details copy run start 保存信息 *保存* TABGUI操作界面1 IP连接交换机,登陆网页下载安装 Fiber Manager Device
12、Manager 并安装在终端上,此时桌面上会有图标(两个球形)2 登陆窗口 用户名和密码在初始时设置的默认: admin/password3 创建VSAN设置VSAN号和DOMAIN号4 设置各个port信息选择左侧面板 选择switch 和接口号5 查看各个port信息设置各个port信息并提交应用给设备气别名(用于识别与管理不同设备)1 选择左侧工具条Physical Attributes里面的end device选项2 在划圈的里面显示连接属性,选择 Switch Interface 选项双击别名栏Alias,添加主机信息(根据自己规划)填写完后信息确认信息,并Apply应用、5 配置z
13、one信息和zoneset信息选择要配置zone信息的VSAN,右键选择 Eide Local*选择添加(Incert)全部zone database 窗口设置zoneset名称选择Zones,点击Intert 命令选择end device里面的信息,拖拽到Zone信息里面将设置好的Zone1拖拽到Zoneset1里面点击Activate Zoneset1 是配置生效成功配置文件显示,然后点击close关闭窗口回到Zone Database 窗口在 Fabric Manager Logical Domains 控制板上,expand the VSAN you created and expand the ZoneSet1 folder. 在Fabric Manager Logical Domains 控制板上点击Zone1中能查看连接状态拓扑图
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1