Cisco Debug

Aus xinux.net
Zur Navigation springen Zur Suche springen


disable cef

  • no ip cef

disable router-cache

  • no ip route-cache

debug ip packets

  • debug ip icmp
  • terminal monotor

abschalten des debugging

  • no debug all


For other I used the "no ip cef" command globally and confirmed CEF was not running by using "show ip cef" and "show ip cef interface " and then by disabling, on a per interface basis, route caching using the interface command "no ip route-cache"

Links


Troubleshooting

Let's make the assumption that as the network administrator you only have access to the CaptureRouter and you need to prove if the packet loss is on that device. The first step is to determine if the packets are actually coming in to the CaptureRouter. Previously one could use things such as an ingress ACL and watch hit counters or configure netflow on the ingress interface. This exercise is to show how to use the Packet Capture feature to isolate the loss.

   All of the commands are done at the EXEC prompt so configuration access isn't required unless you need to define an access-list (ACL) to make the capture more granular.
   The following steps are needed to capture the frames: 
  • Define a capture buffer -> This is where the frames are stored once captured
  • Define a capture point -> This gives the user the ability to be more granular on what interface, switching path the frames are captured
  • Associate the capture point with the capture buffer -> You can associate multiple points to the same buffer
  • Start the capture


  • View the capture and/or export it to a PCAP file for offline analysis

Links


debug algemein

debug kann hohe cpu auslstung verusachen

debug interface

  • debug aktiviren für ein interface
debug interface FA1/0/9
Condition 1 set
  • debug deaktiviren für ein interface
switch-gelb#no debug interface FA1/0/9
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

debdebug interfaces interfaces

  • debug kann auf mehreren interfaces gleizeitg benutzt werden
switch-gelb#debug interface FA1/0/9   
Condition 1 set
switch-gelb#debug interface FA1/0/10
Condition 2 set
switch-gelb#debug interface FA1/0/11
Condition 3 set

show debug

  • zeigt uns die interfaces im debug modus an
show debug
switch-gelb#debug interface FA1/0/9   
Condition 1 set
switch-gelb#debug interface FA1/0/10
Condition 2 set
switch-gelb#debug interface FA1/0/11
Condition 3 set


debug ip ospf hello