国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

IOS軟件中使用歷史記錄、系統日志及調試工具(2)

2019-11-04 23:50:08
字體:
來源:轉載
供稿:網友

  第3部分:使用Debug命令
  
  最后,我們來學習如何正確使用調試工具Debug,實驗過程見監測清單2-4。
  
  監測清單2-4正確使用Debug
  
  Router#debug?
  aaa AAA Authentication, Authorization and Accounting
  access-eXPRession Boolean access expression
  adjacency adjacency
  all Enable all debugging
  apple Appletalk information
  arap Appletalk Remote Access
  arp ip ARP and HP Probe transactions
  async Async interface information
  backup Backup events
  callback Callback activity
  cca CCA activity
  ... (此處省略)
  ip IP information
  ipx Novell/IPX information
  lapb LAPB protocol transactions
  ... (此處省略)
  vtemplate Virtual Template information
  x25 X.25, CMNS and XOT information
  x28 X28 mode
  
  Router#debug ip ?
  bgp BGP information
  cache IP cache Operations
  cef IP CEF operations
  cgmp CGMP protocol activity
  dhcp CGMP protocol activity
  drp Director response protocol
  dvmrp DVMRP protocol activity
  egp EGP information
  eigrp IP-EIGRP information
  error IP error debugging
  flow IP Flow switching operations
  FTP FTP dialogue
  Html HTML
  http HTTP connections
  icmp ICMP protocol activity
  igmp IGMP information
  interface IP interface configuration changes
  mbgp MBGP information
  mcache IP multicast cache operations
  mpacket IP multicast packet debugging
  mrm IP Multicast Routing Monitor
  mrouting IP multicast routing table activity
  msdp Multicast Source Discovery Protocol (MSDP)
  mtag IP multicast tagswitching activity
  nat NAT events
  ospf OSPF information
  packet General IP debugging and IPSO security transactions
  peer IP peer address activity
  pim PIM protocol activity
  policy Policy routing
  rip RIP protocol transactions
  routing Routing table events
  rsvp RSVP protocol activity
  rtp RTP information
  sd session Directory(SD)
  security IP security options
  socket Socket event
  tcp TCP information
  tempacl IP temporary ACL
  trigger-authentication Trigger authentication
  udp UDP based transactions
  wccp WCCP information
  
  Router#debug ip icmp
  ICMP packet debugging is on
  Router#ping 172.16.1.1
  Type escape sequence to abort.
  Sending5,100-byte ICMP Echos to 172.16.1.1,timeout is 2 seconds:
  !!!!!
  SUCcess rate is 100 percent(5/5),round-trip min/avg/max=8/11/12ms
  Router#
  04:13:25:ICMP:echo reply sent,src 172.16.1.1,dst 172.16.1.1
  04:13:25:ICMP:echo reply rcvd,src 172.16.1.1,dst 172.16.1.1
  04:13:25:ICMP:echo reply sent,src 172.16.1.1,dst 172.16.1.1
  04:13:25:ICMP:echo reply rcvd,src 172.16.1.1,dst 172.16.1.1
  04:13:25:ICMP:echo reply sent,src 172.16.1.1,dst 172.16.1.1
  04:13:25:ICMP:echo reply rcvd,src 172.16.1.1,dst 172.16.1.1
  04:13:25:ICMP:echo reply sent,src 172.16.1.1,dst 172.16.1.1
  04:13:25:ICMP:echo reply rcvd,src 172.16.1.1,dst 172.16.1.1
  04:13:25:ICMP:echo reply sent,src 172.16.1.1,dst 172.16.1.1
  04:13:25:ICMP:echo reply rcvd.src 172.16.1.1,dst 172.16.1.1
  Router#
  
  Router#show debug
  Generic IP
  ICMP packet debugging is on
  Router#debug arp
  ARP packet debugging is on
  Router#debug ip packet
  IP packet debugging is on
  Router#show debug
  ARP:
  ARP packet debugging is on
  Generic IP:
  ICMP packet debugging is on
  IP packet debugging is on
  Router#no debug ip packet
  IP packet debugging is off
  Router#show debug
  ARP:
  ARP packet debugging is on
  Generic IP:
  ICMP packet debugging is on
  Router#no debug all
  Router#show debug
  Router#
  
  (1)第1個命令debug?是查看debug命令所包含的子命令,可以看到debug命令有非常豐富的子命令。其中debug all是打開所有的可用的debug在實際工作的網絡環境中對這個命令的使用非常輕易造成路由器的處理資源耗盡,所以應盡量避免使用帶all選項的debug命令。在使用debug命令時其子命令越具體越好,越能看到具體的監測內容,并且減小對于路由器處理能力的影響。
  
  (2)在debug ip的子命令中,有icmp一項是用來監測ICMP協議執行情況的,我們啟動這一監測項,即debug ip icmp。
  
  (3)為了看出上述命令的監測結果,我們用ping命令來做測試。監測結果顯示從源地址172.16.1.1向目標地址172.16.1.1(與源地址相同)發送了5個icmp reply包,同時目標地址接收到了5個icmp reply包。
  
  (4)show debug 命令可以查看當前打開的監測項目。
  
  (5)命令no debug ip packet 用來關閉對ip packet的監測,原來已打開的其他監測項目仍處于打開狀態。
  
  (6)命令no debug all或undebug all 可以關閉所有debug項目,最后的show debug結果顯示一個空行表示沒有正在打開的監測項目。


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 陇西县| 上林县| 双鸭山市| 乌兰县| 海丰县| 保定市| 奈曼旗| 衡阳市| 家居| 高雄市| 乡宁县| 包头市| 云霄县| 温州市| 旺苍县| 开化县| 远安县| 吕梁市| 鹤庆县| 柳林县| 曲松县| 阳泉市| 桓仁| 长子县| 河北区| 龙游县| 晋城| 清水县| 杨浦区| 阿拉善左旗| 浙江省| 鹿泉市| 乐安县| 卢湾区| 辽阳县| 宁夏| 商河县| 灵璧县| 武夷山市| 临颍县| 丰台区|