MDS 9148 配置
一、初始化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
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
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
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
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 配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Using jQuery to add
- 下一篇: 平安好车主信用卡年费