版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、AM100-A系列通用調(diào)試命令手冊(內(nèi)部手冊,注意保密)AM100-A項目部2002/8/271. 適用范圍大唐高鴻公司AM100-A系列相關(guān)研發(fā)人員、公司內(nèi)部售后服務(wù)工程師。2. 通用測試命令通用測試命令均在目錄managementtest下。2.1 server(loadserver)Ø 適用版本:a8,a16,a16pro各版本Ø Telnet: 不可用Ø 功能:在線升級版本GH_AM100A:ManagementTest> loadservernow you can load the new program.在目標(biāo)機(jī)上執(zhí)行l(wèi)oadserver命令,當(dāng)
2、輸出顯示以上提示信息后,啟動loadclient將新版本程序(.bin文件)傳送到目標(biāo)機(jī)。如果程序傳送成功,將依次輸出顯示以下信息:the file is received successfully,now begin to erase the flash, please wait.erasing the flash ok, now begin to write the flash, please wait.writing flash ok, now begin to test the flash.testing the flash ok, now you can reset the syst
3、em.此時可執(zhí)行reset命令進(jìn)行軟復(fù)位,目標(biāo)機(jī)重啟后即運行升級后的新版本程序。2.2 resetØ 適用版本:a8,a16,a16pro各版本Ø Telnet: 不可用Ø 功能:復(fù)位設(shè)備GH_AM100A:ManagementTest> reset執(zhí)行該命令后,設(shè)備重新啟動。2.3 bk(backup)Ø 適用版本:a8,a16,a16pro各版本Ø Telnet: 不可用Ø 功能:擦除flash中存儲的數(shù)據(jù)GH_AM100A:ManagementTest> bkRenew Flash: Input the Block
4、No.(0:all block; 116: single block): 0Operation Mode: (0: Erase Flash Only; 1: Erase Flash and Backup Data): 0執(zhí)行bk命令,控制臺顯示以上提示信息時,均輸入選項0,即可擦除flash中存儲的業(yè)務(wù)數(shù)據(jù)。2.4 eraseuserØ 適用版本:a8110及以上版本,a16,a16pro各版本Ø Telnet: 可用Ø 功能:擦除flash中存儲的用戶數(shù)據(jù)GH_AM100A:ManagementTest> eraseuser該命令用于解決設(shè)備啟動后用戶無法
5、登錄的故障。若設(shè)備啟動時從flash中恢復(fù)的用戶數(shù)據(jù)出錯,可能造成用任何用戶均無法登錄的情況。此時可使用gh_am100a用戶登錄,口令為gh100,登錄成功后到ManagementTest目錄下運行eraseruser命令,對存儲用戶數(shù)據(jù)的flash區(qū)域進(jìn)行擦除,擦除成功后執(zhí)行reset命令,設(shè)備重啟以后就可以用root用戶命令進(jìn)行登錄了。但此時以前添加或修改的用戶信息已丟失,應(yīng)使用用戶管理目錄下的命令重新添加用戶信息,然后這些信息就能夠存儲在flash中了。2.5 versionØ 適用版本:a8,a16,a16pro各版本Ø Telnet: 可用Ø 功能:查
6、看本設(shè)備的軟件版本GH_AM100A:ManagementTest> versionTemp Version: AM100-A8_V1.1.0.200208201700以上輸出信息包括軟件的臨時版本號及版本生成的時間,本例中軟件版本為AM100-A8_V1.1.0,生成時間為2002年8月20日17時0分。2.6 setdislevelØ 適用版本:a8、a16、a16pro各個版本Ø Telnet: 不可用Ø 功能:設(shè)置打印級別說明:缺省打印級別為0,可以選擇更高的打印級別(1-6),看到更多的調(diào)試信息。GH_AM100A:ManagementTest&g
7、t; setdislevelPlease enter Level: 2 打印級別設(shè)為2,級別設(shè)得越高,看到的調(diào)試信息越多0001112222.7 dismac(management/test)Ø 適用版本:a8v110,a16,a16proØ Telnet: 可用顯示本機(jī)的MAC地址。GH_AM100A:ManagementTest> dismac00.4b.6d.ef.8b.71The command has been completed successfully!3. 與數(shù)據(jù)流轉(zhuǎn)發(fā)相關(guān)的測試命令3.1 ipstat (management/test)Ø
8、適用版本:a8v110,a16,a16proØ Telnet: 可用GH_AM100A:ManagementTest> ipstat 1 : Get buffer usage information ! -ip模塊buffer使用統(tǒng)計. 2 : Get PNA buffer configuration information ! -pna模塊內(nèi)存配置 3 : Get ip traffic statistics ! -ip流統(tǒng)計. 0 : Quit !Please select what you want to modify0: 1IPRIP:Following is buffe
9、r usage information: p2IBDGets :30439 p2IBDFrees :30388 p2IBDHeadGets :60812 p2IBDHeadFrees :60812 P2_MALLOC_SUCCESS_NUM 60836 P2_MALLOC_FAIL_NUM 0 P2_FREE_NUM 60821 OWNER: malloc_stat free_stat OWNER_IBD_HEADER 60812 60812 -該項應(yīng)保持申請和釋放一 致,如果長時間有差別,則 ip模塊內(nèi)存有問題. OWNER_ACC_LIST 0 0 OWNER_ACC_ENT 0 0 OW
10、NER_RMAP_LIST 0 0 OWNER_RMAP_ENT 0 0 OWNER_IPMC_CACHE 0 0 OWNER_IPMC_SG 0 0 OWNER_ROUTE 1 0 OWNER_RIP_NODE 1 0 OWNER_NODE 1 0 OWNER_CIRCUIT 2 0 OWNER_RIP_CIRC 2 0 OWNER_RIP_NEIGH 0 0 OWNER_ARP 17 9 OWNER_REASM 0 0 OWNER_IGMP 0 0 OWNER_STA_ROUTE 0 0 OWNER_SA 0 0 OWNER_PMTU 0 0 OWNER_S_ROUTE 0 0 OWNER
11、_TIMER 0 0 OWNER_TRAP 0 0 OWNER_OTHER 0 0選擇3顯示ip層(三層路由)包統(tǒng)計。Please select what you want to modify0: 3IPRIP:Following is packet statistics about IP Forwarding: The total num of packet into iptk :70526 -進(jìn)入ip轉(zhuǎn)發(fā)模塊的總的包數(shù). Packet from ethernet :50451 -以太網(wǎng)進(jìn)入ip的包數(shù) Packet from ipoa :20073 -ipoa進(jìn)入的包數(shù) Packet fro
12、m ppp :0 -ppp進(jìn)入的包數(shù) Packet from fr :0 -fr進(jìn)入的包數(shù) Packet from pna :2 -pna(telnet,snmp等送到ip模塊) 進(jìn)入的包數(shù) The total num of packet from iptk :70575 -ip模塊發(fā)往其他模塊的總的包數(shù) Packet send to ethernet :50477 -ip模塊發(fā)往以太網(wǎng)的包數(shù) Packet send to PPP :0 -ip模塊發(fā)往ppp的包數(shù) Packet send to ipoa :20098 -ip模塊發(fā)往ipoa的包數(shù) Packet send to fr :0 -i
13、p模塊發(fā)往fr的包數(shù) Packet send to pna :0 -ip模塊發(fā)往pna的包數(shù)(去往 telnet,snmp的包) Whether clear netflow statistics ? (y/n)3.2 setlp(management/test)Ø 適用版本:a8v110,a16,a16proØ Telnet: 可用GH_AM100A:ManagementTest> setlp Set the print level in lan_driver,please input: 3111-222-333The command has been complet
14、ed successfully!該命令用來設(shè)置以太網(wǎng)驅(qū)動中的打印級別.設(shè)置為0,不打印.設(shè)置為3,打印如下:GH_AM100A:ManagementTest> ping 192.216.224.110 Pinging 192.216.224.110 with 32 bytes of data: >>>>> only phase2 Iptkrx receive IP or ARP packet. . >>>>> only phase2 Iptkrx receive IP or ARP packet. . Reply from 19
15、2.216.224.110, bytes=32 >>>>> only phase2 Iptkrx receive IP or ARP packet. . Reply from 192.216.224.110, bytes=32 >>>>> only phase2 Iptkrx receive IP or ARP packet. . Reply from 192.216.224.110, bytes=32 >>>>> only phase2 Iptkrx receive IP or ARP packet.
16、. Reply from 192.216.224.110, bytes=32The command has been completed successfully!其中: >>>>> only phase2 表示以太網(wǎng)驅(qū)動確實收到包并轉(zhuǎn)交到ip模塊.否則,可以斷定包沒有到ip模塊.3.3 ipconfØ 適用版本:a8v110,a16,a16proØ Telnet: 不可用 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1 : Get all
17、static route ! 2 : Get all route ! = = = = = = = = = = 3 : Display PNA ni parameter ! 4 : Display PNA route ! = = = = = = = = = = 5 : Add static route ! 6 : Delete static route ! = = = = = = = = = = 7 : Change circuit ipaddr and ipmask !8 : Display arp table! = = = = = = = = = =10 Quit ! _ _ _ _ _ _
18、 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Please select what you want to modify10: 選擇8可以顯示am100的arp表。在以太口ip地址ping不通時可以通過該命令察看是否學(xué)習(xí)到對方的mac地址。Please select what you want to modify10: 8ae_type definition: ARP_UNKNOWN :0 ARP_STAT :1 ARP_DYN :2 ARP_LOC :4 ARP_BCAST :0x10 ARP_PTPT :0x2
19、0 ARP_RTR :0x40sn_type definition: SN_UNKNOWN :0 SN_LAN :1 SN_PTPT :2ae_type= 0x 14 addr= 2. 2. 2. 0. cid= 4 sn_type= 1 mac=ff.ff.ff.ff.ff.ff.ae_type= 0x 14 addr=192.216. 5. 0. cid= 1 sn_type= 1 mac=ff.ff.ff.ff.ff.ff.ae_type= 0x 4 addr= 2. 2. 2. 1. cid= 4 sn_type= 2 mac= 2. 2. 2. 1.ae_type= 0x 2 add
20、r=192.216. 5. 1. cid= 1 sn_type= 1 mac= 0. 5.32.cf.31.e0.ae_type= 0x 1 addr= 2. 2. 2. 2. cid= 3 sn_type= 2 mac= 0. 5.ae_type= 0x 2 addr=192.216. 5.203. cid= 1 sn_type= 1 mac= 0.50.ba.ec.d8.dc.ae_type= 0x 2 addr=192.216. 5. 15. cid= 1 sn_type= 1 mac= 8. 0.20.b6.95.4a.ae_type= 0x 2 addr=192.216. 5. 81
21、. cid= 1 sn_type= 1 mac= 0.50.ba.cc.ee.32.ae_type= 0x 2 addr=192.216. 5. 83. cid= 1 sn_type= 1 mac= 0.50.ba.b3. 6.b4.ae_type= 0x 14 addr= 2. 2. 2.255. cid= 4 sn_type= 1 mac=ff.ff.ff.ff.ff.ff.ae_type= 0x 14 addr=192.216. 5.255. cid= 1 sn_type= 1 mac=ff.ff.ff.ff.ff.ff. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
22、_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _arp表中包括:1.本地接口ip地址對應(yīng)的arp項。2.本地ip接口子網(wǎng)廣播地址對應(yīng)的arp項。3.本地ip接口子網(wǎng)0地址對應(yīng)的arp項。4.以太接口上動態(tài)學(xué)習(xí)到的arp項。5.ip over atm,fr,hdlc,ppp等接口上配置的靜態(tài)arp項。3.4 netstat(management/test)Ø 適用版本:a16pro,在其他版本中,僅具有流量顯示功能。Ø Telnet: 不可用GH_AM100A:ManagementTest> netstat _ _ _ _ _ _ _
23、_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1 : VLAN Forward traffic statistics ! = = = = = = = = = = 2 : Display VLAN Forward module inner data structure ! 3 : Set LANX module print level ! = = = = = = = = = = 4 : Read BCM5328 register ! 5 : Write BCM5328 register ! = = = = = = = =
24、= = 6 : Set cam entry lifetime ! 7 : Display BCM5328 ARL table ! 8 : Set ethernet port VLAN pvid ! = = = = = = = = = = 9 : Reset and re-init BCM5328 chip ! 10 : Search a MAC address in ARL table ! 11 : Write a MAC address into ARL table ! = = = = = = = = = = 12 : VLAN forward Cache configuration ! 1
25、3 : VLAN configuration of BCM5328 ! 14 : STA configuration of BCM5328 ! 15 : Port-based priorty conf ! 16 : LAN 21143 statistics display ! = = = = = = = = = = 0 : Quit ! _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Please select what you want to modify0:選擇1,顯示vlan-forward
26、(二層轉(zhuǎn)發(fā))模塊的包統(tǒng)計。Please select what you want to modify0: 1VLAN_FORWARDING:Following is packet statistics about VLAN_FORWARD: The total num of ingress packet :50909 -進(jìn)入二層轉(zhuǎn)發(fā)模塊的包的總數(shù)。 Packet from PPP or 1483 :0 -從1483或ppp橋端口進(jìn)入的包數(shù) Packet from Ethernet :50443 以太端口進(jìn)入的包數(shù) Packet from Network layer :466 -從ip層進(jìn)入的包
27、數(shù) Packet send to network layer :50378 二層轉(zhuǎn)發(fā)模塊送到ip層的包數(shù)。 Packet send to PPP or RFC1483 :0 -二層轉(zhuǎn)發(fā)模塊送到1483或ppp橋端口的包數(shù) Packet send to eth driver :406 二層轉(zhuǎn)發(fā)模塊送到以太端口的包數(shù) Packet source MAC failed :4 二層轉(zhuǎn)發(fā)中源地址查找失敗的次數(shù) Packet source success but dest failed :61 二層轉(zhuǎn)發(fā)中源成功但目的查找失敗的次數(shù) The broadcast packet with source succ
28、ess :50085 源查找成功的廣播包數(shù) The local packet with source success :399 源查找成功的目的地址為本機(jī)mac地址的包數(shù) The unicast packet src and dest MAC success :360 源目查找均成功的單播包 The number of BPDU packet :0 bpdu包數(shù) The number of packet copying :46 二層轉(zhuǎn)發(fā)中進(jìn)行了包拷貝的次數(shù) The number of no packet copying :360 二層轉(zhuǎn)發(fā)中無需包拷貝的次數(shù) The buffer number
29、free by eth :65 The buffer number free by vlan_ni :106 The buffer number free by ppp :0 The buffer number free by rfc1483 :0 The buffer get by eth used in copy_send :46 The buffer get by vlan_ni :0 The buffer get by ppp used in copy_send :0 The buffer get by 1483 used in copy_send :0 Whether clear n
30、etflow statistics ? (y/n)選擇3可以選擇性的打開或關(guān)閉二層轉(zhuǎn)發(fā)模塊的相關(guān)包跟蹤打印功能。Please select what you want to modify0: 3 Set lanx module print level: If enable lanx module print? (y/n) :y LANX模塊打印總開關(guān),直接回車選擇“Y”, 系統(tǒng)啟動后為“Y” If enable dataflow print? (y/n) : LANX模塊數(shù)據(jù)流打印開關(guān),直接回車選擇“N”, 系統(tǒng)啟動后為“N” If enable exception print? (y/n)
31、:y LANX模塊異常打印開關(guān),直接回車選擇“Y”,系統(tǒng)啟動后為“Y” If enable interface parameter print? (y/n) : LANX模塊接口參數(shù)打印開關(guān),直接回車選擇“N”,系統(tǒng)啟動后為“N” If enable sta flow print? (y/n) : LANX模塊BPDU包跟蹤開關(guān),直接回車選擇“N”,系統(tǒng)啟動后為“N”選擇7可以察看LAN Switch芯片中的二層轉(zhuǎn)發(fā)表。軟件上的cam表的內(nèi)容部分來源于該表。Please select what you want to modify0: 7The ARL table in BCM5328: ma
32、c= 050bacee7 0 port=1 Dynamic mac= 04b6def8b72 port=1 Dynamic mac= 0 216a3fa 9 port=9 Dynamic mac= 0bbccddeef0 port=1 Dynamic mac= 8 020b6954a port=1 Dynamic mac= 050baccee32 port=1 Dynamic mac= 050baecfc9a port=1 Dynamic mac= 06039 b 019 port=1 Dynamic mac= 035353557 1 port=1 Dynamic mac= 080ad72ce
33、e1 port=1 Dynamic mac= 050baecd8dc port=1 Dynamic mac= 0205b 11e7c port=1 Dynamic mac= 2 1 0 0 0 0 port=1 Dynamic mac= 0 216f475 2 port=1 Dynamic mac= 050bab3 6b4 port=1 Dynamic mac= 04b6def8b71 port=17 Dynamic /*端口17對應(yīng)于cpu接口*/ mac= 0 532cf31e0 port=1 Dynamic ARL table dispaly end!選擇12可以使能或者去使能二層轉(zhuǎn)發(fā)的
34、cache功能,使能cache會提高二層轉(zhuǎn)發(fā)性能,但是某些情況下會導(dǎo)致數(shù)據(jù)流不通,因此建議在拓?fù)浜唵蔚臏y試環(huán)境下使用(例如用smartbit測試背對背的轉(zhuǎn)發(fā)極限)。如果選擇使能cache后導(dǎo)致數(shù)據(jù)流不通,則去使能cache即可。Please select what you want to modify0: 12 If enable vlan forward cache(1:yes 0:no)0: 1 缺省為0。使用時選擇1。測試時建議使能該項。 If enable vlan forward multi src cache(1:yes 0:no)0: 缺省為0。使用時選擇1。測試時不建議使能該項
35、。 If enable cam update cache(1:yes 0:no)0: 缺省為0。使用時選擇1。測試時禁止使能該項。 VLAN forward cache conf success!選擇16顯示LAN Driver的收發(fā)包情況,該命令在以太口ping不通時可以直接定位問題是軟件還是硬件。Please select what you want to modify0: 16The statistics of LAN21143: Normal interrupt summary :50474 Abnormal interrupt summary :0 System error :0 R
36、eceived full duplex short frames :0 AUI/TP Pin :0 Receive WatchDOg Timeout :0 Transmit Jabber Time :0 Transmit Underflow :0 Receive Buffer Unavailable times :0 Receive Process Stopped :0 Normal receive interrupt :50111 正常的接收中斷次數(shù),如果該技術(shù)在累加,說明硬件收包正常。 Normal transmit interrupt :390 正常的發(fā)送中斷次數(shù) Transmit Bu
37、ffer Unavailable :0 Late collision :0Display end!對于netstat的其他命令都是調(diào)試程序時使用的內(nèi)部命令,很多都是直接操作底層芯片寄存器,建議不要操作。3.5 discam(management/test)Ø 適用版本:a8v110,a16,a16proØ Telnet: a16pro可用,其他版本不可用。顯示VLAN轉(zhuǎn)發(fā)表的內(nèi)容,即LANCAM表的內(nèi)容。顯示格式如下:DisplayTableContent: 3 : 0x 50bacc 0xee32 01 00 :1 序號 mac地址 端口 保留 屬性:1動態(tài),0靜GH_A
38、M100A:ManagementTest> discamNow there are 17 entry in lancam:CAM:DisplayTableContent: 0 : 0x 4b6def 0x8b71fd00 :0 第0項預(yù)留給本機(jī)mac地址,如果該項丟失,則本機(jī)ip無法ping通。CAM:DisplayTableContent: 1 : 0x 2010000 0x 100 :1CAM:DisplayTableContent: 2 : 0x 216f4 0x75020100 :1CAM:DisplayTableContent: 3 : 0x 50bacc 0xee320100 :1CAM:DisplayTableContent: 4 : 0x 50bab3 0x 6b40100 :1CAM:DisplayTableContent: 5 : 0x 80ad72 0xcee10100 :1CAM:DisplayTableContent: 6
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度廚師技能培訓(xùn)與聘用合同范本3篇
- 加彈網(wǎng)絡(luò)絲行業(yè)行業(yè)發(fā)展趨勢及投資戰(zhàn)略研究分析報告
- 2025年度消防產(chǎn)品認(rèn)證代理服務(wù)合同標(biāo)準(zhǔn)版4篇
- 中國家用表面清潔劑行業(yè)發(fā)展前景預(yù)測及投資戰(zhàn)略研究報告
- 2025年綿羊皮女洋裝項目投資可行性研究分析報告
- 2025年度個人汽車租賃保險理賠細(xì)則合同4篇
- 環(huán)保PPP模式應(yīng)用市場供需現(xiàn)狀及投資戰(zhàn)略研究報告
- 2025年度汽車租賃合同范本適用于二零二五年度11篇
- 2025年度個人房產(chǎn)買賣合同(含家具家電)
- 2025年廣州越秀企業(yè)集團(tuán)有限公司招聘筆試參考題庫含答案解析
- 類文閱讀:一起長大的玩具(金波)
- 食品公司冷庫崗位風(fēng)險告知卡
- 《AI營銷畫布:數(shù)字化營銷的落地與實戰(zhàn)》
- 崗位安全培訓(xùn)考試題參考答案
- 英文書信及信封格式詳解(課堂)課件
- 星巴克的市場營銷策劃方案
- 南京某商城機(jī)電安裝施工組織設(shè)計
- 醫(yī)療設(shè)備托管服務(wù)投標(biāo)方案
- 宗教教職人員備案表
- 麻醉藥品、精神藥品、放射性藥品、醫(yī)療用毒性藥品及藥品類易制毒化學(xué)品等特殊管理藥品的使用與管理規(guī)章制度
- 信訪事項復(fù)查復(fù)核申請書
評論
0/150
提交評論