cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1464
Views
0
Helpful
13
Replies

debug status not display

ntmanjunath
Level 1
Level 1

Hi

I am trying to debug bgp all and its not display any thing, is there any configuration for the same.

interface Loopback0

ip address 192.168.40.40 255.255.255.255

!

interface FastEthernet0

ip address 10.97.37.211 255.255.255.0

speed auto

!

interface Serial0

ip address 192.168.30.1 255.255.255.0

encapsulation frame-relay

frame-relay interface-dlci 200

frame-relay lmi-type ansi

!

interface Serial1

ip address 172.26.8.1 255.255.255.0

!

router bgp 65003

no synchronization

bgp log-neighbor-changes

redistribute connected

neighbor 192.168.40.30 remote-as 65003

neighbor 192.168.40.30 update-source Loopback0

no auto-summary

!

ip route 192.168.40.0 255.255.255.0 192.168.30.2

ip route 192.168.40.0 255.255.255.255 192.168.30.2

!

!

no ip http server

no ip http secure-server

!

Regards,

13 Replies 13

ankbhasi
Cisco Employee
Cisco Employee

Hi Manju,

Have you telnetted into the router/switch and then enabling debug? If yes issue a command "terminal monitor" and then update if you see anything in debugs or not?

Regards,

Ankur

*Pls rate all helpfull post

Hi Ankur,

Yes am telnetted to router.

Where to configure this command ? "terminal monitor"

Regards,

cisco_lad2004
Level 5
Level 5

in addition to previous reply , u may want to logg to memory. add commmand "logging buffered X" where X is the memory amount you choose ( I have it set to 100,000.

HTH

Sam

Hi,

I added the command "logging buffered 100,000 "and still its not showing anything.

regards,

did u tried the terminal monitor

router#terminal monitor

router#terminal no monitor

try "logging monitor debugging "

in ur case Router(config)# logging monitor 7 ( to include debugging).

HTH

Sam

I added the configuration and still the problem is same.

AIRTEL-PE1(config)#logging monitor ?

<0-7> Logging severity level

alerts Immediate action needed (severity=1)

critical Critical conditions (severity=2)

debugging Debugging messages (severity=7)

discriminator Establish MD-Console association

emergencies System is unusable (severity=0)

errors Error conditions (severity=3)

filtered Enable filtered logging

informational Informational messages (severity=6)

notifications Normal but significant conditions (severity=5)

warnings Warning conditions (severity=4)

xml Enable logging in XML

AIRTEL-PE1(config)#logging monitor 7

AIRTEL-PE1(config)#logging monitor debb

AIRTEL-PE1(config)#logging monitor deb

AIRTEL-PE1(config)#logging monitor debugging

AIRTEL-PE1(config)#logging monitor ?

<0-7> Logging severity level

alerts Immediate action needed (severity=1)

critical Critical conditions (severity=2)

debugging Debugging messages (severity=7)

discriminator Establish MD-Console association

emergencies System is unusable (severity=0)

errors Error conditions (severity=3)

filtered Enable filtered logging

informational Informational messages (severity=6)

notifications Normal but significant conditions (severity=5)

warnings Warning conditions (severity=4)

xml Enable logging in XML

AIRTEL-PE1(config)#logging monitor 7

AIRTEL-PE1(config)#logging monitor debb

AIRTEL-PE1(config)#logging monitor deb

AIRTEL-PE1(config)#logging monitor debugging

AIRTEL-PE1(config)#logging monitor ?

<0-7> Logging severity level

alerts Immediate action needed (severity=1)

critical Critical conditions (severity=2)

debugging Debugging messages (severity=7)

discriminator Establish MD-Console association

emergencies System is unusable (severity=0)

errors Error conditions (severity=3)

filtered Enable filtered logging

informational Informational messages (severity=6)

notifications Normal but significant conditions (severity=5)

warnings Warning conditions (severity=4)

xml Enable logging in XML

AIRTEL-PE1(config)#logging monitor 7

AIRTEL-PE1(config)#logging monitor debb

AIRTEL-PE1(config)#logging monitor deb

AIRTEL-PE1(config)#logging monitor debugging

pls paste a show logg output, just 1st few lines.

Thanks

Sam

Please see the output.

AIRTEL-PE1#sh logging

Syslog logging: enabled (1 messages dropped, 0 messages rate-limited,

0 flushes, 0 overruns, xml disabled, filtering disabled)

No Active Message Discriminator.

No Inactive Message Discriminator.

Console logging: level debugging, 3703 messages logged, xml disabled,

filtering disabled

Monitor logging: level debugging, 0 messages logged, xml disabled,

filtering disabled

Buffer logging: level debugging, 17 messages logged, xml disabled,

filtering disabled

Logging Exception size (4096 bytes)

Count and timestamp logging messages: disabled

No active filter modules.

Trap logging: level informational, 3349 message lines logged

Log Buffer (100000 bytes):

Ur config looks ok, u are getting messages on console logging and buffered but not on monitor mode.

1-are there no BGP log messages when u do show log ?

2-debug while u have terminal monitor on.

3-try to create BGP logs by creating a dummy session where there is no other BGP peer at other end.

HTH

Sam

Please see the output.

Syslog logging: enabled (1 messages dropped, 0 messages rate-limited,

0 flushes, 0 overruns, xml disabled, filtering disabled)

No Active Message Discriminator.

No Inactive Message Discriminator.

Console logging: level debugging, 3704 messages logged, xml disabled,

filtering disabled

Monitor logging: level debugging, 0 messages logged, xml disabled,

filtering disabled

Buffer logging: level debugging, 18 messages logged, xml disabled,

filtering disabled

Logging Exception size (4096 bytes)

Count and timestamp logging messages: disabled

No active filter modules.

Trap logging: level informational, 3350 message lines logged

u must have some lines in log, since I see

"Buffer logging: level debugging, 18 messages logged, xml disabled, "

Hi,

Anything I have to do in this configuration ?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card