一、初始化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 1blank.gifEnter the IP address you assigned to your switch in your Address field of you browser to begin the

      Cisco Device Manager installation

      Step 2blank.gifClick the Device Manager link

wKioL1LeKuHQ8_xnAAP-bit6tbQ820.jpg

      Step 3blank.gifFollow the onscreen instructions to install Cisco Device Manager.


        Using the Quick Config Wizard

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

       Step 2blank.gifEnter a password in the Password field

       Step 3blank.gifClick Open

wKioL1LeLzjgp3dEAADsO2OtWp0584.jpg

        Step 4blank.gifClick FC, and then choose Quick Config.

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

wKiom1LeL5DQioIEAAU2u8REYis307.jpg

        Step 6blank.gifSelect 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 7blank.gifClick Next.
You see a summary of your changes

wKiom1LeL-fiPIZdAAGQpWqtN1U361.jpg

         Step 8blank.gifClick Finish to save your changes.

         Step 9blank.gifRepeat Steps 2 through 5 to create more zones.

         Creating VSANs

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

          Step 2blank.gifEnter a password in the Password field

          Step 3blank.gifClick the Open button

wKiom1LeMGTQWpZiAADsO2OtWp0577.jpg

         Step 4blank.gifClick FC, and then choose VSANs.

         Step 5blank.gifClick Create.

         Step 6blank.gifUse the Create VSAN General dialog box to create a VSAN,

wKiom1LeMKTwPbQ3AAFQod1VmJI722.jpg


         Step 7blank.gifClick Finish to save your changes.

         Step 8blank.gifRepeat 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.

Tip blank.gifTo 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).

Tip blank.gifIf 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).

Tip blank.gifExecute 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).

Tip blank.gifExecute 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.

Noteblank.gifAll 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.

caut.gif

Caution blank.gifYou 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.
Tip blank.gifUse 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.