Chinaunix首页 | 论坛 | 博客
  • 博客访问: 148399
  • 博文数量: 44
  • 博客积分: 466
  • 博客等级: 下士
  • 技术积分: 509
  • 用 户 组: 普通用户
  • 注册时间: 2011-05-18 11:34
文章分类

全部博文(44)

文章存档

2016年(1)

2015年(3)

2014年(9)

2013年(9)

2012年(1)

2011年(21)

我的朋友

分类: 服务器与存储

2014-08-30 22:08:23

1、首先对MDS 9148进行初始化配置

     MDS 9148 进行上架加电,采用串口线进行初始化配置,包含admin密码、IP地址等进行配置

2、初始化配置完成后采用SSH登录MDS 9148交换机进行命令行配置
Cisco Nexus Operating System (NX-OS) Software
TAC support:
Copyright (c) 2002-2010, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
and

cisco9148SW1#config t      //进入全局模式

cisco9148SW1(config)#


cisco9148SW1(config)# vsan database      //进入VSAN创建模式
cisco9148SW1(config-vsan-db)#vsan 100  //
创建VSAN 10
cisco9148SW1(config-vsan-db)#exit      
zoneset name vmzoneset1 vsan 100
//
1-6号端口要划分给VSAN 100
cisco9148SW1(config-vsan-db)# vsan 100 interface fc1/1 -6
Traffic on fc1/1 may be impacted. Do you want to continue? (y/n) [n] y
Traffic on fc1/2 may be impacted. Do you want to continue? (y/n) [n] y
Traffic on fc1/3 may be impacted. Do you want to continue? (y/n) [n] y
Traffic on fc1/4 may be impacted. Do you want to continue? (y/n) [n] y
Traffic on fc1/5 may be impacted. Do you want to continue? (y/n) [n] y
Traffic on fc1/6 may be impacted. Do you want to continue? (y/n) [n] y
cisco9148SW1(config-vsan-db)# exit
cisco9148SW1(config)# exit
cisco9148SW1# show vsan 100 membership
vsan 100 interfaces:
    fc1/1             fc1/2             fc1/3             fc1/4            
    fc1/5             fc1/6            

cisco9148SW1# show vsan 1 membership
vsan 1 interfaces:
    fc1/7             fc1/8             fc1/9             fc1/10           
    fc1/11            fc1/12            fc1/13            fc1/14           
    fc1/15            fc1/16            fc1/17            fc1/18           
    fc1/19            fc1/20            fc1/21            fc1/22           
    fc1/23            fc1/24            fc1/25            fc1/26           
    fc1/27            fc1/28            fc1/29            fc1/30           
    fc1/31            fc1/32            fc1/33            fc1/34           
    fc1/35            fc1/36            fc1/37            fc1/38           
    fc1/39            fc1/40            fc1/41            fc1/42           
    fc1/43            fc1/44            fc1/45            fc1/46           
    fc1/47            fc1/48           

cisco9148SW1# show vsan 100
vsan 100 information
         name:VSAN0100  state:active
         interoperability mode:default
         loadbalancing:src-id/dst-id/oxid 
         operational state:up

cisco9148SW1#

//如下所示创建ZONE Esx01-Product1-HBA1_3PAR-C1-1”并加入端口
cisco9148SW1(config)#zone name  Esx01-Product1-HBA1_3PAR-C1-1  vsan 100
cisco9148SW1(config-zone)#member interface fc1/3
cisco9148SW1(config-zone)#member interface fc1/1
cisco9148SW1(config-zone)#exit
cisco9148SW1(config)#zoneset name vmzoneset1 vsan 100   //
进入zoneset模式
cisco9148SW1(config-zoneset)#member Esx01-Product1-HBA1_3PAR-C1-1  //
zone加入到zoneset
cisco9148SW1(config-zoneset)#zoneset activate name vmzoneset1 vsan 100   //
激活zoneset

cisco9148SW1(config-zoneset)#exit


cisco9148SW1(config)#zone name  Esx02-Product1-HBA1_3PAR-C1-1  vsan 100
cisco9148SW1(config-zone)#member interface fc1/4
cisco9148SW1(config-zone)#member interface fc1/1
cisco9148SW1(config-zone)#exit
cisco9148SW1(config)#zoneset name vmzoneset1 vsan 100
cisco9148SW1(config-zoneset)#member Esx02-Product1-HBA1_3PAR-C1-1
cisco9148SW1(config-zoneset)#zoneset activate name vmzoneset1 vsan 100

cisco9148SW1(config-zoneset)#exit


cisco9148SW1(config)#zone name  Esx03-Product1-HBA1_3PAR-C1-1  vsan 100
cisco9148SW1(config-zone)#member interface fc1/5
cisco9148SW1(config-zone)#member interface fc1/1
cisco9148SW1(config-zone)#exit
cisco9148SW1(config)#zoneset name vmzoneset1  vsan 100
cisco9148SW1(config-zoneset)#member Esx03-Product1-HBA1_3PAR-C1-1
cisco9148SW1(config-zoneset)#zoneset activate name vmzoneset1  vsan 100

cisco9148SW1(config-zoneset)#exit


cisco9148SW1(config)#zone name   Esx04-Product1-HBA1_3PAR-C1-1  vsan 100
cisco9148SW1(config-zone)#member interface fc1/6
cisco9148SW1(config-zone)#member interface fc1/1
cisco9148SW1(config-zone)#exit
cisco9148SW1(config)#zoneset name vmzoneset1 vsan 100
cisco9148SW1(config-zoneset)#member Esx04-Product1-HBA1_3PAR-C1-1
cisco9148SW1(config-zoneset)#zoneset activate name vmzoneset1 vsan 100

cisco9148SW1(config-zoneset)#exit


cisco9148SW1(config)#zone name   Esx01-Product1-HBA1_3PAR-C2-1  vsan 100
cisco9148SW1(config-zone)#member interface fc1/3
cisco9148SW1(config-zone)#member interface fc1/2
cisco9148SW1(config-zone)#exit
cisco9148SW1(config)#zoneset name vmzoneset1 vsan 100
cisco9148SW1(config-zoneset)#member Esx01-Product1-HBA1_3PAR-C2-1
cisco9148SW1(config-zoneset)#zoneset activate name vmzoneset1 vsan 100

cisco9148SW1(config-zoneset)#exit 


cisco9148SW1(config)#zone name   Esx02-Product1-HBA1_3PAR-C2-1  vsan 100
cisco9148SW1(config-zone)#member interface fc1/4
cisco9148SW1(config-zone)#member interface fc1/2
cisco9148SW1(config-zone)#exit
cisco9148SW1(config)#zoneset name vmzoneset1 vsan 100
cisco9148SW1(config-zoneset)#member Esx02-Product1-HBA1_3PAR-C2-1
cisco9148SW1(config-zoneset)#zoneset activate name vmzoneset1  vsan 100

cisco9148SW1(config-zoneset)#exit 


cisco9148SW1(config)#zone name   Esx03-Product1-HBA1_3PAR-C2-1  vsan 100
cisco9148SW1(config-zone)#member interface fc1/5
cisco9148SW1(config-zone)#member interface fc1/2
cisco9148SW1(config-zone)#exit
cisco9148SW1(config)#zoneset name vmzoneset1 vsan 100
cisco9148SW1(config-zoneset)#member Esx03-Product1-HBA1_3PAR-C2-1
cisco9148SW1(config-zoneset)#zoneset activate name vmzoneset1 vsan 100

cisco9148SW1(config-zoneset)#exit 


cisco9148SW1(config)#zone name   Esx04-Product1-HBA1_3PAR-C2-1  vsan 100
cisco9148SW1(config-zone)#member interface fc1/6
cisco9148SW1(config-zone)#member interface fc1/2
cisco9148SW1(config-zone)#exit
cisco9148SW1(config)#zoneset name vmzoneset1 vsan 100
cisco9148SW1(config-zoneset)#member Esx04-Product1-HBA1_3PAR-C2-1
cisco9148SW1(config-zoneset)#zoneset activate name vmzoneset1  vsan 100

cisco9148SW1(config-zoneset)#exit

cisco9148SW1# copy running-config startup-config  //保存配置
[########################################] 100%

//查看已经连接到交换机设备的WWN号

cisco9148SW1(config)# show flogi data

--------------------------------------------------------------------------------
INTERFACE        VSAN    FCID           PORT NAME               NODE NAME      
--------------------------------------------------------------------------------
fc1/2            1     0xb70000  21:11:00:02:ac:00:7e:1c 2f:f7:00:02:ac:00:7e:1c
fc1/3            1     0xb70200  10:00:00:90:fa:47:04:05 20:00:00:90:fa:47:04:05
fc1/4            1     0xb70300  10:00:00:90:fa:47:0b:fe 20:00:00:90:fa:47:0b:fe
fc1/5            1     0xb70400  10:00:00:90:fa:46:c4:e9 20:00:00:90:fa:46:c4:e9
fc1/6            1     0xb70500  10:00:00:90:fa:47:01:a1 20:00:00:90:fa:47:01:a1

Total number of flogi = 5.
cisco9148SW1(config)#

阅读(7226) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~