Elemental Network Consulting - Undocumented Cisco Commands

Embed Size (px)

Citation preview

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    1/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 1

    U n d o c u m e n t e d C i s c o C o m m a n d s

    $ R e v i s i o n : 1 . 8 9 $ $ D a t e : 2 0 0 5 / 0 8 / 2 9 2 2 : 2 2 : 1 7 $

    T h e d a t a i n t h i s d o c u m e n t h a s b e e n g a t h e r e d f r o m a v a r i e t y o f s o u r c e s :

    P r o j e c t D O T U

    U n d o c u m e n t e d I O S a n d C a t a l y s t C o m m a n d s o n H e i n z U l m ' s w e b s i t e

    U n d o c u m e n t e d I O S c o m m a n d s a t w w w . i - n - t . d e ( s i t e n o l o n g e r a v a i l a b l e )

    c i s c o - n s p a n d c i s c o - n a s m a i l i n g l i s t s

    C i s c o . c o m

    c o n t r i b u t i o n s f r o m C i s c o u s e r s

    . . . a n d s o m e w h i c h I c a n ' t r e m e m b e r

    I f y o u h a v e a n y s u g g e s t i o n s o r a d d i t i o n s t o t h i s l i s t p l e a s e c o n t a c t m e a t l f @ e l e m e n t a l . n e t .

    I n d e x

    [ n o ] i p s p d q u e u e { m i n - t h r e s h o l d | m a x -

    t h r e s h o l d } < n > ( I O S )

    s h o w b a n f f - r e s e t ( X I D / C a t O S , C a t a l y s t 5 0 0 0 s e r i e s w i t h N F F C )

    [ n o ] s p d e n a b l e ( I O S ) s h o w c a l l e r ( I O S )

    a a a a c c o u n t i n g d e l a y - s t a r t ( I O S ) s h o w c h u n k [ s u m m a r y ] ( I O S )

    a a a a u t h o r i z a t i o n c o n s o l e ( I O S ( > = 1 2 . 1 ( 1 0 . 6 ) ) ) s h o w c o n t r o l l e r s w i t c h ( C a t 2 9 0 0 X L / 3 5 0 0 X L , I O S )

    a a a p o d s e r v e r [ p o r t < p o r t n u m b e r > ] [ a u t h - t y p e

    { a n y | a l l | s e s s i o n - k e y } ] s e r v e r - k e y < s t r i n g > ( I O S

    ( > = 1 1 . 3 ( 7 ) A A ) )

    s h o w e p c . . . ( I O S )

    a i s - e n a b l e ( I O S )

    s h o w e p c a c l l o o k u p { i n | o u t } . . . ( I O S ( C a t 2 9 4 8 G - L 3 , 4 9 0 8 G - L 3 ,

    8 5 4 0 ) )

    a r a p l o g g i n g d e b u g - e x t e n s i o n s ( I O S )

    s h o w e p c a c l t c a m 2 a c l i n t e r f a c e < i n t e r f a c e > { i n | o u t } ( I O S ( C a t

    2 9 4 8 G - L 3 , 4 9 0 8 G - L 3 , 8 5 4 0 ) )

    b g p c o m m o n - a d m i n i s t r a t i o n ( I O S )

    s h o w e p c i p - a d d r e s s i n t e r f a c e < i n t e r f a c e > a l l - e n t r i e s ( I O S

    ( C a t 2 9 4 8 G - L 3 ) )

    b g p m a x a s - l i m i t < 1 - 2 0 0 0 > ( I O S ) s h o w e p c p a t r i c i a < i n g r e s s - i n t e r f a c e > i p u c a s t d e t a i l ( I O S )

    b g p r e d i s t r i b u t e - i n t e r n a l ( I O S )

    s h o w e p c p a t r i c i a < i n t e r f a c e > m a c ( I O S ( C a t 2 9 4 8 G - L 3 , 4 9 0 8 G -

    L 3 ) )

    b r i d g e - g r o u p < b r i d g e - n u m > s u b s c r i b e r - l o o p -

    c o n t r o l ( I O S )

    s h o w i d b ( I O S )

    c l e a r i p e i g r p [ < a s > ] e v e n t s ( I O S ) s h o w i n b a n d ( X I D / C a t O S )

    c l e a r i p e i g r p [ < a s > ] l o g g i n g ( I O S ) s h o w i n t e r f a c e c a b l e < x > / 0 p r i v a c y s t a t i s t i c ( I O S )

    c l o c k s o u r c e f r e e - r u n n i n g | l i n e p r i m a r y ( I O S ) s h o w i n t e r f a c e s [ < i n t e r f a c e - n a m e > ] s t a t s ( I O S )

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-mailto:[email protected]://www.cisco.com/http://www.heinzulm.com/hu03.htmlhttp://www.boerland.com/dotu/
  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    2/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 2

    c s i m ( I O S ) s h o w i n t e r f a c e s [ < i n t e r f a c e - n a m e > ] s w i t c h i n g ( I O S )

    d e b u g b u f f e r ( I O S ) s h o w i p c e f [ < n e t w o r k > [ < n e t m a s k > ] ] i n t e r n a l ( I O S )

    d e b u g c r y p t o i s a k m p d e t a i l ( I O S )

    s h o w i p e i g r p e v e n t s [ < a s - n u m > ] [ < s t a r t - n u m > ] [ < e n d -

    n u m > ] ( I O S )

    d e b u g c r y p t o i s a k m p p a c k e t ( I O S ) s h o w i p e i g r p s i a - e v e n t ( I O S )

    d e b u g d i a l e r d e t a i l e d ( I O S ) s h o w i p e i g r p t i m e r s [ < a s - n u m > ] ( I O S )

    d e b u g d i a l e r h o l d q ( I O S ) s h o w i p o s p f b a d - c h e c k s u m ( I O S )

    d e b u g i p o s p f m o n i t o r ( I O S ) s h o w i p o s p f d e l e t e - l i s t ( I O S )

    d e b u g i p p a c k e t [ d e t a i l ] [ < a c c e s s - l i s t > ] d u m p

    ( I O S )

    s h o w i p o s p f e v e n t s ( I O S )

    d e b u g i s d n q 9 3 1 l 3 ( I O S ) s h o w i p o s p f m a x a g e - l i s t ( I O S )

    d e b u g m i c a { t x | r x } < s l o t > / < p o r t > ( I O S ) s h o w i p o s p f s t a t i s t i c ( I O S )

    d e b u g m o d e m c s m ( I O S ) s h o w i p r o u t e h a s h ( I O S )

    d e b u g o i r ( I O S ) s h o w i p r o u t e p r o f i l e ( I O S )

    d e b u g p a r s e r m o d e ( I O S ) s h o w i p s p d ( I O S )

    d e b u g s a n i t y ( I O S ) s h o w i s d n m e m o r y d e t a i l ( I O S )

    d i a l e r d i s a b l e - m u l t i e n c a p s ( I O S ) s h o w i s d n s e r v i c e [ < d s l > | < i n t e r f a c e - n a m e > ] d e t a i l ( I O S )

    d i a l e r m u l t - m a p - s a m e - n a m e ( I O S ) s h o w i s d n s t a t u s d e t a i l ( I O S )

    e i g r p e v e n t - l o g - s i t e < n > ( I O S ) s h o w i s i s p r i v a t e ( I O S )

    e i g r p e v e n t - l o g g i n g ( I O S ) s h o w i s i s t i m e r s ( I O S )

    e i g r p k i l l - e v e r y o n e ( I O S ) s h o w i s i s t r e e ( I O S )

    e i g r p l o g - e v e n t - t y p e [ d u a l ] [ x m i t ] [ t r a n s p o r t ]

    ( I O S )

    s h o w l i s t [ n o n e ] ( I O S )

    e n a b l e e n g i n e e r ( X D I / C a t O S ) s h o w m b u f ( X I D / C a t O S )

    f r a m e - r e l a y f e c n - c r e a t e ( I O S ) s h o w m e m o r y b i g ( I O S )

    g d b { k e r n e l | p i d < p i d - n u m > | { e x a m i n e | d e b u g }

    < p i d - n u m > } ( I O S )

    s h o w m l s n f d e ( X I D / C a t O S )

    h 3 2 3 h 2 4 5 t u n n e l d e f e r ( I O S ) s h o w m l s s t a t u s ( C a t 6 0 0 0 N a t i v e I O S )

    i f - c o n s o l e < s l o t - n u m > [ c o n s o l e | d e b u g ]

    ( 7 0 0 0 / 7 5 0 0 S e r i e s , I O S )

    s h o w m m c n p 5 4 0 0

    [ c o n f i g | f l o w s | g e t | i n d i c a t i o n s | p o r t s | q u e u e | r e g i s t e r s | s t a t | s e n d ]

    [ . . . ] ( I O S ( C a t 2 9 4 8 G - L 3 , 4 9 0 8 G - L 3 ) )

    i p c a c h e - a g e r < s e c s - b e t w e e n - r u n s > < f r a c t i o n -

    l o w - m e m o r y > < f r a c t i o n > ( I O S ( > = 1 0 . 3 ( 8 ) a n d

    > = 1 1 . 0 ( 3 ) ) )

    s h o w m p l s i n t e r f a c e s i n t e r n a l a l l ( I O S )

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-
  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    3/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 3

    i p c a c h e - i n v a l i d a t e - d e l a y < m i n i m u m - d e l a y >

    < m a x i m u m - d e l a y > < q u i t - i n t e r v a l > ( I O S

    ( > = 1 0 . 3 ( 8 ) a n d > = 1 1 . 0 ( 3 ) ) )

    s h o w m s f c ( I O S ( C a t 6 k h y b r i d ) )

    i p o s p f i n t e r f a c e - r e t r y < r e t r i e s > ( I O S ) s h o w m s f c ( C a t O S ( C a t 6 k h y b r i d ) )

    i p r o u t e p r o f i l e ( I O S )

    s h o w m s f c n v r a m ( I O S ( C a t 6 k h y b r i d ) )

    i p c - c o n s o l e < s l o t - n u m > < c p u > ( C a t a l y s t

    6 0 0 0 / 6 5 0 0 S e r i e s , I O S )

    s h o w p a r s e r m o d e s ( I O S )

    i p x s a p - i n t e r v a l { < n > | p a s s i v e } ( I O S ( > = 1 1 . 2 ) ) s h o w p a r s e r u n r e s o l v e d ( I O S )

    i p x s e r v e r - s p l i t - h o r i z o n - o n - s e r v e r - p a t h s ( I O S ) s h o w p o l a r i s f i b m g r u s a g e ( C a t O S ( C a t 6 k h y b r i d ) )

    i p x u p d a t e i n t e r v a l { r i p | s a p } p a s s i v e ( I O S

    ( > = 1 1 . 3 ( 1 . 3 ) ) )

    s h o w r e g i o n ( I O S )

    i s d n i n c o m i n g p r o g r e s s [ v a l i d a t e | a c c e p t ] ( I O S

    ( > = 1 2 . 1 ( 3 . 3 ) T ) )

    s h o w r e g i o n a d d r e s s < a d d r e s s > ( I O S )

    m o d e m - m g m t c s m d e b u g r b s ( I O S ) s h o w s l i p ( I O S )

    m p l s t r a f f i c - e n g m u l t i c a s t - i n t a c t ( I O S ) s h o w s n m p c h a s s i s ( I O S )

    m u l t i l i n k q u e u i n g b y p a s s - f i f o ( I O S ) s h o w s n m p c o m m u n i t y ( I O S )

    n e i g h b o r < i p - a d d r e s s > d o n ' t - c a p a b i l i t y -

    n e g o t i a t e ( I O S )

    s h o w s n m p h o s t ( I O S )

    n o l o g g i n g s n m p - a u t h f a i l ( I O S ) s h o w s n m p l o c a t i o n ( I O S )

    n o p p p m i c r o c o d e ( I O S ) s h o w s n m p m i b ( I O S )

    n o s n m p - s e r v e r s p a r s e - t a b l e s ( I O S ) s h o w s n m p n e w c o m ( I O S )

    p p p d n i s < n u m b e r > [ < n u m b e r > . . . ] ( I O S ) s h o w s n m p n o t i f y ( I O S )

    p p p i p c p a c c e p t - a d d r e s s ( I O S ) s h o w s u m ( I O S )

    p p p i p c p d n s | w i n s { a c c e p t | a . b . c . d [ e . f . g . h ]

    [ a c c e p t ] } ( I O S )

    s h o w s u m ( I O S )

    p p p i p c p i g n o r e - m a p ( I O S ) s h o w t c a m . . . ( C a t 6 0 0 0 N a t i v e I O S )

    p p p i p c p u n i q u e - a d d r e s s ( I O S ) s n m p - s e r v e r p r i o r i t y { l o w | n o r m a l | h i g h } ( I O S )

    p p p m a x - c o n f i g u r e < n u m > ( I O S ) s p d h e a d r o o m < n > ( I O S )

    p r i v ( ) t c a m p r i o r i t y h i g h | l o w | m e d i u m ( C a t 6 0 0 0 N a t i v e I O S )

    p s - c ( X D I / C a t O S ) t e s t a a a g r o u p r a d i u s < u s e r n a m e > < p a s s w o r d > ( I O S )

    r a d i u s s e n d s e r v i c e - t y p e c a l l - c h e c k ( I O S ( > =

    1 2 . 1 ( 4 ) T ) )

    t e s t a i m e e p r o m s l o t < n > ( I O S )

    r a d i u s - s e r v e r a u t h o r i z a t i o n d e f a u l t F r a m e d -

    P r o t o c o l p p p ( I O S )

    t e s t c r a s h ( I O S )

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-
  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    4/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 4

    r a d i u s - s e r v e r a u t h o r i z a t i o n p e r m i t m i s s i n g

    S e r v i c e - T y p e ( I O S )

    t e s t m b u s p o w e r < s l o t > o n | o f f ( G S R I O S )

    r a d i u s - s e r v e r u n i q u e - i d e n t ( I O S ) t e s t p p p e c h o t i m e o u t < i n t e r f a c e - n a m e > ( I O S )

    s e r v i c e d o w n l o a d - f l ( G S R I O S ) t e s t t r a n s m i t ( I O S )

    s e r v i c e i n t e r n a l ( I O S )

    t r a c y _ c l o s e < m o d u l e > < p o r t > ( X I D / C a t O S w i t h W S - X 6 6 0 8 - T 1

    o r W S - X 6 6 0 8 - E 1 )

    s e r v i c e l o g b a c k t r a c e ( I O S )

    t r a c y _ s t a r t < m o d u l e > < p o r t > ( X I D / C a t O S w i t h W S - X 6 6 0 8 - T 1

    o r W S - X 6 6 0 8 - E 1 )

    s e r v i c e u n s u p p o r t e d - t r a n s c e i v e r ( I O S ) t r a f f i c - s h a p e f e c n - c r e a t e ( I O S )

    s e r v i c e - p o l i c y c l a s s i f y - p e r - f e a t u r e ( I O S ) t t c p ( C i s c o 7 2 0 0 / 7 5 0 0 , I O S )

    s e t t r a c e < c a t e g o r y > < l e v e l > ( X I D / C a t O S ) t x - q u e u e - l i m i t ( I O S )

    s e t t r a c e m o n i t o r { e n a b l e | d i s a b l e } ( X I D / C a t O S ) v i r t u a l - t e m p l a t e < t e m p l a t e - n u m > p r e - c l o n e < n u m > ( I O S )

    s h o w a c l s t a t s ( X I D / C a t O S ) v p d n i p u d p i g n o r e c h e c k s u m ( I O S )

    s h o w a l i g n m e n t ( I O S ) v p d n { l 2 f | l 2 t p } s e s s i o n t a b l e - s i z e < s i z e > ( I O S )

    C o m m a n d N a m e

    C o n f i g u r a t i o n

    M o d e

    P l a t f o r m / S o f t w a r e

    [ n o ] i p s p d q u e u e { m i n - t h r e s h o l d | m a x - t h r e s h o l d } < n > c o n f i g I O S

    S e t s l o w e r a n d u p p e r i p p r o c e s s - l e v e l q u e u e t h r e s h o l d s f o r S P D . W i t h S S E b a s e d S P D , l o w e r p r e c e d e n c e p a c k e t s a r e

    r a n d o m l y d r o p p e d w h e n t h e q u e u e s i z e h i t s m i n - t h r e s h o l d . T h e d r o p p r o b a b i l i t y i n c r e a s e s l i n e a r l y w i t h t h e q u e u e

    s i z e u n t i l m a x - t h r e s h o l d i s r e a c h e d , a t w h i c h p o i n t a l l l o w e r p r e c e d e n c e p a c k e t s a r e d r o p p e d . F o r r e g u l a r S P D , l o w e r

    p r e c e d e n c e p a c k e t s a r e d r o p p e d w h e n t h e q u e u e s i z e r e a c h e s m i n - t h r e s h o l d . D e f a u l t s a r e 5 0 a n d 7 5 , r e s p e c t i v e l y .

    T h e s e v a l u e s w e r e n o t b a s e d o n r e a l l i f e e x p e r i e n c e a n d m a y n e e d s o m e t u n i n g .

    R e f e r e n c e : C i s c o I S P E s s s e n t i a l s

    [ n o ] s p d e n a b l e c o n f i g I O S

    E n a b l e o r d i s a b l e t h e s e l e c t i v e p a c k e t d i s c a r d ( S P D ) f e a t u r e . C o m m a n d i s c a l l e d " i p s p d e n a b l e " i n 1 1 . 1 C C .

    R e f e r e n c e : C i s c o I S P E s s s e n t i a l s , C S C d k 3 1 8 9 8

    a a a a c c o u n t i n g d e l a y - s t a r t c o n f i g I O S

    I f y o u w a n t t o s e e I P a d d r e s s e s i n t h e A A A s t a r t r e c o r d s , t h e n y o u w i l l w a n t " a a a a c c o u n t i n g d e l a y - s t a r t " w h i c h i s

    h i d d e n b u t u n i v e r s a l l y u s e d .

    R e f e r e n c e :

    a a a a u t h o r i z a t i o n c o n s o l e c o n f i g I O S ( > = 1 2 . 1 ( 1 0 . 6 ) )

    T h i s h i d d e n c o m m a n d s e n a b l e s a u t h o r i z a t i o n f o r t h e c o n s o l e p o r t . O t h e r w i s e a u t h o r i z a t i o n o n t h e c o n s o l e p o r t s

    a l w a y s s u c c e e d s . A a r o n L e o n a r d s u b m i t t e d C S C d p 3 3 8 3 6 a n d C S C d p 3 3 8 4 1 t o g e t t h i s c o m m a n d d o c u m e n t e d .

    R e f e r e n c e : D e n n i s P e n g < d p e n g @ c i s c o . c o m > , < 2 0 0 1 0 5 1 0 0 9 2 6 0 6 . I 1 9 8 4 6 @ s j - c s e - 3 2 0 . c i s c o . c o m > a n d A a r o n L e o n a r d

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-
  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    5/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 5

    < a a r o n @ c i s c o . c o m > , < 2 0 0 1 0 5 1 0 0 9 4 0 1 4 . K 1 9 8 4 6 @ s j - c s e - 3 2 0 . c i s c o . c o m > o n c i s c o - n a s , a s w e l l a s C S C d i 8 2 0 3 0

    a a a p o d s e r v e r [ p o r t < p o r t n u m b e r > ] [ a u t h - t y p e { a n y | a l l | s e s s i o n -

    k e y } ] s e r v e r - k e y < s t r i n g >

    c o n f i g I O S ( > = 1 1 . 3 ( 7 ) A A )

    S y n t a x D e s c r i p t i o n

    p o r t < p o r t n u m b e r >

    ( O p t i o n a l ) T h e n e t w o r k a c c e s s s e r v e r p o r t t o u s e f o r P O D r e q u e s t s . I f n o p o r t i s s p e c i f i e d , p o r t 1 7 0 0 i s u s e d .

    a u t h - t y p e

    ( O p t i o n a l ) T h e t y p e o f a u t h o r i z a t i o n r e q u i r e d f o r d i s c o n n e c t i n g s e s s i o n s .

    a n y

    S e s s i o n t h a t m a t c h e s a l l o f t h e a t t r i b u t e s s e n t i n t h e P O D p a c k e t i s d i s c o n n e c t e d . T h e P O D p a c k e t m a y

    c o n t a i n o n e o r m o r e o f f o u r k e y a t t r i b u t e s ( u s e r - n a m e , f r a m e d - I P - a d d r e s s , s e s s i o n - I D , a n d s e s s i o n - k e y ) .

    a l l

    O n l y a s e s s i o n t h a t m a t c h e s a l l f o u r k e y a t t r i b u t e s i s d i s c o n n e c t e d . A l l i s t h e d e f a u l t .

    s e s s i o n - k e y

    S e s s i o n w i t h a m a t c h i n g s e s s i o n - k e y a t t r i b u t e i s d i s c o n n e c t e d . A l l o t h e r a t t r i b u t e s a r e i g n o r e d .

    < s t r i n g >

    T h e s e c r e t t e x t s t r i n g t h a t i s s h a r e d b e t w e e n t h e n e t w o r k a c c e s s s e r v e r a n d t h e c l i e n t w o r k s t a t i o n . T h i s s e c r e t

    s t r i n g m u s t b e t h e s a m e o n b o t h s y s t e m s .

    T h i s c o m m a n d i s n o w d o c u m e n t e d a s o f 1 2 . 2 ( 8 ) T .

    R e f e r e n c e :

    a i s - e n a b l e c o n f i g - i f I O S

    I O S v e r s i o n 1 2 . 0 ( 7 . 1 ) i n c l u d e s a h i d d e n c o m m a n d t o e n a b l e g e n e r a t i o n o f A I S a l a r m o n t x l i n e w h e n L O S i s d e t e c t e d o

    r x l i n e . T h i s i s a k l u d g e t o w o r k a r o u n d o t h e r v e n d o r ' s A T M s w i t c h e s ( N e w b r i d g e ) t h a t d o n ' t g e n e r a t e F 4 / F 5 O A M A I S

    c e l l s w h e n F 3 R D I i s r e c e i v e d . T h i s c o m m a n d i s o n l y s u p p o r t e d o n t h e P A - A 3 p o r t a d a p t e r . T h e h i d d e n i n t e r f a c e

    c o m m a n d " a i s - e n a b l e " w i l l e n a b l e A I S a l a r m a s s e r t i o n w h e n a n L O S a l a r m o c c u r s .

    R e f e r e n c e : C S C d m 3 7 6 3 4

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    6/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 6

    a r a p l o g g i n g d e b u g - e x t e n s i o n s c o n f i g I O S

    T h i s D D T S a d d s a h i d d e n c o m m a n d , " a r a p l o g g i n g d e b u g - e x t e n s i o n s " w h i c h e f f e c t i v e l y n e g a t e s t h e c h a n g e s f r o m

    C S C d i 5 7 7 1 3 . M e s s a g e s t h a t r e - a p p e a r :

    Modem CD dropped unexpectedly.User exceeded timelimitARAP connection was terminated.v42_input running (may be low memory)v42_output running (may be low memory)Force Quit pak v42bisflush CCarrier dropped during startup

    R e f e r e n c e : C S C d i 6 8 2 7 6 , C S C d i 5 7 7 1 3

    b g p c o m m o n - a d m i n i s t r a t i o n

    c o n f i g - r o u t e r

    b g p

    I O S

    R e f e r e n c e :

    b g p m a x a s - l i m i t < 1 - 2 0 0 0 >

    c o n f i g - r o u t e r

    b g p

    I O S

    T h i s c o m m a n d s h o u l d b e u s e d i n r o u t e r c o n f i g u r a t i o n m o d e ; b y d e f a u l t t h e r e i s n o l i m i t . I f t h e n u m b e r o f A S e s i n t h e

    A S _ P A T H e x c e e d s t h e l i m i t , t h e U P D A T E w i l l b e s t o r e d i n t h e B G P t a b l e , b u t n o t u s e d i n t h e b e s t p a t h s e l e c t i o n o r

    p r o p a g a t e d .

    R e f e r e n c e : C S C d r 5 4 2 3 0 , C S C d u 0 0 6 7 9

    b g p r e d i s t r i b u t e - i n t e r n a l

    c o n f i g - r o u t e r

    b g p

    I O S

    N o r m a l l y r e d i s t r i b u t i n g B G P i n t o a n o t h e r p r o t o c o l o n l y r e d i s t r i b u t e s E B G P r o u t e s . U s i n g t h i s c o m m a n d w i l l a l s o

    r e d i s t r i b u t e I B G P r o u t e s . H i d d e n i n I O S v e r s i o n s p r i o r t o 1 2 . 1 .

    R e f e r e n c e :

    b r i d g e - g r o u p < b r i d g e - n u m > s u b s c r i b e r - l o o p - c o n t r o l c o n f i g - i f I O S

    B r i d g e b e t w e e n t w o m a c h i n e s o n t h e s a m e s u b i n t e r f a c e .

    R e f e r e n c e :

    c l e a r i p e i g r p [ < a s > ] e v e n t s

    p r i v i l e g e d

    e x e c

    I O S

    C l e a r I P E I G R P e v e n t l o g s .

    R e f e r e n c e :

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    7/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 7

    c l e a r i p e i g r p [ < a s > ] l o g g i n g

    p r i v i l e g e d

    e x e c

    I O S

    S t o p I P E I G R P e v e n t l o g g i n g .

    R e f e r e n c e :

    c l o c k s o u r c e f r e e - r u n n i n g | l i n e p r i m a r y

    c o n f i g -

    c o n t r o l l e r

    I O S

    G e n e r a t e o r s a m p l e c l o c k r a t e f r o m t h e l i n e .

    R e f e r e n c e :

    c s i m e x e c I O S

    W i t h t h e c o m m a n d c s i m y o u c a n e m u l a t e a v o i c e c a l l . I t ' s l i k e s o m b o d y c a l l s t h e s p e c i f i e d n u m b e r . U s e f u l l , i f y o u d o n '

    h a v e p h y s i c a l l y a c c e s s t o t h e t e l e p h o n e :

    S u c e s s f u l l c a l l :

    wg1r1#csim start 089150csim: called number = 089150, loop count = 1 ping count = 0csim err csimDisconnected recvd DISC cid(21)csim: loop = 1, failed = 1csim: call attempted = 1, setup failed = 1, tone failed = 0

    C a l l t o a n u n d e f i n e d n u m b e r :

    wg1r1#csim start 089151csim: called number = 089151, loop count = 1 ping count = 0

    csim err:csim_do_test Error peer not found

    R e f e r e n c e :

    d e b u g b u f f e r

    p r i v i l e g e d

    e x e c

    I O S

    D e b u g b u f f e r m a n a g e m e n t .

    R e f e r e n c e : P h r a c k , V o l u m e 0 x a , I s s u e 0 x 3 8

    d e b u g c r y p t o i s a k m p d e t a i l

    p r i v i l e g e d

    e x e c

    I O S

    C r y p t o I S A K M P i n t e r n a l s d e b u g g i n g .

    E x a m p l e o u t p u t d u r i n g I S A K M P S A e s t a b l i s h m e n t :

    6w3d: ISAKMP cookie gen for src 62.245.147.66 dst 195.244.119.26w3d: ISAKMP cookie B5FCAD89 B2BD7BFF6w3d: ISAKMP: find_me

    a=(src 62.245.147.66 dst 195.244.119.2 state 0, init 1)

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    8/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 8

    b=(src 0.0.0.0 dst 0.0.0.0 state 0, init 0)6w3d: my_cookie a B5FCAD89 9BEC22F86w3d: my_cookie b B5FCAD89 B2BD7BFF6w3d: his_cookie a DB28B716 6D61AE4F6w3d: his_cookie b 00000000 000000006w3d: ISAKMP: compare

    a=(src 62.245.147.66 dst 195.244.119.2 state 0, init 1)b=(src 62.245.147.66 dst 195.244.119.2 state 0, init 1)

    6w3d: my_cookie a B5FCAD89 9BEC22F86w3d: my_cookie b B5FCAD89 9BEC22F86w3d: his_cookie a DB28B716 6D61AE4F6w3d: his_cookie b DB28B716 6D61AE4F6w3d: ISAKMP cookie gen for src 195.244.119.2 dst 62.245.147.666w3d: ISAKMP cookie 10FA17FE 2C76366D6w3d: ISAKMP: find_me

    a=(src 62.245.147.66 dst 195.244.119.2 state 0, init 1)b=(src 0.0.0.0 dst 0.0.0.0 state 0, init 0)

    6w3d: my_cookie a B5FCAD89 9BEC22F86w3d: my_cookie b 10FA17FE 2C76366D6w3d: his_cookie a DB28B716 6D61AE4F6w3d: his_cookie b 00000000 000000006w3d: ISAKMP: compare

    a=(src 62.245.147.66 dst 195.244.119.2 state 0, init 1)b=(src 62.245.147.66 dst 195.244.119.2 state 0, init 1)

    6w3d: my_cookie a B5FCAD89 9BEC22F86w3d: my_cookie b B5FCAD89 9BEC22F86w3d: his_cookie a DB28B716 6D61AE4F6w3d: his_cookie b DB28B716 6D61AE4F

    R e f e r e n c e :

    d e b u g c r y p t o i s a k m p p a c k e t

    p r i v i l e g e d

    e x e c

    I O S

    C r y p t o I S A K M P p a c k e t d e b u g g i n g .

    E x a m p l e o u t p u t d u r i n g I S A K M P S A e s t a b l i s h m e n t :

    6w3d: -Traceback= 80A36FE0 80A3A5C0 80A3D41C 809F0880 809F8A34809F301C 809F33DC 809F5228 801710CC

    6w3d: -Traceback= 80A36FE0 80A3A5C0 80A3D41C 809F8494 809F87C0809F8C20 809F301C 809F33DC 809F5228 801710CC

    6w3d: ISAKMP: Main Mode packet contents (flags 0, len 72):6w3d: SA payload6w3d: PROPOSAL6w3d: TRANSFORM6w3d: ISAKMP (0:1): sending packet to 195.244.119.2 (I) MM_NO_STATE6w3d: ISAKMP (0:1): received packet from 195.244.119.2 (I) MM_NO_STATE6w3d: ISAKMP: Main Mode packet contents (flags 0, len 72):6w3d: SA payload6w3d: PROPOSAL6w3d: TRANSFORM6w3d: -Traceback= 80A36FE0 80A3A5C0 80A3D41C 809FF460 80A00E0C 80A01070 809FBEBC 809F99B8 809F468C 809F51C8 801710CC

    6w3d: ISAKMP: Main Mode packet contents (flags 0, len 204):6w3d: KE payload6w3d: NONCE payload6w3d: VENDOR payload6w3d: ISAKMP (0:1): sending packet to 195.244.119.2 (I) MM_SA_SETUP6w3d: ISAKMP (0:1): received packet from 195.244.119.2 (I) MM_SA_SETUP6w3d: ISAKMP: Main Mode packet contents (flags 0, len 184):6w3d: KE payload6w3d: NONCE payload6w3d: ISAKMP: Main Mode packet contents (flags 1, len 64):6w3d: ID payload6w3d: HASH payload6w3d: ISAKMP (0:1): sending packet to 195.244.119.2 (I) MM_KEY_EXCH6w3d: ISAKMP (0:1): received packet from 195.244.119.2 (I) MM_KEY_EXCH6w3d: ISAKMP: Main Mode packet contents (flags 1, len 68):6w3d: ID payload

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    9/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 9

    6w3d: HASH payload6w3d: ISAKMP: Quick Mode packet contents (flags 1, len 168):6w3d: HASH payload6w3d: SA payload6w3d: PROPOSAL6w3d: TRANSFORM6w3d: NONCE payload6w3d: ID payload6w3d: ID payload6w3d: ISAKMP (0:1): sending packet to 195.244.119.2 (I) QM_IDLE6w3d: ISAKMP (0:1): received packet from 195.244.119.2 (I) QM_IDLE6w3d: ISAKMP: Quick Mode packet contents (flags 1, len 172):6w3d: HASH payload6w3d: SA payload6w3d: PROPOSAL6w3d: TRANSFORM6w3d: NONCE payload6w3d: ID payload6w3d: ID payload6w3d: ISAKMP: Quick Mode packet contents (flags 1, len 52):6w3d: HASH payload6w3d: ISAKMP (0:1): sending packet to 195.244.119.2 (I) QM_IDLE

    R e f e r e n c e :

    d e b u g d i a l e r d e t a i l e d

    p r i v i l e g e d

    e x e c

    I O S

    E n a b l e s o m e a d d i t i o n a l d e b u g g i n g f o r t h e D D R s u b s y s t e m .

    R e f e r e n c e :

    d e b u g d i a l e r h o l d q

    p r i v i l e g e d

    e x e c

    I O S

    A c t i v a t e d e b u g g i n g o u t p u t f o r d i a l e r h o l d q u e u e e v e n t s .

    Jan 13 14:56:03.240: Se0/1:15 DDR: Creating holdq 626B1B9CJan 13 14:56:03.240: DDR: Assigning holdq 626B1B9C to 627923F8Jan 13 14:56:09.208: DDR: Assigning holdq 626B1B9C to 61B667F4Jan 13 14:56:09.208: DDR: freeing dialer holdq 626B1B9C (Ref ptr 61B667F4)Jan 13 14:56:09.208: DDR: Dialing failed, 0 packets unqueued and discardedJan 13 14:56:09.208: : 2 packets unqueued and discarded

    R e f e r e n c e :

    d e b u g i p o s p f m o n i t o r

    p r i v i l e g e d

    e x e c

    I O S

    O S P F S P F m o n i t o r i n g d e b u g g i n g . H m m , s e e m s t o s h o w s y n c h r o n i z a t i o n b e t w e e n O S P F r o u t i n g p r o c e s s a n d r o u t i n g

    t a b l e . F u r t h e r m o r e i t s h o w s L S A c h a n g e s a n d s o c a n b e u s e d t o d e b u g w h y a l i n k m a r k e d a s O S P F d e m a n d c i r c u i t i s

    b r o u g h t u p f o r e x a m p l e .

    R e f e r e n c e :

    d e b u g i p p a c k e t [ d e t a i l ] [ < a c c e s s - l i s t > ] d u m p

    p r i v i l e g e d

    e x e c

    I O S

    D u m p s p a c k e t s c o n t e n t s f o r p r o c e s s s w i t c h e d p a c k e t s .

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    10/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 10

    R e f e r e n c e :

    d e b u g i s d n q 9 3 1 l 3

    p r i v i l e g e d

    e x e c

    I O S

    T h i s c o m m a n d w i l l s h o w a d d i t i o n a l i n f o r m a t i o n o n I S D N L a y e r 3 , i . e . t h e c o r r e s p o n d i n g c a l l r e f e r e n c e n u m b e r i n a l l

    I S D N m e s s a g e s .

    R e f e r e n c e : P r o j e c t D O T U

    d e b u g m i c a { t x | r x } < s l o t > / < p o r t >

    p r i v i l e g e d

    e x e c

    I O S

    D u m p d a t a f r o m a M I C A d i g i t a l m o d e m . P r o b a b l y o n l y s u p p o r t e d o n t h e C i s c o A c c e s s S e r v e r s e r i e s ( e . g . A S 5 3 0 0 ) .

    R e f e r e n c e :

    d e b u g m o d e m c s m

    p r i v i l e g e d

    e x e c

    I O S

    M o d e m M a n a g e m e n t C a l l S w i t c h i n g M o d u l e d e b u g g i n g .

    R e f e r e n c e :

    d e b u g o i r

    p r i v i l e g e d

    e x e c

    I O S

    A c t i v a t e O I R d e b u g g i n g .

    ctalkb#debug oirOnline Insertion and Removal debugging is on2w3d: OIR: Process woke, 'Event', stall=2, usec=0xB6835B36

    -Traceback= 6040967C 603B6D2C 603B6D182w3d: OIR: Shutdown pulled interface for Serial5/0

    -Traceback= 600E30C4 60409204 604096C8 603B6D2C 603B6D182w3d: %OIR-6-REMCARD: Card removed from slot 5, interfaces disabled

    -Traceback= 60409748 603B6D2C 603B6D182w3d: OIR: Remove hwidbs for slot 5

    -Traceback= 60409368 60409750 603B6D2C 603B6D182w3d: OIR: Process woke, 'Event(max not running)', stall=3, usec=0xD0115C9E -Traceback= 6040967C 603B6D2C 603B6D182w3d: OIR: Process woke, 'Timer(max running)', stall=3, usec=0xDDBB56D6 -Traceback= 6040967C 603B6D2C 603B6D182w3d: OIR: (Re)Init card 5, retry_count=3

    -Traceback= 60409894 603B6D2C 603B6D182w3d: %OIR-6-INSCARD: Card inserted in slot 5, interfaces administratively shut down

    -Traceback= 604098BC 603B6D2C 603B6D18

    R e f e r e n c e : P h r a c k , V o l u m e 0 x a , I s s u e 0 x 3 8

    d e b u g p a r s e r m o d e

    p r i v i l e g e d

    e x e c

    I O S

    Aug 7 21:58:44.207 MEST: Look up of parser mode 'route-map' succeededAug 7 21:58:45.923 MEST: Look up of parser mode 'configure' succeeded

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    11/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 11

    R e f e r e n c e : P h r a c k , V o l u m e 0 x a , I s s u e 0 x 3 8

    d e b u g s a n i t y

    p r i v i l e g e d

    e x e c

    I O S

    W i t h t h i s c o m m a n d e v e r y b u f f e r t h a t i s u s e d i n t h e s y s t e m i s s a n i t y - c h e c k e d w h e n i t i s a l l o c a t e d a n d w h e n i t i s f r e e d .

    T h i s c a n s o m e t i m e s b e u s e d t o p i n p o i n t m e m o r y c o r r u p t i o n p r o b l e m s w h e n a n a l y z i n g a c o r e d u m p w h i c h w a s

    g e n e r a t e d w i t h t h i s d e b u g o p t i o n i n e f f e c t .

    R e f e r e n c e :

    d i a l e r d i s a b l e - m u l t i e n c a p s c o n f i g - i f I O S

    R e v e r t t o p r e m u l t i e n c a p s u l a t i o n o n t h e d i a l e r p r o f i l e .

    R e f e r e n c e : C S C d p 9 5 1 6 4

    d i a l e r m u l t - m a p - s a m e - n a m e c o n f i g - i f I O S

    I f d i s t i n c t d i a l e r m a p s t o d i f f e r e n t d e s t i n a t i o n s s h a r e t h e s a m e r e m o t e n a m e , t r a f f i c w i l l f a i l t o p a s s o n t h e 2 n d a n d

    s u b s e q u e n t s e s s i o n s . T h i s a b i l i t y i s i m p l e m e n t e d 1 n 1 2 . 0 T a s a h i d d e n c o m m a n d . d i a l e r m u l t - m a p - s a m e - n a m e a l l o w s

    u s e r s t o d i a l i n t o t h e d i a l e r w i t h t h e s a m e p p p u s e r _ n a m e . I t ' s b e h a v i o u r w i t h o t h e r d i a l e r f e a t u r e s i s c u r r e n t l y

    u n p r e d i c t a b l e a n d s h o u l d b e u s e d w i t h c a u t i o n .

    R e f e r e n c e : C S C d k 2 8 4 5 9 - a l l o w m u l t i u s e r s w / s a m e n a m e

    e i g r p e v e n t - l o g - s i t e < n >

    c o n f i g - r o u t e r

    e i g r p

    I O S

    S e t s i z e o f e v e n t l o g . S e t t i n g i t t o z e r o d e l e t e s e v e n t l o g b u f f e r s . D e f a u l t l o g b u f f e r s i z e i s 5 0 0 e v e n t s .

    R e f e r e n c e :

    e i g r p e v e n t - l o g g i n g

    c o n f i g - r o u t e r

    e i g r p

    I O S

    C o n t r o l s l o g g i n g o f E I G R P e v e n t s .

    R e f e r e n c e :

    e i g r p k i l l - e v e r y o n e

    c o n f i g - r o u t e r

    e i g r p

    I O S

    K i l l a l l a d j a c e n c i e s o n a n S I A o r a n e i g h b o r d o w n e v e n t .

    R e f e r e n c e :

    e i g r p l o g - e v e n t - t y p e [ d u a l ] [ x m i t ] [ t r a n s p o r t ]

    c o n f i g - r o u t e r

    e i g r p

    I O S

    C o n f i g u r e t h e s e t o f E I G R P e v e n t t y p e s t o l o g .

    R e f e r e n c e :

    e n a b l e e n g i n e e r e x e c X D I / C a t O S

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    12/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 12

    C a t a l y s t 5 0 0 0 s e r i e s w i t h S u p e r v i s o r E n g i n e I :

    Y o u w i l l b e p r o m p t e d f o r a p a s s w o r d . I t h a s t h e f o l l o w i n g f o r m a t :

    V T Y

    V T Y

    H W

    F W

    S W

    T h a t i s , t h e V T Y p a s s w o r d f o l l o w e d b y t h e V T Y p a s s w o r d a g a i n , f o l l o w e d b y t h e h a r d w a r e v e r s i o n , f o l l o w e d b y t h e

    s o f t w a r e v e r s i o n ( n o s p a c e s , d o n o t t y p e t h e d o t s i n t h e v e r s i o n s ) .

    C a t a l y s t 5 0 0 0 s e r i e s w i t h S u p e r v i s o r - E n g i n e I I a n d I I I a n d C a t a l y s t 6 0 0 0 s e r i e s w i t h S u p e r v i s o r I a n d I I :

    F o r m a t f o r t h e p a s s w o r d i s :

    V T Y

    H W

    F W

    S W

    V T Y

    T h a t i s , t h e V T Y p a s s w o r d f o l l o w e d b y t h e V T Y p a s s w o r d a g a i n , f o l l o w e d b y t h e h a r d w a r e v e r s i o n , f o l l o w e d b y t h e

    s o f t w a r e v e r s i o n ( n o s p a c e s , d o n o t t y p e t h e d o t s i n t h e v e r s i o n s ) .

    R e f e r e n c e :

    f r a m e - r e l a y f e c n - c r e a t e

    c o n f i g - m a p -

    c l a s s

    I O S

    T h i s h i d d e n c o m m a n d e n a b l e s s e t t i n g t h e F E C N b i t i n a l l o u t g o i n g p a c k e t s t h a t h a v e b e e n d e l a y e d d u e t o t r a f f i c

    s h a p i n g .

    R e f e r e n c e :

    g d b { k e r n e l | p i d < p i d - n u m > | { e x a m i n e | d e b u g } < p i d - n u m > }

    p r i v i l e g e d

    e x e c

    I O S

    S e e m s t o a c t i v a t e s o m e i n t e r n a l d e b u g g e r . M a y b e f o r a c c e s s v i a r e m o t e g d b . P r o b a b l y o n l y u s e f u l w i t h a s y m b o l t a b l

    a n d a n I O S i m a g e c o m p i l e d f o r d e b u g g i n g .

    R e f e r e n c e : P h r a c k , V o l u m e 0 x a , I s s u e 0 x 3 8 ; P r o j e c t D O T U

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    13/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 13

    h 3 2 3 h 2 4 5 t u n n e l d e f e r v o i c e s e r v i c e

    v o i p

    I O S

    R e f e r e n c e :

    i f - c o n s o l e < s l o t - n u m > [ c o n s o l e | d e b u g ]

    p r i v i l e g e d

    e x e c

    7 0 0 0 / 7 5 0 0 S e r i e s , I O S

    O p e n c o n n e c t i o n t o t h e V I P c o n s o l e . L o t s o f u s e f u l c o m m a n d s t h e r e , e s p e c i a l l y s h o w i n g m e m o r y a n d c p u u s a g e .

    R e f e r e n c e :

    i p c a c h e - a g e r < s e c s - b e t w e e n - r u n s > < f r a c t i o n - l o w - m e m o r y >

    < f r a c t i o n >

    c o n f i g I O S ( > = 1 0 . 3 ( 8 ) a n d > = 1 1 . 0 ( 3 ) )

    I t ' s h i d d e n , a n d y o u h a v e t o c o n f i g u r e " s e r v i c e i n t e r n a l " i n o r d e r t o b r i n g i t i n t o e x i s t e n c e .

    < s e c s - b e t w e e n - r u n s > i s 0 - 2 1 4 7 4 8 3 n u m b e r o f s e c o n d s b e t w e e n a g e r r u n s , d e f a u l t = 6 0 s e c o n d s . I f t h e p e r i o d

    b e t w e e n a g e r i n v a l i d a t i o n r u n s i s s e t t o 0 , t h e a g e r p r o c e s s i s d i s a b l e d e n t i r e l y .

    < f r a c t i o n - l o w - m e m o r y > i s 2 - 5 0 1 / < f r a c t i o n - l o w - m e m o r y > o f c a c h e t o a g e p e r r u n ( l o w m e m o r y ) , d e f a u l t = 4 .

    < f r a c t i o n > i s 3 - 1 0 0 1 / < f r a c t i o n > o f c a c h e t o a g e p e r r u n ( n o r m a l ) , d e f a u l t = 2 0 .

    C o n f i g u r e s t h e a g e r o f t h e f a s t s w i t c h i n g c a c h e . A a r o n L e o n a r d < A a r o n @ c i s c o . c o m > r e c o m m e n d e d " 2 0 3 3 " o n c i s c o -

    n a s i n t h e l i g h t o f r e c e n t C o d e R e d a t t a c k s , i . e . m a k e t h e a g e r m o r e a g g r e s s i v e t o p r e v e n t e x c e s s i v e c a c h e g r o w t h .

    R e f e r e n c e : < 0 1 K 7 Y 4 5 P W 1 P A 9 K W F H 9 @ C i s c o . C O M > a n d h t t p : / / w w w . c i s c o . c o m / w a r p / p u b l i c / 6 3 / t s _ c o d r e d _ w o r m . s h t m

    i p c a c h e - i n v a l i d a t e - d e l a y < m i n i m u m - d e l a y > < m a x i m u m - d e l a y >

    < q u i t - i n t e r v a l >

    c o n f i g I O S ( > = 1 0 . 3 ( 8 ) a n d > = 1 1 . 0 ( 3 ) )

    R e q u i r e s " s e r v i c e i n t e r n a l " .

    < m i n i m u m - d e l a y > i s 0 - 3 0 0 s e c o n d s .

    < m a x i m u m - d e l a y > i s 1 - 3 0 0 s e c o n d s .

    < q u i e t - i n t e r v a l > i s 1 - 6 0 0 s e c o n d s .

    U s e " n o i p c a c h e - i n v a l i d a t e - d e l a y " t o d i s a b l e t h e d e l a y a l t o g e t h e r . S e e t h i s p o s t i n g f r o m c i s c o - n a s :

    Date: Fri, 28 Apr 2000 10:07:03 -0700 (PDT)From: Aaron Leonard Subject: Re: CN: telnet DoS (CSCdm70743)To: [email protected]: References: Reply-To: [email protected]

    It's hidden, and you have to configure "service internal" in orderto bring it into existence. I.e.

    as5300-1(config)#service internalas5300-1(config)#no ip cache-invalidate-delay

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    14/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 14

    It's generally recommended for systems running 12.0T/12.1 code ifthey have lots of interfaces (>300) and are not doing CEF.

    R e f e r e n c e : < 0 1 J O R K P 9 P B P I A 2 A L 3 9 @ C i s c o . C O M > a n d h t t p : / / w w w . c i s c o . c o m / w a r p / p u b l i c / 6 3 / t s _ c o d r e d _ w o r m . s h t m l

    i p o s p f i n t e r f a c e - r e t r y < r e t r i e s > c o n f i g - i f I O S

    F r o m C i s c o D E ( s l i g h t l y e d i t e d ) :

    T h e m o t i v a t i o n f o r t h i s c o m m a n d i s a t i m i n g p r o b l e m w h e r e O S P F f a i l s t o d e t e r m i n e t h e s t a t e o f a n i n t e r f a c e . T h e

    s o l u t i o n w a s f o r O S P F t o p o l l t h e i n t e r f a c e f o r a w h i l e t o v e r i f y i t s s t a t e . T h e h i d d e n c o m m a n d a l l o w s u s t o l e n g t h e n

    t h e p o l l i n g p e r i o d o n r o u t e r s t h a t h a v e a l a r g e n u m b e r o f i n t e r f a c e s . T h e p o l l s o c c u r e v e r y 1 0 s e c o n d s a n d t h e

    c o m m a n d c o n t r o l s t h e n u m b e r o f p o l l s t h a t w i l l b e d o n e . W i t h a s e t t i n g o f 0 r e t r i e s t h e r e w i l l b e n o e x t r a p o l l i n g .

    D e f a u l t n u m b e r o f r e t r i e s i s 1 0 .

    R e f e r e n c e :

    i p r o u t e p r o f i l e c o n f i g I O S

    A s d i s c l o s e d b y A a r o n L e o n a r d f r o m C i s c o o n c i s c o - n a s :

    Date: Thu, 11 Sep 2003 09:34:53 -0700 (PDT)From: Aaron Leonard Subject: Re: [cisco-nas] IP Route ProfileIn-reply-to: "Your message dated Wed, 10 Sep 2003 22:21:02 -0500" To: "Beprojects.com" Cc: [email protected]

    [...]

    "ip route profile" was implemented way back in late '96 by CSCdi76662.However we have historically refrained from documenting this (CSCdk01634,CSCdz19775) as this has been declared to be a hidden command that "shouldnot be used by customers".However, in fact this is NOT a hidden command ... so I've just nowgone ahead and reopened CSCdz19775.

    Introduction

    The Route Table Profiling feature was developed to assist network engineersin monitoring routing table fluctuations, which may be the result of routeflapping, network failure, or network service restoration. This feature wasadded in CSCdi76662 to the 11.1CC train of Cisco IOS.

    The Route Table Profiling feature is an undocumented and unsupportedfeature. There is no MIB support provided.

    ConfigurationThe Route Table Profiling feature is enabled globally. The command is "iproute profile" in global configuration mode. This feature can be disabledwith the command "no ip route profile" in global configuration mode.Routing table change statistics can be viewed with the "show iproute profile" command in exec mode.

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    15/43

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    16/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 16

    m o d e m - m g m t c s m d e b u g r b s e x e c I O S

    D e b u g R B S t r u n k s . O n l y a v a i l a b l e i f " s e r v i c e i n t e r n a l " c o n f i g u r e d . E q u i v a l e n t t o " d e b u g c a s " o n l a t e r I O S v e r s i o n s ( > =

    1 2 . 0 ( 7 ) T ) .

    R e f e r e n c e :

    m p l s t r a f f i c - e n g m u l t i c a s t - i n t a c t c o n f i g - r o u t e r I O S

    U s e h o p - b y - h o p r o u t i n g i n s t e a d o f M P L S T E t u n n e l s t o t r a n s p o r t m u l t i c a s t t r a f f i c . S e e C S C d m 6 3 2 3 4 f o r d e t a i l s .

    R e f e r e n c e : C S C d m 6 3 2 3 4

    m u l t i l i n k q u e u i n g b y p a s s - f i f o c o n f i g - i f I O S

    R e f e r e n c e :

    n e i g h b o r < i p - a d d r e s s > d o n ' t - c a p a b i l i t y - n e g o t i a t e

    c o n f i g - r o u t e r

    b g p

    I O S

    T u r n s o f f C A P A B I L I T Y p a r a m e t e r s i n B G P O p e n m e s s a g e .

    R e f e r e n c e :

    n o l o g g i n g s n m p - a u t h f a i l c o n f i g I O S

    T u r n o f f t h e % S N M P - 3 - A U T H F A I L m e s s a g e .

    S e e C S C d v 0 4 2 6 8 f o r a v a i l a b i l i t y i n f o r m a t i o n .

    R e f e r e n c e : C S C d v 0 4 2 6 8

    n o p p p m i c r o c o d e c o n f i g - i f I O S

    O n a c i s c o 8 0 5 , " i p t c p h e a d e r - c o m p r e s s i o n " c o n f i g u r e d o n t h e s e r i a l a s y n c i n t e r f a c e a n d o n t h e d i a l e r i n t e r f a c e l i n k e d

    t o i t , r e s u l t s i n V E R Y l o n g r e s p o n s e t i m e f o r T C P s e s s i o n s . W o r k a r o u n d : R e m o v e " i p t c p h e a d e r - c o m p r e s s i o n " o r e n a b l

    t h e h i d d e n c o m m a n d " n o p p p m i c r o c o d e " o n t h e s e r i a l i n t e r f a c e o r c o n f i g u r e I P d i r e c t l y o n t h e s e r i a l i n t e r f a c e ( n o

    d i a l e r i n t e r f a c e ) .

    R e f e r e n c e : C S C d p 3 2 9 8 0

    n o s n m p - s e r v e r s p a r s e - t a b l e s c o n f i g I O S

    F u l l y p o p u l a t e a l l S N M P t a b l e s e v e n i f a n o b j e c t i d i s n o t a p p l i c a b l e i n a s p e c i f i c c a s e .

    R e f e r e n c e :

    p p p d n i s < n u m b e r > [ < n u m b e r > . . . ] c o n f i g - i f I O S

    S k i p a u t h e n t i c a t i o n e n t i r e l y f o r P P P p e r D N I S .

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    17/43

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    18/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 18

    I assume you have preauthentication already configured? By default, wesend Service-Type = Outbound-User. In 12.1(4)T and later, you canconfigure the (hidden) command "radius send service-type call-check"to change the value from Outbound-User to Call-Check. I submittedCSCdt85947 to get the command unhidden and documented. Here is therelease-note I attached:

    The command "radius send service-type call-check" is hidden. Thiscommand is available in 12.1(4)T and later and is used to change thevalue of the Service-Type RADIUS attribute the access server sendswhen doing pre-authentication. The default is to send Outbound-User(5). With this command configured, we will send Call-Check (10). Thisis useful in a multi-vendor environment as well as when migrating anexisting RADIUS database for use withe Cisco access server.

    R e f e r e n c e : C S C d t 8 5 9 4 7

    r a d i u s - s e r v e r a u t h o r i z a t i o n d e f a u l t F r a m e d - P r o t o c o l p p p c o n f i g I O S

    T h i s h i d d e n c o m m a n d a s s u m e s t h a t t h e R A D I U S F r a m e d - P r o t o c o l a t t r i b u t e i s P P P w h e n n o F r a m e d - P r o t o c o l a t t r i b u t e

    i s p r e s e n t i n a R A D I U S s e r v e r r e p l y p a c k e t .

    R e f e r e n c e : D e n n i s P e n g < d p e n g @ c i s c o . c o m > , < 2 0 0 2 0 4 0 4 1 6 5 1 4 4 . G E 5 9 1 9 @ s j - c s e - 3 2 0 . c i s c o . c o m > o n c i s c o - n a s

    r a d i u s - s e r v e r a u t h o r i z a t i o n p e r m i t m i s s i n g S e r v i c e - T y p e c o n f i g I O S

    T h i s h i d d e n c o m m a n d s e e m s t o a l l o w R A D I U S s e r v e r r e p l i e s i n w h i c h t h e S e r v i c e - T y p e a t t r i b u t e i s m i s s i n g .

    R e f e r e n c e : D e n n i s P e n g < d p e n g @ c i s c o . c o m > , < 2 0 0 2 0 4 0 4 1 6 5 1 4 4 . G E 5 9 1 9 @ s j - c s e - 3 2 0 . c i s c o . c o m > o n c i s c o - n a s

    r a d i u s - s e r v e r u n i q u e - i d e n t c o n f i g I O S

    D i r e c t l y f r o m t h e D D T S r e l e a s e n o t e :

    T h e h i d d e n c o m m a n d " r a d i u s - s e r v e r u n i q u e - i d e n t " c a n b e u s e d t o t r y t o e n s u r e t h a t R A D I U S s e s s i o n I D s a r e u n i q u e

    a c r o s s I O S b o o t s . I t w i l l h a v e t h e s i d e e f f e c t o f a u t o m a t i c a l l y w r i t i n g t h e I O S c o n f i g u r a t i o n t o N V R A M s o m e t i m e a f t e r

    b o o t i n g .

    W h e n t h e r o u t e r p a r s e s t h e c o m m a n d " r a d i u s - s e r v e r u n i q u e - i d e n t " i t s e t s t h e u n i q u e - i d e n t v a r i a b l e t o ( n + 1 ) a n d a l l

    a c c o u t i n g r e c o r d s h a v e a p r e f i x o f ( n + 1 ) . W h e n y o u l o o k a t t h e c o n f i g u r a t i o n o r w r i t e t h e c o n f i g u r a t i o n t o N V R A M , i t

    i s a l s o s h o w s " r a d i u s - s e r v e r u n i q u e - i d e n t " .

    I f t h e b o x i s r e l o a d e d , u p o n b o o t i n g t h e r o u t e r w i l l p a r s e " r a d i u s - s e r v e r u n i q u e - i d e n t " a n d t h e n s e t t h e u n i q u e - i d e n t

    v a r i a b l e t o ( n + 2 ) a n d a l l a c c o u n t i n g r e c o r d s h a v e a p r e f i x o f ( n + 2 ) . W h e n y o u l o o k a t t h e c o n f i g u r a t i o n o r w r i t e t h e

    c o n f i g u r a t i o n t o N V R A M , i s w i l l s h o w " r a d i u s - s e r v e r u n i q u e - i d e n t " .

    R e f e r e n c e : C S C d u 7 7 1 4 9

    s e r v i c e d o w n l o a d - f l c o n f i g G S R I O S

    F o r c e t h e G R P t o d o w n l o a d i t s o w n v e r s i o n o f t h e F a b r i c D o w n l o a d e r t o t h e l i n e c a r d b e f o r e a t t e m p t i n g t o s t a r t C i s c o

    I O S .

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    19/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 19

    R e f e r e n c e : h t t p : / / w w w . c i s c o . c o m / w a r p / p u b l i c / 6 3 / 1 7 . h t m l

    s e r v i c e i n t e r n a l c o n f i g I O S

    A c t i v a t e s o m e C i s c o c o m m a n d s n o r m a l l y u s e d f o r i n t e r n a l t e s t i n g .

    R e f e r e n c e :

    s e r v i c e l o g b a c k t r a c e c o n f i g I O S

    S u p p l y a b a c k t r a c e w i t h e v e r y m e s s a g e d l o g g e d . P r o b a b l y t o f i n d o u t w h e r e a c e r t a i n m e s s a g e i s g e n e r a t e d .

    R e f e r e n c e : P h r a c k , V o l u m e 0 x a , I s s u e 0 x 3 8

    s e r v i c e u n s u p p o r t e d - t r a n s c e i v e r c o n f i g I O S

    E n a b l e s t h e u s e o f t h i r d - p a r t y S F P o r G B I C m o d u l e s o n C i s c o s w i t c h e s b u t n o t e t h e w a r n i n g b e l o w .

    E x a m p l e o u t p u t :

    Switch(config)#service unsupported-transceiverWarning: When Cisco determines that a fault or defect can be traced tothe use of third-party transceivers installed by a customer or reseller,

    then, at Cisco's discretion, Cisco may withhold support under warranty ora Cisco support program. In the course of providing support for a Cisconetworking product Cisco may require that the end user install Ciscotransceivers if Cisco determines that removing third-party parts willassist Cisco in diagnosing the cause of a support issue.

    R e f e r e n c e : S a k u Y t t i o n c i s c o - n s p

    s e r v i c e - p o l i c y c l a s s i f y - p e r - f e a t u r e c o n f i g I O S

    F r o m C S C d s 4 3 6 8 3 :

    P a c k e t s s h o u l d b e t r e a t e d c o n s i s t e n t l y o n a l l p l a t f o r m s f o r a g i v e n c o n f i g u r a t i o n . T h i s f i x a d d r e s s e s t h e c o n s i s t e n c y

    i s s u e w h e n Q o S M o d C L I i s c o n f i g u r e d v i a t h e " s e r v i c e - p o l i c y " c o m m a n d o n t h e 7 5 0 0 v s t h e o t h e r I O S p l a t f o r m s .

    A f t e r t h i s f i x , e a c h p a c k e t w i l l b e m a t c h e d f o r a m a t c h i n g c l a s s u n d e r t h e p o l i c y - m a p u n t i l a m a t c h i s f o u n d . M a t c h i n g

    t e r m i n a t e s a t t h e f i r s t m a t c h i n g c l a s s a n d a l l f e a t u r e s c o n f i g u r e d u n d e r t h e c l a s s a c t o n t h e p a c k e t . I n t h e c u r r e n t I O S

    r e l e a s e s , m a t c h i n g h a p p e n s a c r o s s a l l c l a s s e s u n d e r a p o l i c y u n t i l t h e f i r s t m a t c h i n g c l a s s i s f o u n d f o r e v e r y c o n f i g u r e d

    Q o S f e a t u r e .

    T o m a i n t a i n b a c k w a r d c o m p a t i b i l i t y a h i d d e n k n o b c a l l e d " s e r v i c e - p o l i c y c l a s s i f y - p e r - f e a t u r e " k n o b i s i n t r o d u c e d .

    W h e n c o n f i g u r e d , t h e b e h a v i o u r r e v e r t s t o t h e c u r r e n t e x i s t i n g b e h a v i o u r . B y w a y o f t h i s f i x , t h e d e f a u l t b e h a v i o u r

    w i l l b e c o m m o n f o r a l l p l a t f o r m s . T h i s f i x i s g o i n g t o a f f e c t 7 2 0 0 a n d o t h e r n o n - d i s t r i b u t e d p l a t f o r m s o n l y .

    R e f e r e n c e : C S C d s 4 3 6 8 3

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    20/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 20

    s e t t r a c e < c a t e g o r y > < l e v e l > p r i v i l e g e d

    e x e c

    X I D / C a t O S

    E n a b l e t r a c i n g o f t h e s p e c i f i e d s u b s y s t e m .

    P o s s i b l e c a t e g o r y n a m e s ( m o s t c e r t a i n l y d e p e n d i n g o n C a t O S v e r s i o n ) :

    a c c t , a c l , a l l , b d d , c d p , c o n f i g , d h c p , d i a g , d n s , d o t 1 x , d r i p , d t p , d u p f l a s h , d u p n v r a m , d y n v l a n , e a r l , e n v m o n , e o b c ,

    e p l d , e s s r , e v m g r , f a b r i c , f c p , f d d i , f i b , f i l e s y s , f p o e , g a r p , g v r p , h a m g r , h t t p , i n b a n d , i p c , k e r b e r o s , l 3 a g e , l 3 s u p , l a n e ,

    l d , l l c , l t l , m b u f , m c a s t , m d g , m e m d b g , m l s , m l s m , m o d p o r t , n t p , n v s y n c , o o b , p a g p , p r o t f i l t , p r u n i n g , p r i v a t e v l a n , q d e

    q o s , r a d i u s , r e d u n d a n c y , r s f c , r s v p , r t i o s , r t i p c , r t i c c , r u n t i m e c f g , s c p , s e c u r i t y , s l p , s n m p , s p a n , s p a n t r e e , s s h , s y n c m g r

    s y n f i g , s y s l o g , t a c a c s , t e s t , t f t p , t f t p d , u d l d , v e r b , v l a n m g r , v m p s , v t p .

    < l e v e l > = 0 . . 1 5 , 0 t o d i s a b l e , d e f a u l t i s 1

    < l e v e l > = 0 . . 2 5 5 f o r i n b a n d o n l y

    A l e v e l o f 6 i s n o r m a l l y a g o o d s t a r t .

    W a r n i n g : C a n p r o d u c e l o s t s o f o u t p u t d e p e n d i n g o n y o u r c o n f i g u r a t i o n a n d t h e l e v e l c h o s e n .

    R e f e r e n c e : C o n t r i b u t e d b y F r a n c o i s B a l i g a n t < f r a n c o i s . b a l i g a n t @ b e . w a n a d o o . c o m >

    s e t t r a c e m o n i t o r { e n a b l e | d i s a b l e }

    p r i v i l e g e d

    e x e c

    X I D / C a t O S

    R e f e r e n c e : C o n t r i b u t e d b y F r a n c o i s B a l i g a n t < f r a n c o i s . b a l i g a n t @ b e . w a n a d o o . c o m >

    s h o w a c l s t a t s

    p r i v i l e g e d

    e x e c

    X I D / C a t O S

    C o m m e n t b y F r a n c o i s o n t h i s c o m m a n d :

    D i s p l a y s v a r i o u s s t a t i s t i c s a b o u t t h e A C L s u b s y s t e m a n d a s s o c i a t e d h a r d w a r e c o m p o n e n t s . T h e r e a r e s o m e i n t e r e s t i n

    c o u n t e r s l i k e c o m p i l a t i o n e r r o r s a n d a l s o u s a g e c o u n t e r s f o r v a r i o u s t a b l e s ( d i f f e r e n t m a s k s , s u b n e t s , e t c ) . U s e f u l

    w h e n y o u c a n ' t c o m m i t y o u r A C L w i t h a T C A M e r r o r m e s s a g e .

    ACL: local stats tableMessaging----------------------------------------------------------rxScpMsg: 0rxScpMsgAbort: 0rxAclMsg: 1257rxAclMsgAbort: 0aclMsgUnknownType: 0outOfSequence: 0appIdMisUse: 0intfConfError: 0msgSendFailed: 1appIdDifferAfterSwover:0ignoreRaclOverride: 1draco-id: 65535-ffffffff-ffffffff

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    21/43

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    22/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 22

    s h o w b a n f f - r e s e t

    p r i v i l e g e d

    e x e c

    X I D / C a t O S , C a t a l y s t 5 0 0 0 s e r i e s

    w i t h N F F C

    T h e r e i s a q u i e t r e c a l l o n s o m e C a t a l y s t 5 0 0 0 s e r i e s s w i t c h e s t h a t h a v e t h e E A R L 1 c h i p N F F C a n d a d a t a r a t e t h a t

    e x c e e d s 8 0 M B S a c r o s s t h e b a c k p l a n e b e c a u s e o f a d e f e c t t h a t c a u s e s t h e E C B t o r e s e t c o n t i n u o u s l y . U s u a l l y u s e r s w i l l

    r e p o r t a n e t w o r k s l o w d o w n .

    T h i s c o m m a n d w i l l d i s p l a y t h e n u m b e r o f t i m e s t h e E C B s h a v e r e s e t s i n c e l a s t p o w e r o n , a n u m b e r o f 1 f o r e a c h E C B i s

    n o r m a l . N u m b e r s i n t h e h u n d r e d s o r t h o u s a n d s m e a n y o u n e e d t o c a l l C i s c o f o r r e p l a c e m e n t b o a r d s .

    R e f e r e n c e : F r o m H e i n z U l m ' s w e b s i t e

    s h o w c a l l e r e x e c I O S

    S h o w a l o t o f i n f o r m a t i o n a b o u t c a l l s i n a N A S e n v i r o n m e n t . L o t s o f s u b c o m m a n d s h e r e .

    R e f e r e n c e :

    s h o w c h u n k [ s u m m a r y ]

    p r i v i l e g e d

    e x e c

    I O S

    T h e r e i s t h e t r a d i t i o n a l m a l l o c / f r e e m e m o r y m a n a g e m e n t i n p l a c e o n t h e c i s c o . t h e r e i s a l s o c h u n k a l l o c a t i o n . t h e

    m a i n b e n e f i t o f c h u n k a l l o c a t i o n o v e r i t s p r e d e c e s s o r i s t h a t m e m o r y o v e r h e a d i s o n l y p a i d b y t h e l a r g e c h u n k ( w h i c h

    i s t h e n c a r v e d u p i n t o s m a l l e r p i e c e s ) i n s t e a d o f b y e a c h i n d i v i d u a l m a l l o c e d b l o c k .

    R e f e r e n c e : P h r a c k , V o l u m e 0 x a , I s s u e 0 x 3 8

    s h o w c o n t r o l l e r s w i t c h e x e c C a t 2 9 0 0 X L / 3 5 0 0 X L , I O S

    T h e s h o w c o n t r o l l e r s w i t c h c o m m a n d p r o v i d e s i n d i c a t i v e i n f o r m a t i o n r e g a r d i n g t h e t o t a l s w i t c h u t i l i z a t i o n . A n

    e x a m p l e i s p r e s e n t e d b e l o w :

    Switch#sh controller switch Switch registers:

    Device Type : 0x00040273 Congestion Threshold : 0x00000E95 Peak Total Allocation : 0x0000001A Total Allocation : 0x00000000 Peak Total Bandwidth : 0x00000020

    Total Bandwidth : 0x00000000 Total Bandwidth Limit : 0x000003DE Lower Bandwidth Limit : 0x000003DE Switch Mode : 0x00040000

    Switch#

    T h e T o t a l B a n d w i d t h L i m i t v a r i e s b e t w e e n d i f f e r e n t 2 9 0 0 X L a n d 3 5 0 0 X L m o d e l s . W h e n t h e T o t a l B a n d w i d t h r e a c h e s

    t h e T o t a l B a n d w i d t h L i m i t v a l u e , t h e s w i t c h h a s r e a c h e d i t s f u l l b a n d w i d t h c a p a c i t y a n d b e g i n s t o d r o p p a c k e t s . T h e

    P e a k T o t a l B a n d w i d t h i s t h e h i g h e s t v a l u e a t t a i n e d b y t h e T o t a l B a n d w i d t h s i n c e t h e l a s t t i m e t h e s h o w c o n t r o l l e r

    s w i t c h c o m m a n d w a s e x e c u t e d . N o t e , t h e v a l u e s f o r t h e a b o v e p a r a m e t e r s a r e i n h e x a d e c i m a l .

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    23/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 23

    T h e C o n g e s t i o n T h r e s h o l d v a l u e i s u s e d a s c o n s e r v a t i v e v a l u e f o r t h e m a x i m u m g l o b a l b u f f e r u t i l i z a t i o n . W h e n t h e

    b u f f e r u t i l i z a t i o n n o t e d b y T o t a l A l l o c a t i o n r e a c h e s t h i s v a l u e , t h e s w i t c h m a y d r o p f r a m e s . T h e P e a k T o t a l A l l o c a t i o n

    v a l u e s h o w s t h e h i g h e s t v a l u e a t t a i n e d b y t h e T o t a l A l l o c a t i o n s i n c e t h e l a s t t i m e t h e s h o w c o n t r o l l e r s w i t c h

    c o m m a n d w a s e x e c u t e d . I t i s p o s s i b l e f o r t h e P e a k T o t a l A l l o c a t i o n a n d / o r t h e T o t a l A l l o c a t i o n t o b e g r e a t e r t h a n

    C o n g e s t i o n T h r e s h o l d . I f t h e T o t a l A l l o c a t i o n r e a c h e s o r i s o v e r t h e C o n g e s t i o n T h r e s h o l d a m o u n t , t h e s w i t c h i s

    e x p e r i e n c i n g c o n s i d e r a b l e n e t w o r k a c t i v i t y n e a r i t s f u l l c a p a c i t y .

    T h e g l o b a l b u f f e r u t i l i z a t i o n m a y b e a d v e r s e l y e f f e c t e d b y s e v e r a l c o n f i g u r a t i o n i s s u e s , d e s c r i b e d b e l o w :

    1 . S p e e d m i s m a t c h b e t w e e n a n i n g r e s s a n d e g r e s s p o r t ; f o r e x a m p l e , s e v e r a l 1 0 0 m e g a b i t c l i e n t s t r a n s f e r r i n g f i l e s t o a

    s e r v e r c o n n e c t e d t o t h e s w i t c h a t 1 0 m e g a b i t s , h a l f - d u p l e x .

    2 . M u l t i p l e i n p u t p o r t s f e e d i n g a s i n g l e o u t p u t p o r t .

    3 . D u p l e x m i s m a t c h o n m u l t i p l e p o r t s .

    4 . N u m e r o u s p o r t s t h a t a r e e x p e r i e n c i n g c o l l i s i o n s a n d / o r o u t p u t e r r o r s d u e t o h a l f - d u p l e x c o n f i g u r a t i o n o r o v e r -

    s u b s c r i p t i o n o f a s l o w l i n k .

    R e f e r e n c e : h t t p : / / w w w . c i s c o . c o m / w a r p / c u s t o m e r / 4 7 3 / 1 9 . h t m l

    s h o w e p c . . .

    p r i v i l e g e d

    e x e c

    I O S

    F r o m a C a t a l y s t 2 0 4 8 G - L 3 ( a l s o a p p l i e s t o t h e C a t a l y s t 4 9 0 8 G - L 3 a n d p r o b a b l y i n p a r t s t o t h e C a t a l y s t 8 5 0 0 s e r i e s ) :

    gepard#show epc ?E-PAM show comands: IF-entry IF Entry in IF-Table VC-entry VC Entry in VC-Table VLAN-entry VLAN Entry in VLAN-Table aal5 aal5 statistics acl ACL FPGA related debug commands adm Show contents of ADM in IOS age-timer Aging Timer atm-debug-status ATM debug statistics atmup_ipmcast Show Multicast VC leg to external VC mapping caller-stats Caller Stats at a merge-point caller-tags Caller Tags cam Show contents of E-PAM CAM card Show information managed by CARDcoredb show coredb

    counters Counters of all epif-ports discards discard statistics exvc-entry External VC Entry in VC-Table fe-channel FE-Channel Membership Informationfpga Access ACL FPGA resources

    freecam Free space in CAM ifmapping Interface mapping to CAM IF number ip-address Show adjacency entries in line cards ip-prefix Show IP prefix entries (compare to CEF output) ipmcast Show IP Multicast table in E-PAM CAM ipx-node Show IPX node entry in E-PAM CAM ipx-prefix Show IPX prefix in E-PAM CAM jaguar-fpga-epld Access ACL2 EPLD Addresses with WID=2 lec-ipx Show LEC Local IPX Information lsipc Show LSIPC information

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    24/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 24

    mac Show MAC address in E-PAM macfilter Show MAC filter address database mailbox Read the mailbox value mem Show contents of packet memory in E-PAM patricia Show Patricia tree in E-PAM CAM port-qos Show current port qos configuration queuing queueing statistics register print contents of EPIF registerri-register Show last reported contents of EPIF RI register

    sm Show 1483 Local static map information spd selective packet drop statistics status Status of all epif-ports switching VC switching statistics tcam TCAM related commands ucode uCode images on all epif-ports udp-flood Show LS UDP-flooding information

    S o m e o f t h e s e c o m m a n d s a r e d o c u m e n t e d a s p a r t o f t h e C a t a l y s t 8 5 4 0 d o c u m e n t a t i o n b u t a r e a l s o u s e f u l o n t h e

    C a t a l y s t 2 9 4 8 G - L 3 w h i c h s e e m s t o b e b a s e d ( a t l e a s t p a r t l y ) o n t h e s a m e h a r d w a r e p l a t f o r m a s t h e C a t a l y s t 8 5 4 0 .

    S e e : h t t p : / / w w w . c i s c o . c o m / u n i v e r c d / c c / t d / d o c / p r o d u c t / a t m / c 8 5 4 0 / 1 2 _ 1 / 1 1 _ e y / t r o u b l e / l 3 _ n e t . h t m

    R e f e r e n c e :

    s h o w e p c a c l l o o k u p { i n | o u t } . . .

    p r i v i l e g e d

    e x e c

    I O S ( C a t 2 9 4 8 G - L 3 , 4 9 0 8 G - L 3 ,

    8 5 4 0 )

    D i s p l a y s w h e t h e r t h e A C L w o u l d p e r m i t o r d e n y a s p e c i f i c I P p a c k e t o n a p a r t i c u l a r i n t e r f a c e .

    R e f e r e n c e : h t t p : / / w w w . c i s c o . c o m / u n i v e r c d / c c / t d / d o c / p r o d u c t / l 3 s w / 8 5 4 0 / 1 2 _ 1 / l h o u s e / s w _ c o n f g / 8 5 0 0 a c l . h t m

    s h o w e p c a c l t c a m 2 a c l i n t e r f a c e < i n t e r f a c e > { i n | o u t }

    p r i v i l e g e d

    e x e c

    I O S ( C a t 2 9 4 8 G - L 3 , 4 9 0 8 G - L 3 ,

    8 5 4 0 )

    D i s p l a y s t h e A C L e n t r i e s p r o g r a m m e d i n t h e T C A M f o r a p a r t i c u l a r i n t e r f a c e .

    R e f e r e n c e : h t t p : / / w w w . c i s c o . c o m / u n i v e r c d / c c / t d / d o c / p r o d u c t / l 3 s w / 8 5 4 0 / 1 2 _ 1 / l h o u s e / s w _ c o n f g / 8 5 0 0 a c l . h t m

    s h o w e p c i p - a d d r e s s i n t e r f a c e < i n t e r f a c e > a l l - e n t r i e s

    p r i v i l e g e d

    e x e c

    I O S ( C a t 2 9 4 8 G - L 3 )

    S h o w s t h e I P a d j a c e n c i e s i n s t a l l e d i n t h e C A M h a r d w a r e :

    gepard#show epc ip-address interface FastEthernet 1 all-entriesIPaddr: 192.168.60.116 MACaddr: 0090.27b7.24d7 FastEthernet14(17)IPaddr: 192.168.60.117 MACaddr: 0090.27d1.d47a FastEthernet15(18)IPaddr: 192.168.60.112 MACaddr: 00d0.b720.6fc9 FastEthernet10(13)IPaddr: 192.168.60.113 MACaddr: 00d0.b720.750f FastEthernet11(14)

    IPaddr: 192.168.60.114 MACaddr: 00d0.b720.7357 FastEthernet12(15)IPaddr: 192.168.60.115 MACaddr: 00d0.b720.755e FastEthernet13(16)IPaddr: 192.168.60.125 MACaddr: 0050.0457.edbf FastEthernet19(22)IPaddr: 10.232.4.202 MACaddr: 0009.b7b4.0700 Port-channel1.2(60)IPaddr: 192.168.60.120 MACaddr: 0090.27c3.f042 FastEthernet5(8)IPaddr: 192.168.60.100 MACaddr: 0002.b3ac.5470 GigabitEthernet50(53)IPaddr: 192.168.60.101 MACaddr: 0002.b3ac.5470 GigabitEthernet50(53)IPaddr: 192.168.60.102 MACaddr: 0090.27d1.88bf FastEthernet4(7)IPaddr: 192.168.60.103 MACaddr: 0090.27d1.88bf FastEthernet4(7)IPaddr: 192.168.60.99 MACaddr: 6080.0f3c.0000IPaddr: 192.168.60.110 MACaddr: 0090.27dd.f9a6 FastEthernet8(11)IPaddr: 192.168.60.111 MACaddr: 00d0.b708.adb3 FastEthernet9(12)IPaddr: 192.168.61.21 MACaddr: 0800.20ee.4ead FastEthernet46(49)IPaddr: 192.168.60.20 MACaddr: 0030.6e11.0157 FastEthernet37(40)IPaddr: 192.168.60.21 MACaddr: 0030.6e11.139f FastEthernet38(41)IPaddr: 192.168.60.22 MACaddr: 0002.b3ac.5454 GigabitEthernet49(52)

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    25/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 25

    IPaddr: 192.168.61.22 MACaddr: 0800.20ec.6709 FastEthernet46(49)IPaddr: 192.168.60.23 MACaddr: 0002.b3ac.53f5 FastEthernet43(46)IPaddr: 192.168.60.30 MACaddr: 00e0.18c2.baf9 FastEthernet21(24)IPaddr: 192.168.60.25 MACaddr: 0030.6e12.099a FastEthernet39(42)IPaddr 192.168.60.26 missing[...] Total number of IP adjacency entries: 46 Missing IP adjacency entries: 1

    R e f e r e n c e : h t t p : / / w w w . c i s c o . c o m / w a r p / p u b l i c / 4 7 3 / 4 8 . h t m l

    s h o w e p c p a t r i c i a < i n g r e s s - i n t e r f a c e > i p u c a s t d e t a i l

    p r i v i l e g e d

    e x e c

    I O S

    S e e m s t o s h o w t h e F I B s t o r e d i n t h e C A M m e m o r y o f a s p e c i f i c i n g r e s s p o r t .

    E x a m p l e o u t p u t p r o v i d e d b y H a n k :

    cs-c2948gl3-13a#sh epc patricia interface FastEthernet 3 ipucast detail1# Synthetic entry: CAM location: 0x202B NAP location: 0x202C IP Prefix:224.0.0.0 MySubnet LB:Disabled Network Entry:Valid2# Synthetic entry: CAM location: 0x2038 NAP location: 0x0000

    3# Synthetic entry: CAM location: 0x202F NAP location: 0x2035 IP Prefix:192.168.128.255 MySubnet LB:Disabled Network Entry:Valid4# HOST Entry CAM location: 0x2030 NAP location: 0x0000 IP addr:192.168.128.2 Host IF Number:6 Entry:Valid Mac Addr:0090.a65c.63ff5# Synthetic entry: CAM location: 0x2050 NAP location: 0x2032 IP Prefix:192.168.128.0 MySubnet LB:Disabled Network Entry:Valid IP Prefix:192.168.128.1 MySubnet LB:Disabled Host Entry:Valid6# Synthetic entry: CAM location: 0x203C NAP location: 0x2037 IP Prefix:192.168.105.0 MySubnet LB:Disabled Network Entry:Valid IP Prefix:192.168.128.0 MySubnet LB:Disabled Network Entry:Valid7# Synthetic entry: CAM location: 0x203F NAP location: 0x203E IP Prefix:192.168.105.255 MySubnet LB:Disabled Network Entry:Valid8# HOST Entry CAM location: 0x2046 NAP location: 0x0000 IP addr:192.168.105.8 Host IF Number:5 Entry:Valid Mac Addr:0001.968e.33b09# Synthetic entry: CAM location: 0x2045 NAP location: 0x2040 IP Prefix:192.168.105.2 LB:Disabled Network Entry:Valid Nexthop CAM locations: 0x2046 0x0000 Nexthop 1: IP addr:192.168.105.8 Host Entry:Valid FastEthernet2 (5) Mac Addr:0001.968e.33b010# Synthetic entry: CAM location: 0x2033 NAP location: 0x203D IP Prefix:192.168.105.0 MySubnet LB:Disabled Network Entry:Valid IP Prefix:192.168.105.1 MySubnet LB:Disabled Host Entry:Valid11# CAM location: 0x201B ROOT IP Patricia Tree Summary: Number of IP entries: 18 Number of Host Entries: 2 Number of Network Entries: 10 Number of Good Synthetic entries: 7 Number of Dirty Synthetic entries: 1

    R e f e r e n c e : C o n t r i b u t e d b y H a n k N u s s b a c h e r < h a n k @ a t t . n e t . i l >

    s h o w e p c p a t r i c i a < i n t e r f a c e > m a c

    p r i v i l e g e d

    e x e c

    I O S ( C a t 2 9 4 8 G - L 3 , 4 9 0 8 G - L 3 )

    L a y e r 2 f o r w a r d i n g t a b l e e n t r i e s f o r a g i v e n M A C a d d r e s s i n a b r i d g e g r o u p a r e v i e w e d u s i n g t h e s h o w b r i d g e b r i d g e -

    g r o u p - n u m b e r c o m m a n d .

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    26/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 26

    H o w e v e r , b r i d g e t a b l e e n t r i e s o n t h e C a t a l y s t 2 9 4 8 G - L 3 a n d 4 9 0 8 G - L 3 s w i t c h e s a r e a c t u a l l y f o r m e d i n t e r n a l l y o f a t

    l e a s t t w o e n t r i e s , o n e o n t h e s o u r c e i n t e r f a c e ( w h e r e t h e d e v i c e w i t h t h a t M A C r e s i d e s ) a n d o n e o n e a c h d e s t i n a t i o n

    i n t e r f a c e ( t h e i n t e r f a c e w h e r e , b a s e d o n t h e d e s t i n a t i o n M A C i n t h e f r a m e , t h e t r a f f i c s o u r c e d f r o m t h a t M A C i s

    d e s t i n e d ) . T h i s i s b e c a u s e t h e l e a r n i n g p r o c e s s f o r p o p u l a t i n g t h e b r i d g i n g t a b l e s o n t h e C a t a l y s t 2 9 4 8 G - L 3 a n d 4 9 0 8 G

    L 3 s w i t c h e s i s a c t u a l l y d i s t r i b u t e d o n a p e r - p o r t b a s i s r a t h e r t h a n o n a s w i t c h - w i d e b a s i s .

    gepard#show epc patricia interface FastEthernet 9 mac1# MAC addr:0000.0000.0000 VC:0 Entry:

    2# MAC addr:0900.2b01.0001 MyMAC3# MAC addr:0180.c200.0000 MyMAC4# MAC addr:0100.5e00.0006 MyMAC5# MAC addr:0100.5e00.0005 MyMAC6# MAC addr:0100.5e00.0002 MyMAC7# MAC addr:0100.0ccc.cccd MyMAC8# MAC addr:0100.0ccc.cccc MyMAC9# MAC addr:00e0.18c2.baf9 IF Number:24 Entry:Remote10# MAC addr:00d0.b720.755e IF Number:16 Entry:Remote11# MAC addr:00d0.b720.7357 IF Number:15 Entry:Remote12# MAC addr:00d0.b720.6fc9 IF Number:13 Entry:Remote13# MAC addr:00d0.b720.750f IF Number:14 Entry:Remote14# MAC addr:0090.27dd.f9a6 IF Number:11 Entry:Remote15# MAC addr:0090.27d1.d47a IF Number:18 Entry:Remote16# MAC addr:0090.27c3.f042 IF Number:8 Entry:Remote17# MAC addr:0090.27b7.24d7 IF Number:17 Entry:Remote

    18# MAC addr:00d0.b708.adb3 IF Number:12 Entry:Local19# MAC addr:0030.6e12.099b IF Number:59 Entry:Remote[...]29# MAC addr:0002.b3ac.5474 IF Number:59 Entry:Remote30# MAC addr:0003.9f17.980f HsrpMAC31# MAC addr:0001.428b.d280 IF Number:4 Entry:Remote32# MAC addr:0000.0c07.ac00 HsrpMACTotal number of MAC entries: 32

    R e f e r e n c e : h t t p : / / w w w . c i s c o . c o m / w a r p / p u b l i c / 4 7 3 / 4 7 . h t m l

    s h o w i d b

    p r i v i l e g e d

    e x e c

    I O S

    S h o w l i s t o f a s s i g n e d s o f t w a r e u n d h a r d w a r e I n t e r f a c e D e s c r i p t o r B l o c k s ( I D B s ) . L a t e r I O S v e r s i o n s s h o w t h e m a x i m u m

    n u m b e r o f s o f t w a r e I D B s , t o o .

    vxr15#sh idb

    Maximum number of IDBs 3000

    26 SW IDBs allocated (2368 bytes each)

    22 HW IDBs allocated (4064 bytes each)HWIDB#1 1 FastEthernet0/0 (HW IFINDEX, Ether)...

    R e f e r e n c e :

    s h o w i n b a n d

    p r i v i l e g e d

    e x e c

    X I D / C a t O S

    C o m m e n t b y F r a n c o i s :

    T h i s c o m m a n d o u t p u t s s t a t i s t i c s a b o u t t h e i n t e r n a l C a t a l y s t 6 0 0 0 m e m o r y c h a n n e l ( i n t e r f a c e b e t w e e n t w o s u p e r v i s o r

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    27/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 27

    i n a r e d u n d a n t c o n f i g u r a t i o n ) . C a n h e l p t o d i a g n o s e t h i s k i n d o f e r r o r : ' I n b a n d P i n g P r o c e s s F a i l u r e : M o d u l e 1 n o t

    r e s p o n d i n g o v e r i n b a n d ' .

    Inband FX1000 Control Information

    General Ctrl Regs: RegsBase: 42000000 DevCtrl: 003C0001 DevStatus: 0000000F TxCtrl: 000400FA RxCtrl: 0000821E

    Tx Ctrl Regs: TxDBase: 019AF000 TxDSize: 00002000 TxDHead: 383 TxDTail: 383 TxIpg: 00A00810

    Rx Ctrl Regs: RxDBase: 019AA000 RxDSize: 00004000 RxDHead: 993 RxDTail: 990

    Inband PCI Information

    DeviceID: 1000 VendorID: 8086 Status: 0200 Command: 0116 ClassCode: 020000 Revision: 03 Latency: FC CacheLine: 08 BaseAddr: 42000004NonSwapAddr: 00000000 SwapAddr: 02000000

    Inband Driver Information

    Transmit: FirstTxD: A19AF000( 0) LastTxD: A19B0FF0( 511) TxHead: A19B0850( 389) TxTail: A19B0850( 389) FreeTxDs: 00000512 Receive: FirstRxD: A19AA000( 0) LastRxD: A19ADFF0(1023) RxHead: A19ADDF0( 991) RxTail: A19ADDE0( 990) FreeRxDs: 00001023 System: SpurIntrs: 00000000 OutofMbufs: 00000000 TotalMbufs: 00013088 TotalMCls: 00005536 FreeMbufs: 00011532 FreeMCls: 00004043

    MacAddr: 00D0017957FF Resynch: 00000000

    Inband FX1000 Statistics

    Transmit: TxPkts: 61337989 TxBytes: 2412393989 Inband Stuck Count: 00000000 Pkts/Sec: 00000000 QueuedPkts: 00000000 LateColl: 00000000 ExcessColl: 00000000 Ovfl: 00000000 OvflRate: 00000000 JmboPktDrp: 00000000 MaxPktRcvd: 00000000

    Detail Tx Pkt Info (clear on read) 64: 00000000 65-127: 50108072 128-255: 04559900 256-511: 00910493

    512-1023: 00000600 1024-1522: 00988696 Bcast: 00000000 Mcast: 00000033 # pkts: 56567761

    Receive: RxPkts: 43941855 RxBytes: 2483893904 Pkts/Sec: 00000000 SeqErrInt: 00000000 Ovfl: 00000000 OvflRate: 00000000 OvInt: 00000000 OvIntRate: 00000000 CrcErrs: 00000000 SymbErrs: 00000000 ISLCrcErrs: 00000000 SeqErrs: 00000000 DescOv: 00000000 DescOvRate: 00000000 LenErrs: 00314103 DefrPkts: 00000000

    Detail Rx Pkt Info (clear on read) 64: 00000000 65-127: 17144848 128-255: 25105957 256-511: 00849533

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    28/43

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    29/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 29

    8 Y GigabitEthernet4/0/0 194.77.146.254 0 9 Y GigabitEthernet0/0/0 195.244.119.164 0 10 Y GigabitEthernet4/0/0 194.77.146.254 0 11 Y GigabitEthernet0/0/0 195.244.119.164 0 12 Y GigabitEthernet4/0/0 194.77.146.254 0 13 Y GigabitEthernet0/0/0 195.244.119.164 0 14 Y GigabitEthernet4/0/0 194.77.146.254 0 15 Y GigabitEthernet0/0/0 195.244.119.164 0 16 Y GigabitEthernet4/0/0 194.77.146.254 0

    R e f e r e n c e : P r o j e c t D O T U

    s h o w i p e i g r p e v e n t s [ < a s - n u m > ] [ < s t a r t - n u m > ] [ < e n d - n u m > ]

    p r i v i l e g e d

    e x e c

    I O S

    S h o w h i s t o r y o f e v e n t s f o r t h e E I G R P r o u t i n g p r o c e s s .

    R e f e r e n c e :

    s h o w i p e i g r p s i a - e v e n t

    p r i v i l e g e d

    e x e c

    I O S

    S h o w S I A ( s t u c k i n a c t i v e ) e v e n t s f r o m t h e e v e n t h i s t o r y .

    R e f e r e n c e :

    s h o w i p e i g r p t i m e r s [ < a s - n u m > ]

    p r i v i l e g e d

    e x e c

    I O S

    L i s t o f t i m e r s a s s o c i a t e d w i t h a E I G R P r o u t i n g p r o c e s s .

    R e f e r e n c e :

    s h o w i p o s p f b a d - c h e c k s u m

    p r i v i l e g e d

    e x e c

    I O S

    R e f e r e n c e :

    s h o w i p o s p f d e l e t e - l i s t

    p r i v i l e g e d

    e x e c

    I O S

    R e f e r e n c e :

    s h o w i p o s p f e v e n t s

    p r i v i l e g e d

    e x e c

    I O S

    S h o w h i s t o r y o f e v e n t s f o r t h e O S P F r o u t i n g p r o c e s s .

    R e f e r e n c e :

    s h o w i p o s p f m a x a g e - l i s t

    p r i v i l e g e d

    e x e c

    I O S

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    30/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 30

    R e f e r e n c e :

    s h o w i p o s p f s t a t i s t i c

    p r i v i l e g e d

    e x e c

    I O S

    S h o w t i m i n g s t a t i s t i c s a b o u t t h e S P F a l g o r i t h m .

    R e f e r e n c e :

    s h o w i p r o u t e h a s h e x e c I O S

    D a v i d w r i t e s : " T h e o n l y u s e f u l n e s s o f t h i s s e e m s t o b e t o i d e n t i f y t h e l a r g e r h a s h b u c k e t s a n d h e n c e p r o v i d e f e e d b a c k

    t o C i s c o i f t h e h a s h a l g o r i t h m i s p r o d u c i n g a p a r t i c u l a r l y b a d d i s t r i b u t i o n i n t o s o m e b u c k e t s . "

    E x a m p l e o u t p u t :

    router#show ip route hash

    nettable:Bucket Majornets Subnettted Subnets

    ------------------------------------------0 17 1 3[...]4095 18 0 0

    supernettable:

    0 16[...]4095 6

    Routing table summary:Total nets: 159234Total major nets: 67731Total super nets: 38199

    R e f e r e n c e : C o n t r i b u t e d b y D a v i d L u y e r < d a v i d _ l u y e r @ p a c i f i c . n e t . a u >

    s h o w i p r o u t e p r o f i l e

    p r i v i l e g e d

    e x e c

    I O S

    S e e " i p r o u t e p r o f i l e " .

    aspen#show ip route profileIP routing table change statistics:Frequency of changes in a 5 second sampling interval

    -------------------------------------------------------------Change/ Fwd-path Prefix Nexthop Pathcount Prefixinterval change add change change refresh-------------------------------------------------------------0 196 215 433 490 3941 99 98 34 0 272 54 45 10 0 273 22 19 5 0 24 17 17 1 1 05 51 48 2 0 010 18 16 4 0 015 8 8 0 0 020 3 3 2 0 025 4 4 0 0 4130 8 9 0 0 0[...]

  • 7/21/2019 Elemental Network Consulting - Undocumented Cisco Commands

    31/43

    8/22/2014 Elemental Network Consulting - Undocumented Cisco Commands

    http://www.elemental.net/~lf/undoc/ 31

    3905 1 1 0 0 07030 1 1 0 0 010155 0 0 0 0 013280 0 0 0 0 0Overflow 5 5 0 0 0

    R e f e r e n c e : C S C d i 7 6 6 6 2

    s h o w i p s p d c o n f i g I O S

    S h o w s S P D m o d e , c u r r e n t a n d m a x s i z e o f I P p r o c e s s l e v e l i n p u t q u e u e , a n d s t a t u s o f e x t e r n a l ( S S E ) S P D . S P D m o d e

    w i l l b e o n e o f d i s a b l e d , n o r m a l , r a n d o m d r o p , o r f u l l d r o p . T h e p r i o r i t y q u e u e i s w h e r e h i g h - p r e c e d e n c e p a c k e t s g o .

    labR4#show ip spdCurrent mode: normal.Queue min/max thresholds: 73/74, Headroom: 100, Extended Headroom: 10IP normal queue: 0, priority queue: 0.SPD special drop mode: none

    R e f e r e n c e : C i s c o I S P E s s s e n t i a l s

    s h o w i s d n m e m o r y d e t a i l e x e c I O S

    S h o w s a d d i t i o n a l m e m o r y i n f o r m a t i o n .

    R e f e r e n c e :

    s h o w i s d n s e r v i c e [ < d s l > | < i n t e r f a c e - n a m e > ] d e t a i l e x e c I O S

    S h o w s a d d i t i o n a l t a b l e n a m e d " S o u r c e o f S e r v i c e s t a t e " a n d o u t p u t s t h e f r e e c h a n n e l m a s k ( a l s o s h o w n b y s h o w i s d n

    s t