CISCO 9124光纖交換機除錯經歷
CISCO 的交換機和普通的博科或者QLOGIC的交換機差別很大。普通的交換機直接進入預設IP地址,通過圖形化介面直接配置就OK了。CISCO的交換機沒有圖形介面,因此解決需要如下配置步驟:
1、 察看每個埠狀態:
switch2# show interface fc1/1
fc1/1 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:01:00:0d:ec:be:0d:40
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is F, FCID is 0xd40300
Port vsan is 1
Speed is 4 Gbps
Rate mode is dedicated
Transmit B2B Credit is 8
Receive B2B Credit is 16
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
378 frames input, 17228 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
56 frames output, 3536 bytes
0 discards, 0 errors
3 input OLS, 3 LRR, 0 NOS, 13 loop inits
switch2# show interface fc1/2
fc1/2 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:02:00:0d:ec:be:0d:40
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is F, FCID is 0xd40500
Port vsan is 1
Speed is 4 Gbps
Rate mode is dedicated
Transmit B2B Credit is 3
Receive B2B Credit is 16
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
11839 frames input, 476672 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
161 frames output, 8952 bytes
0 discards, 0 errors
1 input OLS, 1 LRR, 0 NOS, 33 loop inits
switch2# show interface fc1/3
fc1/3 is down (Link failure: Link Reset)
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:03:00:0d:ec:be:0d:40
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port vsan is 1
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
966 frames input, 39704 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
89 frames output, 4424 bytes
0 discards, 0 errors
1 input OLS, 1 LRR, 0 NOS, 32 loop inits
3 output OLS, 1 LRR, 5 NOS, 3 loop inits
Interface last changed at Sat Aug 8 19:16:01 2009
switch2# show interface fc1/7
fc1/7 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:07:00:0d:ec:be:0d:40
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is F, FCID is 0xd40000
Port vsan is 1
Speed is 4 Gbps
Rate mode is dedicated
Transmit B2B Credit is 8
Receive B2B Credit is 16
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
296 frames input, 13284 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
301 frames output, 12820 bytes
0 discards, 0 errors
3 input OLS, 2 LRR, 1 NOS, 155 loop inits
switch2# show interface fc1/8
fc1/8 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:08:00:0d:ec:be:0d:40
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is F, FCID is 0xd40200
Port vsan is 1
Speed is 2 Gbps
Rate mode is dedicated
Transmit B2B Credit is 3
Receive B2B Credit is 16
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
1265 frames input, 54276 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
309 frames output, 15104 bytes
0 discards, 0 errors
6 input OLS, 4 LRR, 0 NOS, 92 loop inits
1、 配置VSAN
VSAN的作用是隔離每一個交換機埠:
switch2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
switch2(config)# vsan database
switch2(config-vsan-db)# vsan 4000 name sw2
switch2(config-vsan-db)# vsan 4000 interface fc1/1
Traffic on fc1/1 may be impacted. Do you want to continue? (y/n) y
switch2(config-vsan-db)# vsan 4000 interface fc1/2
Traffic on fc1/2 may be impacted. Do you want to continue? (y/n) y
switch2(config-vsan-db)# vsan 4000 interface fc1/7
Traffic on fc1/7 may be impacted. Do you want to continue? (y/n) y
switch2(config-vsan-db)# vsan 4000 interface fc1/8
Traffic on fc1/8 may be impacted. Do you want to continue? (y/n) y
switch2(config-vsan-db)# end
switch2# show vsan 4000 membership
vsan 4000 interfaces:
fc1/1 fc1/2 fc1/7 fc1/8
2、 建立ZONE並且新增ZONE成員。
witch2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
switch2(config)# zone name db2_3652_1 vsan 4000
switch2(config-zone)# member interface fc1/1
switch2(config-zone)# member interface fc1/2
switch2(config-zone)# zoneset name db2_3652 vsan 4000
switch2(config-zone)# member interface fc1/7
switch2(config-zone)# member interface fc1/8
4、配置ZONESET包含2個ZONE
switch2(config-zone)# zoneset name db2_3652 vsan 4000
switch2(config-zoneset)# member db2_3652_1
switch2(config-zoneset)# member db2_3652_2
5、 察看ZONE成員
switch2# show zone
zone name db2_3652_1 vsan 4000
interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40
interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40
zone name db2_3652_2 vsan 4000
interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40
interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40
6、 察看ZONESET成員
switch2# show zoneset
zoneset name db2_3652 vsan 4000
zone name db2_3652_1 vsan 4000
interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40
interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40
zone name db2_3652_2 vsan 4000
interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40
interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40
7、 啟用ZONESET
switch2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
switch2(config)# zoneset activate name db2_3652 vsan 4000
Zoneset activation initiated. check zone status
8、 察看啟用ZONE的
switch2# show zone active
zone name db2_3652_1 vsan 4000
* fcid 0x810000 [interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40]
* fcid 0x810100 [interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40]
zone name db2_3652_2 vsan 4000
* fcid 0x810200 [interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40]
* fcid 0x810300 [interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40]
第一個節點配置:
switch1# show vsan 4000 membership
vsan 4000 interfaces:
fc1/1 fc1/2 fc1/3 fc1/7
fc1/8
switch1# show zone
zone name db2_3651_1 vsan 4000
interface fc1/1 swwn 20:00:00:0d:ec:be:05:00
interface fc1/2 swwn 20:00:00:0d:ec:be:05:00
zone name db2_3651_2 vsan 4000
interface fc1/7 swwn 20:00:00:0d:ec:be:05:00
interface fc1/8 swwn 20:00:00:0d:ec:be:05:00
switch1# show zoneset
zoneset name db2_3651 vsan 4000
zone name db2_3651_1 vsan 4000
interface fc1/1 swwn 20:00:00:0d:ec:be:05:00
interface fc1/2 swwn 20:00:00:0d:ec:be:05:00
zone name db2_3651_2 vsan 4000
interface fc1/7 swwn 20:00:00:0d:ec:be:05:00
interface fc1/8 swwn 20:00:00:0d:ec:be:05:00
switch1# show zone active
zone name db2_3651_1 vsan 4000
* fcid 0xac0000 [interface fc1/1 swwn 20:00:00:0d:ec:be:05:00]
* fcid 0xac0100 [interface fc1/2 swwn 20:00:00:0d:ec:be:05:00]
zone name db2_3651_2 vsan 4000
* fcid 0xac0200 [interface fc1/7 swwn 20:00:00:0d:ec:be:05:00]
* fcid 0xac0300 [interface fc1/8 swwn 20:00:00:0d:ec:be:05:00]
9、 最後別忘了儲存!
switch1# copy running-config startup-config
[########################################] 100%
switch1#
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8334342/viewspace-613219/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關於光纖交換機種類大總結
- 更改SW300光纖交換機的ip地址
- 核心交換機光纖埠級連線方式與型別型別
- 串列埠伺服器和光纖交換機有什麼不同串列埠伺服器
- DISK OPERATION ERROR,交換機級聯單模光纖鏈路故障解決Error
- cisco交換機命令總結匯集
- CISCO交換機,埠安全配置例項。
- Cisco交換機生成樹協議配置協議
- 光纖交換機埠模組更換導致資料庫IO頻繁100%資料庫
- Cisco交換機配置新手篇-埠配置(一)
- 最難忘的Bug除錯經歷除錯
- CISCO交換機STP實驗(生成樹協議)協議
- Cisco 交換機之間的連線方法(轉)
- Cisco Catalyst交換機密碼恢復策略(轉)密碼
- 華為交換機光功率的範圍怎麼檢視?華為交換機光模組的光衰檢視教程
- Cisco路由器與交換機口令回覆步驟路由器
- CISCO 交換機IOS升級排障例項(轉)iOS
- 光纖的連線
- 更換主機光纖介面卡的故事
- 實戰演練!CISCO交換機埠安全一點通
- 在多臺Cisco交換機更改相同的配置命令(轉)
- 網線、光纖標準
- CISCO 4500系列交換機動態VLAN與VMPS的配置
- 記一次靈異般的 Bug 除錯經歷除錯
- 光纖接入網怎麼操作
- 【知識分享】光纖通訊
- 光模組,光纖如何區分單模多模
- 利用二層埠安全防止兩個三層交換機長距離光纖線路被亂接測試
- 透過整合行業的光纖認證功能實現光纖認證智慧化行業
- 光纖故障診斷和故障排查
- 分散式光纖測溫系統分散式
- 移動端真機除錯實戰經驗除錯
- 前端時光機(經典技能)前端
- SFP+光模組與交換機四種搭配使用方式
- 用於安裝和維護光纖單模和多模的光纖網路測試套件套件
- 使用如今更智慧的光纖測試工具執行專家級光纖測試和認證
- 各種光纖介面型別介紹型別
- 淺析資料中心交換機晶片,中國自主可控國產化交換機已是歷史必然晶片