18禁网站免费,成年人黄色视频网站,熟妇高潮一区二区在线播放,国产精品高潮呻吟AV

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 電腦入門 > Cisco思科光纖交換機(jī)配置說(shuō)明

Cisco思科光纖交換機(jī)配置說(shuō)明

時(shí)間: 志藝942 分享

Cisco思科光纖交換機(jī)配置說(shuō)明

  你還在為不知道Cisco思科光纖交換機(jī)配置說(shuō)明而煩惱么?接下來(lái)是小編為大家收集的Cisco思科光纖交換機(jī)配置說(shuō)明教程,希望能幫到大家。

  Cisco思科光纖交換機(jī)配置說(shuō)明的方法

  1. 初始化信息

  首次設(shè)置,必須通過(guò)console進(jìn)行連接(需要U口轉(zhuǎn)DB9針的接口線,專門賣接口線的有賣大約30元),然后進(jìn)行初始化設(shè)計(jì),以后設(shè)定IP后可通過(guò)LAN進(jìn)行登陸

  具體步驟:(紅色字體部分著重注意,需要進(jìn)行設(shè)置,大部分按照默認(rèn)設(shè)置即可,而且設(shè)置的部分進(jìn)入管理工具軟件可以更改)

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

  Enter the password for "admin": password

  Confirm the password for "admin": password

  --- 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.

  Press Enter at any time to skip any 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]:

  Configure read-only SNMP community string (yes/no) [n]:

  Configure read-write SNMP community string (yes/no) [n]:

  Enter the switch name: Pxx-MDS-x (where xx is your pod number and x is the switch number; for example:P01-MDS-1)

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

  Mgmt0 IPv4 address : <10.0.x.y> (where x is your pod number and y is 5 for MDS-1 and 3 for MDS-2)(客戶)0.16

  Mgmt0 IPv4 netmask : 255.255.255.0

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

  IPv4 address of the default gateway : 10.0.x.254 (where x is your pod number)

  Configure advanced IP options? (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]:

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

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

  NOTE:初始設(shè)定的配置對(duì)新的VSAN起作用,即原始VSAN1無(wú)這些配置

  解決辦法:1 zone default-zone permit VSAN

  2 新建 NEW VSAN2 將port轉(zhuǎn)移VSAN2里面

  。建議創(chuàng)建VSAN2 把端口放置在VSAN2中

  2. 交換機(jī)配置

  2.1. 配置交換機(jī)管理地址

  switch# config t(按tab命令可以補(bǔ)全的或者 輸入命令后空格加?

  可以出來(lái)命令的使用方法)

  switch (config)# switchname switchswitch(config)# switch(config)# interface mgmt 0switch(config-if)# ip adress 192.168.100.108 255.255.255.0switch(config-if)# no shutdown

  interface mgmt 0 表示的是交換機(jī)的管理端口。

  2.2. 配置VSAN

  接下來(lái)配置VSAN

  switch#config t

  switch (config)#vsan database

  switch(config-vsan-db)# vsan 2

  switch(config-vsan-db)#end

  2.3. 配置ZONESET

  switch#config t

  switch (config)#zoneset name set10 vsan 2

  switch (config-zoneset)#member ZONE_NAME把ZONE填加到該ZONESET中

  注:在交換機(jī)處于正常運(yùn)行時(shí),如果配置了新的ZONE,并且填加到了ZONESET中,此時(shí)需要Acitvate才能生效,命令如下:

  switch#config t

  switch (config)#zoneset activate name set10 vsan 2

  2.4. 配置ZONE

  下面配置ZONE

  基本命令如下:

  switch#config t

  switch(config)#zone name zone_name vsan 2

  switch(config)#member interface fc#/#

  switch(config)#member interface fc#/#

  交換機(jī)端口都是以fc表示,fc1/1 表示第一個(gè)模塊上的第一個(gè)端口。由于像cisco9506之類的交換機(jī)是模塊化的,所以其每個(gè)端口就是fc模塊號(hào)/端口號(hào)。像cisco9120,cisco9140,不是模塊化的,但其接口默認(rèn)是fc1/端口號(hào)。

  2.5. TRUNKING的配置

  默認(rèn)情況下,交換機(jī)每個(gè)端口的TRUNKING協(xié)議都是啟用的,交換機(jī)互連的端口應(yīng)工作在E mode下,如果有兩臺(tái)交換機(jī)互相連接的情況,則要啟用TRUNKING,以FC1/1和FC1/2為例。

  配置命令如下:

  switch#config t

  switch(config)# interface fc1/1switch(config-if)# switchport mode e

  switch(config)# interface fc1/2switch(config-if)# switchport mode e

  3. 常用命令

  show run顯示當(dāng)前配置

  show zone顯示當(dāng)前配置的ZONE的信息

  show zoneset顯示當(dāng)前配置的ZONESET的信息

  show interface fc1/1顯示端口fc1/1信息

  show zone activate顯示當(dāng)前活動(dòng)的ZONE信息

  show zoneset activate顯示當(dāng)前活動(dòng)的ZONESET信息

  copy run start保存當(dāng)前配置

  show vsan 查看交換機(jī)的vsan信息

  show vsan x membership 查看某個(gè)vsan下面的端口

  show topology 級(jí)聯(lián)成功后查看對(duì)端交換機(jī)信息

  show fcdomain domain-list 查看級(jí)聯(lián)信息

  show fcs database 查看本地交換機(jī)注冊(cè)的WWN號(hào)

  show fcns database 查看級(jí)聯(lián)后整個(gè)fabric注冊(cè)的WWN號(hào)

  Show interface brief 確認(rèn)設(shè)置trunk的端口已經(jīng)啟用成功

  Show wwn switch 查看交換機(jī)的WWN號(hào)碼

  4. 常用技巧

  4.1. 修改交換機(jī)IP地址

  建議通過(guò)串口線修改

  switch#conf t

  switch(config)# int mgmt 0

  switch(config)-if# ip address <192.168.1.1> <255.255.255.0> 輸入修改后的IP 和掩碼

  switch(config-if)# switchport speed 10/100/100 如果必要,可以指定網(wǎng)口的速率

  switch(config)# ip default-gateway <192.168.1.254>

  4.2. 解決網(wǎng)口不亮的方法

  通過(guò)串口連接

  switch#conf t switch(config)# int mgmt 0

  switch(config-if)# shutdown 提示是否繼續(xù),選擇“y”

  switch(config-if)# no shut

  4.3. 修改用戶密碼

  switch#conf t

  switch(config)# username <用戶名> password <密碼>

  4.4. 修改交換機(jī)名字

  switch#conf t

  switch(config)#switchname

  4.5. 啟動(dòng)關(guān)閉服務(wù)

  如果你接手的交換機(jī)沒(méi)有開啟 TELNET功能,可以參考啟停方法如下,其他服務(wù)也類似

  switch#conf t

  switch(config)# telnet server enable 開啟

  switch(config)# no telnet server enable 關(guān)閉

  5. 實(shí)例交換機(jī)級(jí)聯(lián)跨交換機(jī)化zone

  A交換機(jī)端口1,端口2 分別連接B交換機(jī)得端口1,端口2

  5.1. 首先初始化按照1初始化兩臺(tái)交換機(jī)

  在每個(gè)交換機(jī)上創(chuàng)建VSAN2,把端口1-48加入到vsan2 中

  (config)# vsan database 進(jìn)入

  (config-vsan-db)# vsan 2 name VSAN2 創(chuàng)建名字為VSAN2的vsan

  (config-vsan-db)# vsan 2 interface fc 1/1 – 48 將光纖口綁定在vsan2上

  (config-vsan-db)# exit 退出config-vsan-db模式

  查看VSAN2中的端口信息

  show vsan 2 membership

  是否兩個(gè)交換機(jī)得VSAN2中加入了1-48個(gè)端口(可以根據(jù)需要加端口)

  5.2. 交換機(jī)開啟mode E

  在兩個(gè)交換機(jī)上開啟端口模式E,關(guān)閉TRUNK(只是級(jí)聯(lián)不是跨交換機(jī)跨VSAN化zoneTRUNK可以關(guān)閉)根據(jù)可需要選擇開啟的端口,這里是開啟fc1/1,fc1/2

  switch#config t

  switch(config)# interface fc1/1switch(config-if)# switchport mode e

  switch(config-if)# switchport trunk mode off

  switch(config)# interface fc1/2switch(config-if)# switchport mode eswitch(config-if)# switchport trunk mode off

  switch(config-if)# show int brief

  5.3. 查看是否級(jí)聯(lián)成功

  輸入

  switch#show fcdomain domain-list

  local和Principal 在一行的是主交換機(jī),出現(xiàn)如下的提示是級(jí)聯(lián)成功了

  查看交換機(jī)的WWN號(hào)碼并記錄

  switch#show wwn switch

  或者用

  switch#show fcs database

  端口1和端口2啟用mode e 所以fc1/1上的號(hào)碼就是對(duì)端的交換機(jī)的WWN號(hào)碼記錄下來(lái)

  20:00:00:05:73:ba:21:f0

  20:00:00:05:73:e5:fb:d8

  這兩個(gè)就是交換機(jī)的WWN號(hào)碼

  其中的fc1/5是我們的連接的設(shè)備的WWN號(hào)碼也需要記錄

  21:00:00:24:ff:00:2e:f3

  50:06:0e:80:05:8a:ee:00

  5.4. 配置zone及zoneset并激活

  在主交換機(jī)上(輸入switch#show fcdomain domain-list

  local和Principal 在一行的是主交換機(jī))配置zone

  這個(gè)地方有兩種配置方式,

  一種是配置端口在一個(gè)zone里面,

  一種是配置設(shè)備號(hào)在一個(gè)zone里面

  配置端口在一個(gè)zone里面,

  switch#config t

  switch(config)#zone name zone5_name vsan 2

  switch(config)#member interface fc1/5 swwn 20:00:00:05:73:ba:21:f0

  switch(config)#member interface fc1/5 swwn 20:00:00:05:73:e5:fb:d8

  進(jìn)入zoneset

  switch (config)#zoneset name set10 vsan 2

  switch (config-zoneset)#member zone5把ZONE填加到該ZONESET中

  注:在交換機(jī)處于正常運(yùn)行時(shí),如果配置了新的ZONE,并且填加到了ZONESET中,此時(shí)需要Acitvate才能生效,命令如下:

  switch#config t

  switch (config)#zoneset activate name set10 vsan 2

  switch#show zone

  switch#show zoneset

  去另一臺(tái)交換機(jī)查看是否也同步出現(xiàn)了相關(guān)的zone及zoneset的信息。

  如果一樣那就已經(jīng)配置成功了

  配置連接的設(shè)備號(hào)在一個(gè)zone里面(當(dāng)設(shè)備更換端口的時(shí)候不需要配置還是可以通信的),

  switch#config t

  switch(config)#zone name zone5_name vsan 2

  switch(config)#member pwwn 21:00:00:24:ff:00:2e:f3

  switch(config)#member pwwn 50:06:0e:80:05:8a:ee:00

  進(jìn)入zoneset

  switch (config)#zoneset name set10 vsan 2

  switch (config-zoneset)#member zone5把ZONE填加到該ZONESET中

  注:在交換機(jī)處于正常運(yùn)行時(shí),如果配置了新的ZONE,并且填加到了ZONESET中,此時(shí)需要Acitvate才能生效,命令如下:

  switch#config t

  switch (config)#zoneset activate name set10 vsan 2

  switch#show zone

  switch#show zoneset

  去另一臺(tái)交換機(jī)查看是否也同步出現(xiàn)了相關(guān)的zone及zoneset的信息。

2743356