思科MDS9148S初始化及配置

  • A+
所属分类:网络

部署了VMware+netapp+MDS, 架构比较简单,netapp的A.B主控连接到两台MDS交换机,MDS-1和MDS-2

思科MDS9148S初始化及配置

步骤一、MDS交换机进行初始化配置

---- System Admin Account Setup ----


Do you want to enforce secure password standard (yes/no) [y]:   

  Enter the password for "admin":             ###设置管理员账号
  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): yes

  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 switch name : MDS-A

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

    Mgmt0 IPv4 address : 10.10.28.53

    Mgmt0 IPv4 netmask : 255.255.255.240

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

    IPv4 address of the default gateway : 10.10.28.49

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

  Enable the ssh service? (yes/no) [y]: ####启用SSH登录

    Type of ssh key you would like to generate (dsa/rsa) [rsa]: rsa

    Number of rsa key bits <1024-2048> [1024]: 

  Enable the telnet service? (yes/no) [n]: ####一般情况,启用了SSH,telnet可以不开启,根据情况选择

  Configure congestion/no_credit drop for fc interfaces? (yes/no)     [y]: no

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

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

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

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

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

  Configure default switchport interface state (shut/noshut) [shut]: ###如果选择的是shut,那么一定记,使用端口的时候要开启

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

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

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

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

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

The following configuration will be applied:
  password strength-check
  switchname MDS-A
  interface mgmt0
    ip address 10.10.28.53 255.255.255.240
    no shutdown
  ip default-gateway 10.10.28.49
  ssh key rsa 1024 force
  feature ssh
  feature telnet
  system timeout no-credit-drop default logical-type edge
  feature http-server
  system default switchport shutdown
  system default switchport trunk mode off
  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]:    

Use this configuration and save it? (yes/no) [y]: yes ###保存配置

[########################################] 100%
Copy complete.

初始化完成之后,我们就可以通过管理口使用SSH进行远程管理

步骤二、配置VSAN,ZONE, ZONESET

一般情况,MDS的配置思路可以整理为:
创建VSAN ,添加相关端口到此VSAN ,创建ZONE ,添加ZONE成员 ,创建ZONESET, 添加ZONE到ZONESET中 ,激活ZONESET 

虚拟化环境下,一般需要开启NPIV功能

MDS-A(config)# # feature npiv
MDS-A(config)# vsan database 
MDS-A(config-vsan-db)# vsan 10 name vmware       ###创建VSAN 10
MDS-A(config-vsan-db)# vsan 10 interface fc1/1      ###Server
MDS-A(config-vsan-db)# vsan 10 interface fc1/12    ###netapp-a, 由于netapp控制器模块数量不足,只连接了A
MDS-A(config-vsan-db)# exit
MDS-A(config)# zone name vmware_server1 vsan 10            ###创建zone
MDS-A(config-zone)# member interface fc1/1
MDS-A(config-zone)# member interface fc1/12
MDS-A(config-zone)# exitMDS-A(config)# zoneset name vmware vsan 10      ###创建zoneset
MDS-A(config-zoneset)# member vmware_server1
MDS-A(config-zoneset)# exit
MDS-A(config)# zoneset activate name vmware vsan 10    ###激活zonesetMDS-A(config)# intterface fc1/1,fc1/12
MDS-A(config)#no shutdown
  • 我的微信
  • 欢迎大家,与我交流,非诚勿扰谢谢
  • weinxin
  • 奕知伴解 微信公众号
  • 扫一扫关注,从此不迷路。
  • weinxin
刘銮奕

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: