------ --------
| R1|----------------------------| R2 |
------ --------
with *R1 serial 10.1.1.1/24* and *R2 serial 10.1.1.2/24 *
I was trying to watch BGP behave, when timers changed.
it was all fine, until this started, the BGP peering getting flapped.
THE POINT IS THE BGP PEERING GETS RESET ONLY WHEN THE COMMAND ' *SH RUN |
S R B'* IS USED, NO MATTER ON WHICH ROUTER.
there is not much configuration to debug, its just a pattern. THOUGH I TRIED
IT ON GNS3 AND DIDN'T RELOADED THE ROUTERS :)
THE OUTPUT IS PASTED BELOW TOO.
the configuration on R2 is
R2#sh run | s r b
router bgp 2
no synchronization
bgp log-neighbor-changes
neighbor 10.1.1.1 remote-as 1
neighbor 10.1.1.1 timers 1 3
no auto-summary
* I used a neighbor specific command to alter timers, in R2.*, but
timers under bgp process in R1
and for R1 i'm copying the CLI content here, *SORRY FOR ITS QUITE EXTENDED*-
R1(config)#
R1(config)#
R1(config)#router bgp 1
R1(config-router)#timers 10 30 3
^
% Invalid input detected at '^' marker.
R1(config-router)#timers bgp 10 30 3
R1(config-router)#exit
R1(config)#do clear ip
*Mar 1 00:35:56.955: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#
R1(config)#
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 00:39:42.591: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
*Mar 1 00:39:42.591: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#do sh ip bgp neigh 1
*Mar 1 00:40:11.043: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up .
R1(config)#do sh ip bgp neigh 10.1.1.2
BGP neighbor is 10.1.1.2, remote AS 2, external link
BGP version 4, remote router ID 10.1.1.2
BGP state = Established, up for 00:00:09
Last read 00:00:00, last write 00:00:00, hold time is 3, keepalive
interval is 1 seconds
Configured hold time is 30,keepalive interval is 10 seconds, Minimum
holdtime from neighbor is 3 seconds
Neighbor capabilities:
Route refresh: advertised and received(old & new)
Address family IPv4 Unicast: advertised and received
Message statistics:
InQ depth is 0
OutQ depth is 0
Sent Rcvd
Opens: 45 45
Notifications: 43 0
Updates: 0 0
Keepalives: 928 923
Route Refresh: 2 1
Total: 995 985
Default minimum time between advertisement runs is 30 seconds
For address family: IPv4 Unicast
BGP table version 1, neighbor version 1/0
Output queue size: 0
R1(config)#
R1(config)#
R1(config)#
R1(config)#do debug ip bgp keep
BGP keepalives debugging is on for address family: IPv4 Unicast
R1(config)#
*Mar 1 00:40:48.243: BGP: 10.1.1.2 received KEEPALIVE, length (excl.
header) 0
*Mar 1 00:40:49.059: BGP: 10.1.1.2 sending KEEPALIVE (io)
*Mar 1 00:40:49.063: BGP: 10.1.1.2 received KEEPALIVE, length (excl.
header) 0
R1(config)#
*Mar 1 00:40:50.035: BGP: 10.1.1.2 sending KEEPALIVE (io)
*Mar 1 00:40:50.039: BGP: 10.1.1.2 received KEEPALIVE, length (excl.
header) 0
R1(config)#
*Mar 1 00:40:51.059: BGP: 10.1.1.2 sending KEEPALIVE (io)
*Mar 1 00:40:51.063: BGP: 10.1.1.2 received KEEPALIVE, length (excl.
header) 0
*Mar 1 00:40:52.051: BGP: 10.1.1.2 sending KEEPALIVE (io)
*Mar 1 00:40:52.055: BGP: 10.1.1.2 received KEEPALIVE, length (excl.
header) 0
R1(config)#
*Mar 1 00:40:53.043: BGP: 10.1.1.2 sending KEEPALIVE (io)
*Mar 1 00:40:53.047: BGP: 10.1.1.2 received KEEPALIVE, length (excl.
header) 0
*Mar 1 00:40:54.019: BGP: 10.1.1.2 sending KEEPALIVE (io)
*Mar 1 00:40:54.023: BGP: 10.1.1.2 received KEEPALIVE, length (excl.
header) 0
R1(config)#do u all
All possible debugging has been turned off
R1(config)#
*Mar 1 00:40:55.043: BGP: 10.1.1.2 sending KEEPALIVE (io)
*Mar 1 00:40:55.051: BGP: 10.1.1.2 received KEEPALIVE, length (excl.
header) 0
*Mar 1 00:40:56.019: BGP: 10.1.1.2 sending KEEPALIVE (io)
*Mar 1 00:40:56.023: BGP: 10.1.1.2 received KEEPALIVE, length (excl.
header) 0
R1(config)#
R1(config)#
R1(config)#
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 00:42:17.399: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
*Mar 1 00:42:17.399: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#
*Mar 1 00:42:46.467: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 00:51:10.899: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
*Mar 1 00:51:10.899: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#
*Mar 1 00:51:42.911: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#
R1(config)#
R1(config)#
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 00:54:41.083: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
R1(config)#
*Mar 1 00:54:41.083: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#
*Mar 1 00:55:16.095: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#
R1(config)#sh ip bgp summ
^
% Invalid input detected at '^' marker.
R1(config)#do sh ip bgp summ
BGP router identifier 10.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.1.1.2 4 2 1903 1919 1 0 0 00:01:58 0
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 00:57:26.411: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
*Mar 1 00:57:26.411: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#
*Mar 1 00:57:57.859: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 00:59:17.111: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
*Mar 1 00:59:17.111: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#
*Mar 1 00:59:44.951: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#
--------------------------HERE
THE SAME COMMAND SH RUN WAS USED ON R2
*Mar 1 01:00:13.283: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
R1(config)#
*Mar 1 01:00:13.283: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#
*Mar 1 01:00:47.719: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 01:01:12.299: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
R1(config)#
*Mar 1 01:01:12.299: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#
*Mar 1 01:01:40.131: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 01:01:55.675: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
*Mar 1 01:01:55.675: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#
*Mar 1 01:02:26.547: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#do sh ip bgp summ
BGP router identifier 10.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.1.1.2 4 2 2080 2108 1 0 0 00:00:18 0
R1(config)#do ping 10.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/54/112 ms
R1(config)#do sh ip bgp summ
BGP router identifier 10.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.1.1.2 4 2 2125 2153 1 0 0 00:01:03 0
R1(config)#do sh ip bgp summ
BGP router identifier 10.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.1.1.2 4 2 2153 2182 1 0 0 00:01:31 0
R1(config)#! quite a lot of time nothing has happened
R1(config)#do sh ip bgp summ
BGP router identifier 10.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.1.1.2 4 2 2224 2252 1 0 0 00:02:41 0
R1(config)#do sh ip bgp summ
BGP router identifier 10.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.1.1.2 4 2 2271 2299 1 0 0 00:03:29 0
R1(config)#! so its 200 seconds or more but no
R1(config)#! neighbor ship reset
R1(config)#! will try that command again, the router bgp under show run
R1(config)#
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 01:07:01.663: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
*Mar 1 01:07:01.663: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#! it happened again!!!!!!!
R1(config)#!
*Mar 1 01:07:29.343: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#!so any ideas please
R1(config)#do sh ip bgp summ
BGP router identifier 10.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.1.1.2 4 2 2576 2605 1 0 0 00:03:58 0
R1(config)#!trying again
R1(config)#do sh ip bgp summ
BGP router identifier 10.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.1.1.2 4 2 2799 2828 1 0 0 00:07:41 0
R1(config)#!trying again
R1(config)#do sh run | s r b
router bgp 1
no synchronization
bgp log-neighbor-changes
timers bgp 10 30 3
neighbor 10.1.1.2 remote-as 2
no auto-summary
R1(config)#
*Mar 1 01:15:36.887: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down BGP
Notification sent
*Mar 1 01:15:36.887: %BGP-3-NOTIFICATION: sent to neighbor 10.1.1.2 4/0
(hold time expired) 0 bytes
R1(config)#
*Mar 1 01:16:08.487: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1(config)#
R1(config)#
*
ALL i want to know is can there be any logical reason to it, I think its
GNS3.*
--
thanks
gaurav
http://routing0sand1s.blogspot.com/
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit
www.ipexpert.com
Are you a CCNP or CCIE and looking for a job? Check out
www.PlatinumPlacement.com