Chinaunix首页 | 论坛 | 博客
  • 博客访问: 576282
  • 博文数量: 113
  • 博客积分: 3322
  • 博客等级: 少校
  • 技术积分: 1565
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-04 11:38
文章分类

全部博文(113)

文章存档

2012年(21)

2010年(92)

分类:

2010-03-02 11:14:46

加电开机后,需对交换机做初始的配置,通过console线连接至交换机引擎模块上的console接口,参见如下配置:
默认user name:admin
Password:配置一个相对复杂的密码,如 password为:Admin123!
然后根据提示进行相应配置,参考如下:(以下配置为1.3版本的示例,2.0版本的界面稍有不同,其中配置如交换机名称、IP地址等仅供参考,具体根据本地情况进行配置)

This setup utility will guide you through the basic configuration of
the system. Setup configures only enough connectivity for management
of the system.
Press Enter in case you want to skip any dialog. Use ctrl-c at anytime
to skip away remaining dialogs.
Would you like to enter the basic configuration dialog (yes/no): y
Enter the password for "admin" : admin
Create another login account (yes/no) [n]: n
Configure SNMPv3 Management parameters (yes/no) [y]: y
SNMPv3 user name [admin]: admin
SNMPv3 user authentication password : admin123
The same password will be used for SNMPv3 privacy as well.
Configure read-only SNMP community string (yes/no) [n]:
Configure read-write SNMP community string (yes/no) [n]:
Enter the switch name: mds9506-shuniu
Continue with Out-of-band (mgmt0) management configuration? (yes/no)
[y]: y
Mgmt0 IP address : 10.0.X.Y
Mgmt0 IP netmask : 255.255.255.0
Continue with In-band (vsan1) management configuration? (yes/no) [n]:

Enable the ip routing capabilities? (yes/no) [y]: y
Configure static route? (yes/no) [y]: n
Configure the default network? (yes/no) [y]: n
Configure the default gateway? (yes/no) [y]: n
Configure the DNS IP address? (yes/no) [n]:
Configure the default domain name? (yes/no) [n]:
Enable the telnet service? (yes/no) [y]:
Enable the ssh service? (yes/no) [n]:
Configure the ntp server? (yes/no) [n]:
Configure default switchport interface state (shut/noshut) [shut]: noshut
Configure default switchport trunk mode (on/off/auto) [on]: auto
Configure default zone policy (permit/deny) [deny]: permit
Enable full zoneset distribution (yes/no) [n]: yes

A summary of the configuration will be displayed:
The following configuration will be applied:
username admin password admin role network-admin
snmp-server user admin network-admin auth md5 admin123 priv admin123
switchname mds9216-16
interface mgmt0
ip address 10.0.16.3 255.255.255.0
no shutdown
ip default-gateway 10.0.16.254
telnet server enable
no ssh server enable
system default switchport shutdown
system default switchport trunk mode on
no zone default-zone permit vsan 1-4093
no zoneset distribute full vsan 1-4093

Press Enter twice to save the configuration.
Would you like to edit the configuration? (yes/no) [n]:
Use this configuration and save it? (yes/no) [y]:

二、 启动Fabric Manager
这时,将以太网线连接至引擎模块的管理以太网接口上,即可启动Fabric Manager了。开始之前先确认用于管理的pc终端上安装了Java 1.4以上的版本。
1. 打开IE浏览器,输入前面配置过的ip地址,回车
2. 点击IE窗口的Fabric Manager链接,FM server将会被安装在pc上(需要一点时间)
3. 当用户名和密码窗口弹出后,输入前面配置的用户名和密码
4. 此时应能进入到FM的界面,可以看到交换机的拓扑以及连接在各端口上的存储设备和服务器,并可以看到相应的PWWN,可以进行下一步配置了。

三、 配置zoneset和zone
根据EMC盘阵和服务器的要求进行分区配置。
1. 在FM界面中,点击菜单  Edit full zone database
2. 创建一个zoneset
3. 创建相应的zone
4. 将相应的存储端口和服务器端口加入到对应的zone内。(右下角窗口显示的设备接口选中,用鼠标将其拖入需要的zone内)
5. 将zone加入到zoneset中(将zone用鼠标选中,然后拖入zoneset内)
6. 激活zoneset

参考下列配置:(以下配置为1.3版本的示例,2.0版本的界面稍有不同)

Step 1 In Fabric Manager, locate the Vsan1 folder in the tree view. Right-click and
select Edit Local Zone Database… from the pop-up menu.
Step 2 Confirm that the Switch field contains the IP address of the MDS 9506.
Step 3 Right-click Zones and select Insert….



Step 4 In the Zone window, in the Zone Name field, enter zone1-shuniu and click OK. Do
not check the Read Only field.


Step 5 In the Zonesets tree, expand the Zones folder to make zone zone1-shuniu visible.
Step 6 Click on the Aliases tab to display the aliases. With your left mouse button, click
and drag the host over to zone1-shuniu. Repeat for disk.


Step 5 Right-click ZoneSets and select Insert… from the pop-up menu.


Step 7 In the Zoneset Name window, enter SetY .Click OK.


Step 8 In the Zoneset tree, expand the ZoneSets and Zones folders. Click and drag
Zone1-shuniu to SetY to add the zone as a member of the zoneset.


重复以上步骤,将需要的zone全部配置完成,然后将所有的zone均拖入zoneset内。

Expand the ZoneSets folder and click on zoneset setY.
Step 8 Click the Activate button at the bottom of the window.
Step 9 The Copy Configuration window will appear. Confirm that the Save Running to
Startup Configuration box is checked and click Continue Activation.



四、 配置port-channel
将2个站点直接的CWDM SFP通过衰减器后连接起来,在FM拓扑图中将能看到2条ISL 链路连接在2台交换机之间。通过FM可配置port-channel进行ISL的捆绑。
(以下配置为1.3版本的示例,2.0版本的界面稍有不同)
Step 1 There are two methods to launch the PortChannel Wizard:
With nothing highlighted in the Fabric map, click the Port Channel… icon in
the Fabric Manager task bar


Alternatively, with your right-mouse button, click one of the links between the
pod switches and select Create Port Channel… from the pop-up menu.


Step 2 The FC Port Channel Wizard will appear. The title will say 1 of 3: Select Switch
Pair. Select the IP addresses of the two switches in your pod and click Next.


Step 3 The FC Port Channel Wizard will proceed to 2 of 3: Select ISLs. Hold down the
shift key, click in the Available windowpane to select fc1/7, fc1/8, and fc1/9, then
click the right-arrow button.


Step 4 Confirm the interfaces are in the Selected windowpane and click Next.
Step 5 The Wizard proceeds to 3 of 3: Create Port Channel. Enter the following
information:
􀂄 In both Channel Id: fields, enter the PortChannel number Y from Table 4.
􀂄 Select the trunk button.
􀂄 Confirm that the Force box is selected.
􀂄 Click Finish.


五、 配置带内网管

可通过配置带内IPFC的方式实现无外部IP连接时的网管。

cisco光纤交换机的内部带内网管配置
以及通过带内网走2个点通讯的配置说明

网络图如下:

假设:
A交换机的M0的IP地址为192.168.10.5/24
B交换机的M0的IP地址为192.168.20.5/24
在AB交换机都已经设了一个VSAN1。
(一)、交换机配置如下:
在A,B交换机中分别设置VSAN1的IP地址为:
A:10.1.1.1/24
B:10.1.1.2/24
并增加路由为:IP ROUTE 192.168.10.0 255.255.255.0 10.1.1.1
IP ROUTE 192.168.20.0 255.255.255.0 10.1.1.2
配置命令:为在telnet在A交换机中
#conf t
#int vsan 1
#ip addr 10.1.1.1 255.255.255.0
#exit
#ip route 192.168.20.0 255.255.255.0 10.1.1.2
telnet在B交换机中
#conf
#int vsan 1
#ip addr 10.1.1.2 255.255.255.0
#exit
#ip route 192.168.10.0 255.255.255.0 10.1.1.1

保存命令为copy run start

(二)、网管计算机(或需要通过CISCO交换机带内光纤通讯)配置

在A口连接的网络计算机增加路由,运行:
Route add –p 192.168.20.0 mask 255.255.255.0 192.168.10.5
在B口连接的网络计算机增加路由,运行:
Route add –p 192.168.10.0 mask 255.255.255.0 192.168.20.5

这样A口连接的计算机就可以和B口连接的计算机进行通讯。

由于目前光纤交换机配置的地址可能是129.0.10.0网段,最好改为其他网段,配置命令:
#conf t
#int m0
#ip addr 192.168.10.5 255.255.255.0
#exit(可能马上无法和光纤交换机通讯了,需要修改本地IP和192.168.10.0同一个网段)
#exit
#copy run start
在把本地计算机增加一个192.168.10.0的网段就可以PING通192.168.10.5,要注意配置后保存数据。

六、 保存配置
在命令行模式下:
#copy run start
阅读(2187) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~