一、初始化MDS;

二、ENABLE接口;

三、Active zone;

四、添加zone成员;

五、激活zone;

1、初始化交换机

Cisco9148 SAN交换机首次配置时,需要先做初始化设置,设置完成后才可以登录图形化界面。

使用随机自带的串口调试线缆进行连接,进行如下配置。

Enter the password for "admin":  (设置一个密码,有大小写字母、数字、字符串、满足8位)

Confirm the password for "admin":

---- 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): y

Create another login account (yes/no) [n]: <Enter>

Configure read-only SNMP community string (yes/no) [n]: <Enter>

Configure read-write SNMP community string (yes/no) [n]: <Enter>

Enter the switch name : localhost

Continue with Out-of-band (mgmt0) management configuration? (yes/no) [y]: <Enter>

Mgmt0 IPv4 address : 10.77.77.77 (设置同网段的管理IP地址)

Mgmt0 IPv4 netmask : 255.255.255.0

Configure the default gateway? (yes/no) [y]: n

Configure advanced IP options? (yes/no) [n]: <Enter>

Enable the ssh service? (yes/no) [y]: n

Enable the telnet service? (yes/no) [n]: y

Enable the http-server? (yes/no) [y]: <Enter>

Configure clock? (yes/no) [n]: <Enter>

Configure timezone? (yes/no) [n]: <Enter>

Configure summertime? (yes/no) [n]: <Enter>

Configure the ntp server? (yes/no) [n]: <Enter>

Configure default switchport interface state (shut/noshut) [shut]: <Enter>

Configure default switchport trunk mode (on/off/auto) [on]: auto

Configure default switchport port mode F (yes/no) [n]: <Enter>

Configure default zone policy (permit/deny) [deny]: <Enter>

Enable full zoneset distribution? (yes/no) [n]: <Enter>

Configure default zone mode (basic/enhanced) [basic]: <Enter>

The following configuration will be applied:

password strength-check

switchname localhost

interface mgmt0

ip address 10.77.77.77 255.255.255.0

no shutdown

no feature ssh

feature telnet

feature http-server

system default switchport shutdown

system default switchport trunk mode auto

no system default zone default-zone permit

no system default zone distribute full

no system default zone mode enhanced

Would you like to edit the configuration? (yes/no) [n]: <Enter>

Use this configuration and save it? (yes/no) [y]: <Enter>

[########################################] 100%

到此,设备初始化完成。

2、打开IE浏览器,在地址栏输入配置好的IP地址(http://10.77.77.77),打开如下界面。

3、点击上图中的“Cisco Device Manager”打开如下界面。

4、点击上图中的“Continue”,打开如下界面。

5、点击上图中的“Next”,进行软件的安装。

点击“下一步”

点击“Install”

点击“是”,开始安装软件。

6、软件安装完成后,打开如下界面,在密码栏输入设置好的密码“123ibm!@#IBM”。

7、点击“Open”,打开控制界面。

8、点击“FC->Quick Config”,打开配置界面。

9、在打开的控制界面中,进行zone的设置。

点击“Next”,查看zone的设置是否正确。

点击“Finish”,完成zone的配置。

10、在命令行中,运行如下命令,查看zone是否激活。

admin# show zone active

zone name Z_FC1_5_FC1_1_V1 vsan 1

* fcid 0xb80500 [interface fc1/5 swwn 20:00:00:05:73:da:b1:50]

* fcid 0xb80000 [interface fc1/1 swwn 20:00:00:05:73:da:b1:50]

zone name Z_FC1_5_FC1_2_V1 vsan 1

* fcid 0xb80500 [interface fc1/5 swwn 20:00:00:05:73:da:b1:50]

* fcid 0xb80200 [interface fc1/2 swwn 20:00:00:05:73:da:b1:50]

zone name Z_FC1_6_FC1_3_V1 vsan 1

* fcid 0xb80400 [interface fc1/6 swwn 20:00:00:05:73:da:b1:50]

* fcid 0xb80100 [interface fc1/3 swwn 20:00:00:05:73:da:b1:50]

zone name Z_FC1_6_FC1_4_V1 vsan 1

* fcid 0xb80400 [interface fc1/6 swwn 20:00:00:05:73:da:b1:50]

* fcid 0xb80300 [interface fc1/4 swwn 20:00:00:05:73:da:b1:50]

zone name $default_zone$ vsan 1

11、运行如下命令,查看zoneset是否已保存成功。

admin# show zoneset

zoneset name ZONESET_V1 vsan 1

zone name Z_FC1_5_FC1_1_V1 vsan 1

interface fc1/5 swwn 20:00:00:05:73:da:b1:50

interface fc1/1 swwn 20:00:00:05:73:da:b1:50

zone name Z_FC1_5_FC1_2_V1 vsan 1

interface fc1/5 swwn 20:00:00:05:73:da:b1:50

interface fc1/2 swwn 20:00:00:05:73:da:b1:50

zone name Z_FC1_6_FC1_3_V1 vsan 1

interface fc1/6 swwn 20:00:00:05:73:da:b1:50

interface fc1/3 swwn 20:00:00:05:73:da:b1:50

zone name Z_FC1_6_FC1_4_V1 vsan 1

interface fc1/6 swwn 20:00:00:05:73:da:b1:50

interface fc1/4 swwn 20:00:00:05:73:da:b1:50

12、两台交换机中的WWN号。

Installing Cisco Device Manager

     Step 1Enter the IP address you assigned to your switch in your Address field of you browser to begin the

Cisco Device Manager installation

      Step 2Click the Device Manager link

      Step 3Follow the onscreen instructions to install Cisco Device Manager.

Using the Quick Config Wizard

       Step 1Click the Device Manager icon on your desktop to log in.

       Step 2Enter a password in the Password field

       Step 3Click Open

        Step 4Click FC, and then choose Quick Config.

        Step 5Enable two ports by checking the two corresponding check boxes in the Enable column,

        Step 6Select one of the two enabled ports that you want in a zone by checking its check box in the Ports Zoned To area.
When you check this check box, the second enabled port automatically becomes checked. Both ports are now members of the same zone.

        Step 7Click Next.
You see a summary of your changes

         Step 8Click Finish to save your changes.

         Step 9Repeat Steps 2 through 5 to create more zones.

Creating VSANs

          Step 1Click the Device Manager icon on your desktop to log in.

          Step 2Enter a password in the Password field

          Step 3Click the Open button

         Step 4Click FC, and then choose VSANs.

         Step 5Click Create.

         Step 6Use the Create VSAN General dialog box to create a VSAN,

         Step 7Click Finish to save your changes.

         Step 8Repeat Step 6 and 7 to create more VSANs.

Creating Zone Sets and Adding Member Zones

Command
Purpose

Step 1

switch# config t

Enters configuration mode.

Step 2

switch(config)# zoneset name Zoneset1 vsan 3

switch(config-zoneset)#

Configures a zone set called Zoneset1.

TipTo activate a zone set, you must first create the zone and a zone set.

Step 3

switch(config-zoneset)#member Zone1

Adds Zone1 as a member of the specified zone set (Zoneset1).

TipIf the specified zone name was not previously configured, this command will return the Zone not present error message.

Step 4

switch(config-zoneset)# zone name InlineZone1

switch(config-zoneset-zone)#

Adds a zone (InlineZone1) to the specified zone set (Zoneset1).

TipExecute this step only if you need to create a zone from a zone set prompt.

Step 5

switch(config-zoneset-zone)#member fcid 0x111112

switch(config-zoneset-zone)#

Adds a new member (FC ID 0x111112) to the new zone (InlineZone1).

TipExecute this step only if you need to add a member to a zone from a zone set prompt.

Activating a Zone Set

Command
Purpose

Step 1

switch# config t

switch(config)#

Enters configuration mode.

Step 2

switch(config)# zoneset activate name Zoneset1 vsan 3

Activates the specified zone set.

switch(config)# no zoneset activate name Zoneset1 vsan 3

Deactivates the specified zone set.

Configuring a Zone

Command
Purpose

Step 1

switch# config t

Enters configuration mode.

Step 2

switch(config)# zone name Zone1 vsan 3

switch(config-zone)#

Configures a zone called Zone1 for the VSAN called vsan3.

NoteAll alphanumeric characters or one of the following symbols ($, -, ^, _) are supported.

Step 3

switch(config-zone)# membertype value

pWWN example:

switch(config-zone)# member pwwn 10:00:00:23:45:67:89:ab

Fabric pWWN example:

switch(config-zone)# member fwwn 10:01:10:01:10:ab:cd:ef

FC ID example:

switch(config-zone)# member fcid 0xce00d1

FC alias example:

switch(config-zone)# member fcalias Payroll

Domain ID example:

switch(config-zone)# member domain-id 2 portnumber 23

IPv4 address example:

switch(config-zone)# member ip-address 10.15.0.0 255.255.0.0

IPv6 address example:

switch(config-zone)# member ipv6-address 2001::db8:800:200c:417a/64

Local sWWN interface example:

switch(config-zone)# member interface fc 2/1

Remote sWWN interface example:

switch(config-zone)# member interface fc2/1 swwn 20:00:00:05:30:00:4a:de

Domain ID interface example:

switch(config-zone)# member interface fc2/1 domain-id 25

Configures a member for the specified zone (Zone1) based on the type (pWWN, fabric pWWN, FC ID, fcalias, domain ID, IPv4 address, IPv6 address, or interface) and value specified.


CautionYou must only configure pWWN-type zoning on all MDS switches running Cisco SAN-OS if there is a Cisco MDS 9020 switch running FabricWare in the same fabric.


TipUse a relevant display command (for example, show interface or show flogi database) to obtain the required value in hex format.

Configuring the Default Zone Access Permission

Command
Purpose

Step 1

switch# config t

Enters configuration mode.

Step 2

switch(config)# zone default-zone permit vsan 1

Permits traffic flow to default zone members.

switch(config)# nozone default-zone permit vsan 1

Denies (default) traffic flow to default zone members.

转载于:https://blog.51cto.com/yqjykn/1353486

MDS 9148 配置相关推荐

  1. mds部署服务器系统,Windows服务器2003年对MDS/IPS-8配置示例的iSCSI主机

    目录 简介 Cisco的iSCSI驱动,在服务器上位于,是iSCSI解决方法的关键组件.这些iSCSI驱动程序拦截SCSI命令,将其封装到IP数据包中,并将其重定向到Cisco SN 5420.Cis ...

  2. Cisco MDS交换机配置ssh 免密登录

    前两天领导突然说交换机要做ssh免密,找了好多文档都不适用,然后去官网看了下官方手册. 其实主要就两步: (1)在服务器端生成一个公钥/秘钥对: (2)复制拷贝秘钥添加到switch中,最后验证登录. ...

  3. mds部署服务器系统,CephFS提供/添加/删除MDS

    部署元数据服务器 每个CephFS文件系统至少需要一个MDS,集群维护者通常会根据需要使用其自动部署工具来启动所需的MDS服务器.推荐使用Rook和ansible(通过ceph-ansible剧本)进 ...

  4. HEALTH_WARN mds 0 is laggy的解决方法

    当你的ceph集群状态遇到如下状态时, $ ceph -s     cluster 3a4399c0-2458-475f-89be-ff961fbac537      health HEALTH_WA ...

  5. oracle linux7.9安装 Oracle Enterprise Manager Cloud Control13.5

    本章介绍如何在使用现有的.经过认证的 Oracle 数据库来存储 Oracle 管理信息库(管理信息库)的同时安装新的企业管理器系统. 安装软件下载 Oracle Enterprise Manager ...

  6. 《OpenStack部署实践》

    <OpenStack部署实践> 基本信息 作者: 张子凡 丛书名: 图灵原创 出版社:人民邮电出版社 ISBN:9787115346797 上架时间:2014-2-27 出版日期:2014 ...

  7. Hadoop centos 6.5 配置

    2019独角兽企业重金招聘Python工程师标准>>> 配置网络(虚拟主机需要更改网络适配器为:桥接模式-复制物理网络连接状态) //vi /etc/sysconfig/networ ...

  8. WebCenter Space中配置使用WSRP Portlet

    概述 WebCenter Space作为应用展现层集成容器,可以方便地引入Portlet服务,包括WSRP Portlet.PDK-Java Portlet及Pagelet等,本文主要介绍了如何在We ...

  9. mysql数据库安全配置文件_MySQL数据库安全配置

    MySQL数据库安全配置 1.前言 MySQL 是完全网络化的跨平台关系型数据库系统,同时是具有客户机/服务器体系结构的分布式数据库管理系统.它具有功能强.使用简便.管理方便.运行速度快.安全可靠性强 ...

最新文章

  1. C++通过GSoap访问webService
  2. ExtJS实战(10)-项目总结
  3. 【C 语言】结构体 ( 结构体 数组 作为函数参数 | 数组 在 堆内存创建 )
  4. 假笨说-从一起GC血案谈到反射原理
  5. 【安全漏洞】Easy代码审计
  6. Javascript继承4:洁净的继承者----原型式继承
  7. 计算一个数的二进制中1的个数
  8. 查找三 哈希表的查找
  9. PointNet:3D点集分类与分割深度学习模型
  10. 【软件工程】软件复用
  11. mybatis处理集合和循环数组问题
  12. 【python】filter()
  13. mysql哨兵机制_Redis 哨兵机制以及底层原理深入解析,这次终于搞清楚了
  14. Teraterm的Log设定
  15. alarm之后调用sleep会这样
  16. (USB HID) Report Descriptor 理解
  17. 我的ES6学习之路(一)
  18. Eclipse 安装 svn
  19. 【软件体系结构】软件体系结构概述
  20. office2007怎么卸载干净?

热门文章

  1. Shallow and retained sizes
  2. memcached 安装小结-1
  3. smarty中section的使用
  4. 【.NET架构】BIM软件架构02:Web管控平台后台架构
  5. 【Luogu】P3380树套树模板(线段树套Splay)
  6. aspectj xml
  7. 【Python自动化运维之路Day2】
  8. openal 基础知识4
  9. chm帮助文档出现乱码
  10. 唐骏:幸福与财富无关