網絡依然還是計算機,Sun還是Sun!

MDS9506光纤交换机配置说明

上一篇 / 下一篇  2007-08-26 18:38:15 / 个人分类:Solaris學習

查看( 169 ) / 评论( 1 )
发一个和SUN有一些关系的文档吧.估计以后有朋友做集成的时候会需要用到.(图片的地方没有办法显示,本人主要不会贴图)
0{TyIfcZt1MG0 一、 加电开机
%^S]Rq$uN-`-da"g;~0 IXPUB技术博客{B9pT'{ks#^Z
加电开机后,需对交换机做初始的配置,通过console线连接至交换机引擎模块上的console接口,参见如下配置:IXPUB技术博客#g{7|,jxQ7s nT/W'r
默认user name:adminIXPUB技术博客2I$X}0EJT F'DF
Password:配置一个相对复杂的密码,如 password为:Admin123!IXPUB技术博客(?4rH)SN5mb/w
然后根据提示进行相应配置,参考如下:(以下配置为1.3版本的示例,2.0版本的界面稍有不同,其中配置如交换机名称、IP地址等仅供参考,具体根据本地情况进行配置)IXPUB技术博客,pXa\.~*e p+i%H^

p^ g;X%tx r+f0 This setup utility will guide you through the basic configuration ofIXPUB技术博客O;m4Iq9|o
the system. Setup configures only enough connectivity for managementIXPUB技术博客jN2lY d tVP'C
of the system.IXPUB技术博客d xby;c2f
Press Enter in case you want to skip any dialog. Use ctrl-c at anytimeIXPUB技术博客m_v!^7b t$LD
to skip away remaining dialogs.
[Vmg8x R9{8adZ0 Would you like to enter the basic configuration dialog (yes/no): yIXPUB技术博客u'Y{ x|#F T
Enter the password for "admin" : adminIXPUB技术博客2g+hY:}-X*k],D!_
Create another login account (yes/no) [n]: nIXPUB技术博客n"E.lV?p%t
Configure SNMPv3 Management parameters (yes/no) [y]: yIXPUB技术博客3E`ZJ+tb
SNMPv3 user name [admin]: admin
6k)]p"?2a?5R6\?0 SNMPv3 user authentication password : admin123
Z(l7Yu']C$um0 The same password will be used for SNMPv3 privacy as well.
m.jh\:Z0SC&}0 Configure read-only SNMP community string (yes/no) [n]: IXPUB技术博客9C8u*L9W!|qo?Z
Configure read-write SNMP community string (yes/no) [n]:
8];Z8~N4d w0 Enter the switch name: mds9506-shuniuIXPUB技术博客S!`a OgeA;uY
Continue with Out-of-band (mgmt0) management configuration? (yes/no)
C-{$H0Z)h0 [y]: yIXPUB技术博客6sWgRI0?6V
Mgmt0 IP address : 10.0.X.Y IXPUB技术博客c?T"H5]y;F
Mgmt0 IP netmask : 255.255.255.0
? N{Kfz}:U-j3_0 Continue with In-band (vsan1) management configuration? (yes/no) [n]:
4IL t/zbQ9R0
%r.w5@M;_k |%a~_0 Enable the ip routing capabilities? (yes/no) [y]: y
#Zx~p"z0 Configure static route? (yes/no) [y]: n
{`N2V8lQ$xx2M4B0 Configure the default network? (yes/no) [y]: nIXPUB技术博客#K|Rl r d)r-Cy
Configure the default gateway? (yes/no) [y]: nIXPUB技术博客}p B-N4mBZ J
Configure the DNS IP address? (yes/no) [n]:
^p/K}!a0 Configure the default domain name? (yes/no) [n]: IXPUB技术博客J1fp8kA6}z
Enable the telnet service? (yes/no) [y]:
~ V+[e gk0 Enable the ssh service? (yes/no) [n]:
3O%g(rT0J0 Configure the ntp server? (yes/no) [n]:
2rF kxod0 Configure default switchport interface state (shut/noshut) [shut]: noshutIXPUB技术博客l0wc MYGs
Configure default switchport trunk mode (on/off/auto) [on]: auto
)M}!dzs4Zn0 Configure default zone policy (permit/deny) [deny]: permit
"dd_;LoXD0 Enable full zoneset distribution (yes/no) [n]: yesIXPUB技术博客/j Ri*B}
IXPUB技术博客9s!eeY P G
A summary of the configuration will be displayed:
ZD D-qu6Apy4@5dv.t0 The following configuration will be applied:IXPUB技术博客ZIA/iO-{
username admin password admin role network-adminIXPUB技术博客NImE*H_Am(C$r
snmp-server user admin network-admin auth md5 admin123 priv admin123
\,H `+}"Y'}(_-oVt-F0 switchname mds9216-16
z}+W$ktpr0 interface mgmt0
"jRP5b`0 ip address 10.0.16.3 255.255.255.0IXPUB技术博客9Pt{'mD;y*L2^@L
no shutdownIXPUB技术博客eAg\,v
ip default-gateway 10.0.16.254IXPUB技术博客6c ~%d d;B
telnet server enableIXPUB技术博客 W#v.e2Z0q8V{
no ssh server enable
TKb*J*R0 system default switchport shutdown
x0M8d2v ?&M4r+ei0 system default switchport trunk mode onIXPUB技术博客 M~[?x:TJ
no zone default-zone permit vsan 1-4093IXPUB技术博客0|E(V[.AW4RXc
no zoneset distribute full vsan 1-4093IXPUB技术博客5Y-P.v!`9^j

8q F:{6Q C]0 Press Enter twice to save the configuration.IXPUB技术博客,HNJt9duHX3qhK
Would you like to edit the configuration? (yes/no) [n]: IXPUB技术博客ew1oqZ
Use this configuration and save it? (yes/no) [y]:
H3J+s_ F\0
6T"z#G TzaO:o0 二、 启动Fabric Manager
JS QoH$S9a [I0 这时,将以太网线连接至引擎模块的管理以太网接口上,即可启动Fabric Manager了。开始之前先确认用于管理的pc终端上安装了Java 1.4以上的版本。IXPUB技术博客_7U:S r]c y3mIm
1. 打开IE浏览器,输入前面配置过的ip地址,回车
4R r|H+aL8`nl0 2. 点击IE窗口的Fabric Manager链接,FM server将会被安装在pc上(需要一点时间)IXPUB技术博客xo$S6Av(X%H
3. 当用户名和密码窗口弹出后,输入前面配置的用户名和密码IXPUB技术博客5i/@H f+H:Q9Zb
4. 此时应能进入到FM的界面,可以看到交换机的拓扑以及连接在各端口上的存储设备和服务器,并可以看到相应的PWWN,可以进行下一步配置了。
:r]XU7W,Q0
1M ?3F3Of q;q0 三、 配置zoneset和zone
$pW1W?UvJ0 根据EMC盘阵和服务器的要求进行分区配置。IXPUB技术博客8Gl:v!N;L,E7}
1. 在FM界面中,点击菜单  Edit full zone databaseIXPUB技术博客9Nng0@2IH.g\Ve
2. 创建一个zonesetIXPUB技术博客2Dq$x;e`t`L
3. 创建相应的zoneIXPUB技术博客YQ p'[w*T#Hc
4. 将相应的存储端口和服务器端口加入到对应的zone内。(右下角窗口显示的设备接口选中,用鼠标将其拖入需要的zone内)IXPUB技术博客dvjRL~
5. 将zone加入到zoneset中(将zone用鼠标选中,然后拖入zoneset内)IXPUB技术博客d QB9nbVM
6. 激活zoneset
~Q(Y!]o-q0 IXPUB技术博客1F#r3F M U7aZ
参考下列配置:(以下配置为1.3版本的示例,2.0版本的界面稍有不同)IXPUB技术博客tf/V*k(I ~,gRv0o
IXPUB技术博客Pt-Hv7nEIG-_
Step 1 In Fabric Manager, locate the Vsan1 folder in the tree view. Right-click andIXPUB技术博客b5Jd+D(D$@+k`8a
select Edit Local Zone Database… from the pop-up menu.IXPUB技术博客:[;Of s6O J ^7x3H
Step 2 Confirm that the Switch field contains the IP address of the MDS 9506.IXPUB技术博客+v5o[bc Q uA
Step 3 Right-click Zones and select Insert….IXPUB技术博客"R`6`2d/i#W"Z3E3?
IXPUB技术博客ttM+~"CWh[&I

:U?S%@$C0 IXPUB技术博客O0b:d.Wg c,jW F,g
Step 4 In the Zone window, in the Zone Name field, enter zone1-shuniu and click OK. Do
"K f,M Y9b S$Z0 not check the Read Only field.IXPUB技术博客Vu1\0U_e0CyT?ey

I(j&}uC|4|0
b$W$]-x&r+S?[0 Step 5 In the Zonesets tree, expand the Zones folder to make zone zone1-shuniu visible.
1Dz%EBV]*X H0 Step 6 Click on the Aliases tab to display the aliases. With your left mouse button, clickIXPUB技术博客Q"HEoV2x.j2TA
and drag the host over to zone1-shuniu. Repeat for disk.
-NO%~k2_3K*ni8a0
D(H-V7{;Y?D,ZZ _gv0
.Ds$y$Gi&MlZ0 Step 5 Right-click ZoneSets and select Insert… from the pop-up menu.IXPUB技术博客c(k"T7s\u8U'y
IXPUB技术博客kT(r(lH\

)G3T0|6yy%h$]*h*Q0 Step 7 In the Zoneset Name window, enter SetY .Click OK.IXPUB技术博客dW[[9^!|6Y

jX/FYj0 IXPUB技术博客~ e8p1S w%Z8y| S
Step 8 In the Zoneset tree, expand the ZoneSets and Zones folders. Click and dragIXPUB技术博客,fG"Kj&i!Un6}p1^-Y
Zone1-shuniu to SetY to add the zone as a member of the zoneset.
8I;g5Ju4hS!So.t.x2k0
"z']6mO[;It,B0 IXPUB技术博客*yWW6J5\(_1Zi
重复以上步骤,将需要的zone全部配置完成,然后将所有的zone均拖入zoneset内。IXPUB技术博客ET1o| }r

!f&K sr ~,y0 Expand the ZoneSets folder and click on zoneset setY.
XEg8AH7an$N0 Step 8 Click the Activate button at the bottom of the window.IXPUB技术博客oWQM,U"P/~
Step 9 The Copy Configuration window will appear. Confirm that the Save Running toIXPUB技术博客,^2P/\ ya3V$Z
Startup Configuration box is checked and click Continue Activation.IXPUB技术博客"c#\)n$Y!B
IXPUB技术博客i {MHh(|5N
IXPUB技术博客$_4c \.y2RG#l G bq:i
IXPUB技术博客w;o8~$B_.u/p"W
四、 配置port-channelIXPUB技术博客;Q0~G;HL
将2个站点直接的CWDM SFP通过衰减器后连接起来,在FM拓扑图中将能看到2条ISL 链路连接在2台交换机之间。通过FM可配置port-channel进行ISL的捆绑。
"qev5H:A_m6_ bt0 (以下配置为1.3版本的示例,2.0版本的界面稍有不同)IXPUB技术博客;^|;}8oo.x
Step 1 There are two methods to launch the PortChannel Wizard:
9d^Mng0 With nothing highlighted in the Fabric map, click the Port Channel… icon inIXPUB技术博客!m#lF2bk,^8I
the Fabric Manager task barIXPUB技术博客 ^ Mm+qj(|
IXPUB技术博客)D2X:x+e+RQ BG

,`{jbJ+g |'^0 Alternatively, with your right-mouse button, click one of the links between the
%SN2yH9x$Q0 pod switches and select Create Port Channel… from the pop-up menu.
ro+T/CDU0
3E;z0PP*W0 IXPUB技术博客+DS:fr KV'D
Step 2 The FC Port Channel Wizard will appear. The title will say 1 of 3: Select SwitchIXPUB技术博客4@3[7o:G^#M
Pair. Select the IP addresses of the two switches in your pod and click Next.IXPUB技术博客2?M"W-rAl
IXPUB技术博客6xQR:M]4waTM[ |,A {

x!b%`#X l*t[0 Step 3 The FC Port Channel Wizard will proceed to 2 of 3: Select ISLs. Hold down theIXPUB技术博客 ei})t!W9H#_F
shift key, click in the Available windowpane to select fc1/7, fc1/8, and fc1/9, thenIXPUB技术博客"^sw z#P_0q
click the right-arrow button.IXPUB技术博客 gEP!CagW

sZ4wJ9N!{_9F0 IXPUB技术博客H VK?h3UE)g
Step 4 Confirm the interfaces are in the Selected windowpane and click Next.IXPUB技术博客%Y-Q!CL dDA1^ M"l
Step 5 The Wizard proceeds to 3 of 3: Create Port Channel. Enter the following
lL#mk+n1p0 information:
uc,Y%o$co0 􀂄 In both Channel Id: fields, enter the PortChannel number Y from Table 4.IXPUB技术博客5sa af6D]$M"n A
􀂄 Select the trunk button.IXPUB技术博客)uw;B!T3p7g.n
􀂄 Confirm that the Force box is selected.
Qy-}4\v"JJ0 􀂄 Click Finish.
O5Yd2?*YOX/k0 IXPUB技术博客H q,MY4^&l r@b

S ] OI,yC*@ ght0 五、 配置带内网管IXPUB技术博客:JY-T(UMC;mY
IXPUB技术博客:R UT0H {]/n6Y
可通过配置带内IPFC的方式实现无外部IP连接时的网管。
Y.C:L/d*` b @0
%iL\*M J_|0 cisco光纤交换机的内部带内网管配置IXPUB技术博客9r b!tLlDc!d5y
以及通过带内网走2个点通讯的配置说明IXPUB技术博客5~[ g jlhV}t8a
IXPUB技术博客 a/^r(u2^7~ R(o
网络图如下: IXPUB技术博客"x4ej Y$Y7q@ v9t

Ky6k _V3]R0 假设:
zzc2Q0W!i'o0 A交换机的M0的IP地址为192.168.10.5/24IXPUB技术博客 T8qi{l n2i\L
B交换机的M0的IP地址为192.168.20.5/24IXPUB技术博客-R\ L WcD
在AB交换机都已经设了一个VSAN1。
.al O_*bmhJ0 (一)、交换机配置如下:
+p$MH4vp"K6k+i*c$}0 在A,B交换机中分别设置VSAN1的IP地址为:IXPUB技术博客^Y%XM.r.d(}h*j
A:10.1.1.1/24IXPUB技术博客1O Q9\%EH9P;` ?;R
B:10.1.1.2/24
X2l0` b `#S0 并增加路由为:IP ROUTE 192.168.10.0 255.255.255.0 10.1.1.1
S/x|0y%O2W"w'Vc5k0 IP ROUTE 192.168.20.0 255.255.255.0 10.1.1.2IXPUB技术博客CE2B$bY%MgC6K
配置命令:为在telnet在A交换机中
;p$l/L/I7K `N m0 #conf t
*P'T1B)W2g} W0 #int vsan 1
rHi8Y4~;O|0 #ip addr 10.1.1.1 255.255.255.0
Hnd M8z$`/|0 #exit
G2z{-bXo5@!h0 #ip route 192.168.20.0 255.255.255.0 10.1.1.2IXPUB技术博客R-H z.X1_Z
telnet在B交换机中
fYTo:r!G#F.S*^&~0 #confIXPUB技术博客4[)Z*G/~8F
#int vsan 1IXPUB技术博客 r;ng2QkZ;_:X8hK
#ip addr 10.1.1.2 255.255.255.0IXPUB技术博客S3pv.Ae\.JG-?VS4P+t
#exitIXPUB技术博客'bGY5] g&j*d U,A/z s6{
#ip route 192.168.10.0 255.255.255.0 10.1.1.1IXPUB技术博客 A7rBv Q
IXPUB技术博客 dQd'F0\ ?
保存命令为copy run start
nC-E:O,gv%t+Yz#J0 IXPUB技术博客Niv7K Y.V;t
(二)、网管计算机(或需要通过CISCO交换机带内光纤通讯)配置IXPUB技术博客p]O wUFm

d;T/kw&D-ns7H.V0 在A口连接的网络计算机增加路由,运行:
m7r8`4\zTU f8L9V0 Route add –p 192.168.20.0 mask 255.255.255.0 192.168.10.5
5kT,Yo(c v0 在B口连接的网络计算机增加路由,运行:IXPUB技术博客e,G cC pH*I%Q C"r
Route add –p 192.168.10.0 mask 255.255.255.0 192.168.20.5
A ]1lcj0 IXPUB技术博客['T,Kz0gcT1`-CO
这样A口连接的计算机就可以和B口连接的计算机进行通讯。
JPTp6`&F(`I0
!m*k? N4H,a0 由于目前光纤交换机配置的地址可能是129.0.10.0网段,最好改为其他网段,配置命令:IXPUB技术博客;B\*L)~ r_D(B@
#conf t
)F _D/|/B)o%QE0 #int m0IXPUB技术博客 U5}'t+a/z
#ip addr 192.168.10.5 255.255.255.0 IXPUB技术博客A*~ l^ S+g*VW:\
#exit(可能马上无法和光纤交换机通讯了,需要修改本地IP和192.168.10.0同一个网段)
!A^@cK@(n0 #exit
/Q$F4jkR4ns1\-Y0 #copy run start
/q c(m9{Y4h(Ua0 在把本地计算机增加一个192.168.10.0的网段就可以PING通192.168.10.5,要注意配置后保存数据。IXPUB技术博客(l9DVU*rv}O
IXPUB技术博客nhl1p9IaxL
六、 保存配置
Om0q~LM0 在命令行模式下:
@*Y}'?2R0 #copy run start

TAG:

云杉实验室——蝴蝶分院 云杉上的蝴蝶 发布于2007-09-05 16:29:03
此帖已收集到主题列表
我来说两句

(可选)

Open Toolbar