a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 242|回复: 2

[综合] Cisco交换故障:路由交换机debug故障诊断8

[复制链接]
发表于 2012-8-3 20:03:30 | 显示全部楼层 |阅读模式
1. Debug IP packet detail XXX (access list number)3 N! p. c  g# u6 S7 ~8 k5 P, u
   
& I# W* B5 p1 t7 {) f    这一条命令可以象一个基本的sniffer/protocol分析工具利用访问列表去查看从源自(到达)某处的传输。为什么说是基本的抓包分析工具呢?因为它看不到包头。 你能够利用访问列表来查看特定的主机、协议、端口或者网络。 当然它不是真正意义上的协议分析工具,但是它是IOS集成的一个特性,比别的工具相对来说使用起来方便快捷。下面的例子是一个记录所有通过你的路由器的Telnet包的配置。& k0 \8 ~0 t" @1 K! K# t" d6 A/ N
    % N: L  Q% @9 ~
    access-list 101 permit tcp any any eq telnet2 }& q( H7 v$ c" Q
    / B% M& x! z( W
    debug ip packet detail 101
4 a+ R( I$ ?* l5 G# R7 S, J: q   
2 I: P* ^+ {- ]7 ?+ u2 p7 [  C    IP packet debugging is on (detailed) for access list 101; C' H- @) \. D5 `, Z
    $ n' M7 O- V, W
    Listing E总结了一些debug输出的示例。2 F3 z+ L' ~" f$ }4 y
    ' @  ?# H, @$ Z# Z$ J
    你可以从输出结果看到获取的ip 源、目的(地址、端口号)接口、sequence 号、acknowledgement 号, window 尺寸, 和TCP 通讯标志(SYN, ACK, FIN)。/ m4 H! P' e( `8 J5 n- Z! C
    ' g, [! K( K& m4 T# X9 N
    This post was written by:
% _/ z6 V; A8 T) A  U4 ?( B   
' m* g: D. ~* X- @  w    不唠嗑$ Y( v; n. a" `8 g  q( m
   
9 y9 R! n( N: Q' q8 l3 I    ***CPU及内存的使用率在50%以上时,慎用debug命令***, X6 @) f# I+ q# ^
   
+ K4 ^3 ^  k0 T- ^) t; s    附:Listing C9 I) G+ W4 r! \6 Q" @
    " g4 P( y; c* C& Y, b
    Listing C
, v& X, d% F$ L4 J* O9 Y  v    " a$ b: }; d7 x
    Router#deb all
! H! @$ `& Y# j9 G; }   
: C9 @+ N' w$ n8 ]* b    This may severely impact network performance. Continue? (yes/[no]): yes
2 Y0 p1 M3 S! \4 _, P9 q    + k8 m+ a2 V5 ~- K
    All possible debugging has been turned on0 L: w) v, J3 F$ u" V
    % L. }, B7 j! G& c1 K* f# c
    Router#3 D& y2 F" D( F; s
   
' o" m/ M, n+ E+ e7 A8 j+ G    Router#show debug# L: m. M( p) w* N6 A' G; M$ e- B
   
2 ?/ @& Y' b0 Y8 e% B    "debug all" is in effect.
7 s' \* m7 }' I# h% A/ p8 z2 B, H   
+ J8 u  j  ]* R5 j) g: H2 P    Command parser:
8 b' }' x0 e0 u# T/ E9 X    $ o$ v0 b# ]! l3 h9 k0 @2 l
    Parser ambiguity debugging is off
! N  X# K3 L" N6 j- @    ) ?. G# f! {9 c* O; h
    Help message debugging is off; t7 C1 U# h  ~+ C- i
   
9 C% c* Z$ s: _! q! N    Parser mode debugging is off
7 B8 N( n2 e9 V8 \" s* T7 [    ( C' y0 Z2 S, m# {6 k: I! @% C
    Parser interface range debugging is off% E1 m; Y, u6 j
   
" U0 j( o( t' H/ j* B2 g    Parser aliases debugging is off
回复

使用道具 举报

 楼主| 发表于 2012-8-3 20:03:31 | 显示全部楼层

Cisco交换故障:路由交换机debug故障诊断8

Privilege level debugging is off
2 m3 s, L: e3 K0 P    6 M, b/ j6 @' l* l- Q# ~
    Parser HTTP processing debugging is off
+ C! C( m9 A3 o% y    ' R( `3 C# f* z4 S  h- r" s
    Parser Cache debugging is off
0 ]4 X' D( h; V* O7 ?: c$ ]% N   
5 n& A) [+ E7 x% ]2 V6 `    Frame Relay switching debug interval is 1 seconds
0 L+ F' q  l/ I# Y; T2 W) O7 u   
1 x0 r; P1 R  C4 D! ]    UDPtn debugging is off
7 ]: a4 D& L$ h) [    2 V+ d' a5 g# \/ s4 y7 E- @
    LPD Printer debugging is off (detailed)+ T; ^" x% I! z$ N! y3 t
   
8 C7 L; P& V) q  P    IP multicast:
' O( `' Y0 S) S* s   
: \' L# q0 q7 t1 L  s1 L    IP multicast fast-switching debugging is on' H0 L; k/ Y1 m, m8 A1 s
   
5 }. s$ u, X! P4 S    IP multicast routing debugging is on" H5 z9 K6 R! d% z/ W0 \& ]
    6 z/ P' M( J/ j! D. `9 c
    IGMP debugging is on
( ?! z: h% I& m% k, F; U    7 l# i3 G8 \1 p, J5 [* `
    CGMP debugging is on, N# m7 S/ w# Q6 C$ C
   
5 X: ]# t6 Y" K2 I    RGMP debugging is on
3 Q3 N3 @- [; w$ B7 F& A- n   
: n! v6 j. ?6 Z3 B: i+ c+ D    DVMRP debugging is on& y8 B( ~# D$ \2 l
    / ^! E* \  z# Q, K4 U9 W# T0 c
    PIM debugging is on/ A- s9 Q0 m1 e) D& j4 L2 G7 X
    $ Y7 D. Z% r+ n; }/ g1 z; o6 _
    PIM DF debugging is on5 U# q3 p+ x2 l4 S; h  q2 W
    8 \& v  Y% K) Q8 i, u% ~4 \) [
    PIM ATM debugging is on) l. n4 A8 |1 c; F) I) W1 }
    . k5 ~1 A0 _% @. N
    PIM BSR debugging is on3 ~" g' G6 M, d
    / }7 a/ o4 j4 j& j& i
    SD debugging is on$ ?# W- Y' K4 J$ i3 C
    9 F3 _0 }  h2 N; o
    PIM Auto-RP debugging is on
* D" Q6 p/ z" O3 H5 t   
5 a) B5 Y) T0 \  \. A* y+ s    MSDP debugging is on
$ ^" v0 W6 l( T) g   
( O. X2 @0 E; }    URD debugging is on' N. U1 Y- G- h% C. {5 v% `6 E% S
    " R: D# C5 F- S0 n; T* M: W
    Heartbeat debugging is on% n% ~" q+ {. e' b5 Z2 \* k% N
   
% F3 X: Y- g  ?. o4 q' @    IP Multicast tagswitching debugging is on
) K1 w' u. U3 I) J, s: Q' L    % J* P- U: o1 x; |! T/ ~
    PIM multicast tagswitching debugging is on4 i4 ~5 l5 p7 Q0 M  O
   
9 `* v9 m3 _3 z$ J" z    AT/EIGRP:
3 e  F# M% I6 v  i+ c/ ^    3 n) @7 j, k1 b4 P4 i  @
    AT/EIGRP Event Logging debugging is off' _- T0 o8 X& y( U
   
" i* L* e# ^; |    AppleTalk Remote Access:
: n# J3 c0 ]2 X& d9 |2 o% L1 k    3 E* S' l4 j! R9 x
    ARAP MNP4 debugging is on
3 w0 p8 z. K9 C   
8 V" j" p5 q' G* ?$ b, `    ARAP V.42bis debugging is on; d: Z4 {: @$ [$ p, |/ e: x
    $ h6 B6 u2 k' u- ^: H1 f8 B6 w
    ARAP internal packet debugging is on
* ~- B) [2 G: p* n. ?    # C% g, ], X. x# Z% f
    ARAP memory debugging is onLDAP:! t' n3 a4 r# {
    7 I+ N' z9 s/ i
    connect debbuging is on& W; ^4 G! q- G5 d. F8 z1 g
      C+ R4 F  K* }
    bind debbuging is on( i/ w  V& P7 p; t! i
    $ o3 L* s; _" D. u, N' D: Y5 _
    ber debbuging is on0 i. M3 |9 S% t4 G. @
    ) p4 Y4 A" g8 R7 k; Q' ]; x3 u, b
    receivedata debbuging is on: @3 I; Y1 @# r' ^8 }1 g: m' z
    ! }+ [8 J* L- W; c) V
    request debbuging is on" u8 d- D3 Z' A
   
5 V, i4 Z  I2 L  t8 j    referrals debbuging is on
. f; X; Q* Q, m2 U: `4 k/ e    3 c# S5 a+ g- P" M5 c
    error debbuging is on8 h+ ^* `$ |8 `; v0 f
    # P! q# a) R" w  l5 \
    DLSw:
6 t8 Q3 \1 `; U1 I! Z    5 I. B. D9 `. C+ J
    DLSw Core debugging is off
( E; Y8 C2 H% q3 ^0 e8 r   
* u" V6 |0 e2 [/ [    DLSw Reachability debugging is off
  c+ U( N9 Q: ~   
8 [4 \! I/ \% W  @, T$ v* ?- O    DLSw Local Circuit debugging is off4 i# x4 G% e/ Z* _- r! |2 b% s
   
& l2 g+ w4 P3 K    DLSw reachability debugging is on at event level for all protocol traffic% J8 h. h; b' W( d
    : u, Y) i/ D7 W$ b+ A
    DLSw core message debugging is on
' L* S2 h6 j2 v% k    * K5 P5 ?, e3 H6 a$ t
    DLSw core state debugging is on2 J6 {# v6 ~7 c/ ]
    9 e& ~# z% @# m/ _4 O( C' P
    DLSw core flow control debugging is on
: w  j. ^8 X3 r1 x0 \    ; b. H; D& e) c
    DLSw core xid debugging is on
/ R! n& Y1 y+ N2 i0 o    . u2 N, S. w- G+ a
    DLSw Local Circuit debugging is on( D6 t3 P1 g2 ^; n# D/ x
   
" O1 f. M* M0 S) a+ N    SNA:: L/ v; [' c. u; f1 H
   
0 E* [* B" @0 N9 ~- `2 p4 Y    SNA activation debugging is on for all PUs
) W) {6 f+ k5 i' f7 |( G   
" `$ v  ?+ o. |8 p4 R9 Q    SNA packet debugging is on for all PUs) T5 e/ v) X  P6 c7 D2 j& M: r
   
. h2 \+ U2 l# C. R: ]& z    SNA state change debugging is on for all PUs! k& G: I6 @+ }( |" z) S5 H% Z+ i9 Q
   
9 B- c' ~/ O3 D* U) l# A    SNA trace debugging is on for all PUs
) w# u# G0 c# |   
5 C( v  r  ~# ]9 T  \  k    SNA alert debugging is on for all PUs
. }6 `6 L/ K4 X6 O; X" v    % G9 L* {7 `3 t9 X3 k, R
    NCIA: Debug client all is on
5 q% {3 H$ {( e, @7 c    1 G6 `6 B" E4 Y& v: b
    NCIA: Debug server is on, a; M! R- o3 ]3 J3 H' k* W
   
+ D- q$ V2 E5 v9 k    NCIA: Debug circuit all is on
7 m! u& B! A3 ?: \7 b; b. L' d0 r   
& ]: b7 _' r# k) x  d    BSTUN:( q8 |8 [: c) I0 d+ h6 S
   
: y' E# J- h5 {    BSTUN event debugging is on
, A& v3 ]& j7 ~- I    0 u8 c4 C& k! A" r7 d
    BSTUN packet debugging is on. R/ v  a3 y+ J
   
3 W% u. }' m- w' g# D( N    BSTUN packet display size for debugging is 20
' s) }4 G( D5 R) l( e  U7 Y    ) k3 H7 _& `1 w) D: p
    BSC:
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-8-3 20:03:32 | 显示全部楼层

Cisco交换故障:路由交换机debug故障诊断8

BSC event debugging is on8 W% J% @; X; G1 q7 j8 G% ~) z, k" Z* |
    + q$ l0 p9 b# T0 K
    BSC packet debugging is on2 C; h% o/ I% ^7 R; |' N, m1 C
   
& a4 A; B6 g3 U* d* L/ _, g    BSC diagnostic debugging is on
, n( T6 N" U, B( @   
, p/ j9 S5 ]7 s; o7 n! ^    BSC packet display size for debugging is 20$ v2 x" ^' B4 H) v; y; q$ z
   
9 S- r3 w( L! I* o/ ~% }- B5 U  n    ASPP:
0 J* |1 P& I3 ]; w3 N/ V( M# B, O. m   
% ?. f5 h2 D. l; V. o1 ^( I# m    ASPP event debugging is on
& ~7 \, x; D5 P   
5 a  E+ i' O4 |/ `' `( R* W1 N    ASPP packet debugging is on! J7 J3 Z4 W: i- U
   
. \( V  I+ A$ O3 h9 a    ASPP packet display size for debugging is 20
; b1 R  x$ M; E9 S8 z   
4 k$ d1 D) |$ X  I: @* \: m    MGCP:
" y$ R6 ]' d2 e+ ~! G    " x  x: j/ p7 U# i- j
    Media Gateway Control Protocol input packets in hex value debugging is off
8 k& V0 P0 X: M    % {0 j  n! _1 `% E) x
    Rudpv1: Application debugging is enabled
9 g. N) w3 i! F1 l; e; s   
, A6 T. Q1 a4 V$ n    Rudpv1: Performance debugging is enabled* C9 Y- _0 V6 f7 T  |7 W0 A0 x
   
4 F1 E8 H4 z+ `) j5 u    Rudpv1: Retransmit/softreset is enabled: _5 U5 N# O' W4 i+ d% _4 \
    ! |& }2 o8 |  ~- N
    Rudpv1: Segment debugging is enabled) ^8 N8 s& ^; \0 _% j8 I  l+ S4 Z% S
   
6 i: ]* ?; t2 e, p) A( r6 a    Rudpv1: Signal debugging is enabled
4 L% j. X( m2 r4 W; ]   
4 F3 Q6 v( d, p2 b" n2 a; g' k6 G5 P    Rudpv1: State debugging is enabled$ M$ D! Z4 k7 C, _/ V( u
   
( X9 b" v! f6 ~- z: E( ~+ [8 e    Rudpv1: Timer debugging is enabled
/ v! z& ]  ]4 q    $ O: ~2 f. Q9 S, C, N4 q% T* K
    Rudpv1: Transfer state debugging is enabledBSM:All debuuging turned on at the session level  \& t, u, q5 b8 _
   
$ p- U- Q0 G( }    ISDN events debug DSLs. (On/Off/No DSL:1/0/-)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-30 11:58 , Processed in 0.206034 second(s), 26 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表