Re: Debug ip packet

From: Bob Sinclair (bsinclair@netmasterclass.net)
Date: Fri Oct 01 2004 - 11:16:13 GMT-3


Tim,

You can set a debug "condition" that will show matches for only a specified
interface. The downside is that you MIGHT forget to explicitly remove it
when your done! Then subsequent debugs will only show for the originally
set condtion. Undebug all does NOT remove the interface condition. It must
be explicitly removed.

R1#
R1#
R1#debug interface f0/0
Condition 1 set
R1#debug ip packet 101
IP packet debugging is on for access list 101
R1#sh debug
Generic IP:
  IP packet debugging is on for access list 101

R1#sh debug condition

Condition 1: interface Fa0/0 (1 flags triggered)
        Flags: Fa0/0

R1#no debug interface f0/0
This condition is the last interface condition set.
Removing all conditions may cause a flood of debugging
messages to result, unless specific debugging flags
are first removed.

Proceed with removal? [yes/no]: yes
Condition 1 has been removed
R1#
R1#u all
All possible debugging has been turned off
R1#

Bob Sinclair
CCIE #10427, CISSP, MCSE
www.netmasterclass.net

----- Original Message -----
From: "ccie2be" <ccie2be@nyc.rr.com>
To: "Group Study" <ccielab@groupstudy.com>
Sent: Friday, October 01, 2004 9:33 AM
Subject: Debug ip packet

> Hi guys,
>
> I hope this isn't a totally stupid question, but...
>
> Is there a way to configure debug ip packet so that I can see just the
> packets
> coming in or leaving a given interface?
>
> I know an acl an be attached to debug ip packet but I can't figure out a
> way
> to specify just a single interface.
>
> Thanks alot, Tim
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Nov 06 2004 - 17:11:41 GMT-3