Vous êtes sur la page 1sur 3

R1#

R1#
R1#clear bgp ipv4 unicast 10.1.1.2
R1#
*Apr 5 10:21:05.925: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Down User reset
*Apr 5 10:21:06.077: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1#

R2#debug bgp all


BGP debugging is on for all address families
R2#
*Apr 5 10:21:06.297: BGP: 10.1.1.1 remote close, state CLOSEWAIT
*Apr 5 10:21:06.297: BGP: 10.1.1.1 -reset the session
*Apr 5 10:21:06.305: BGPNSF state: 10.1.1.1 went from nsf_not_active to nsf_not
_active
*Apr 5 10:21:06.305: BGP: 10.1.1.1 went from Established to Idle
*Apr 5 10:21:06.305: %BGP-5-ADJCHANGE: neighbor 10.1.1.1 Down Peer closed the s
ession
*Apr 5 10:21:06.309: BGP: 10.1.1.1 closing
*Apr 5 10:21:06.385: BGP: 10.1.1.1 passive open to 10.1.1.2
*Apr 5 10:21:06.389: BGP: 10.1.1.1 went from Idle to Connect
*Apr 5 10:21:06.401: BGP: 10.1.1.1 rcv message type 1, length (excl. header) 26
*Apr 5 10:21:06.401: BGP: 10.1.1.1 rcv OPEN, version 4, holdtime 180 seconds
*Apr 5 10:21:06.405: BGP: 10.1.1.1 went from Connect to OpenSent
*Apr 5 10:21:06.405: BGP: 10.1.1.1 sending OPEN, version 4, my as: 50001, holdt
ime 180 seconds
*Apr 5 10:21:06.405: BGP: 10.1.1.1 rcv OPEN w/ OPTION parameter len: 16
*Apr 5 10:21:06.405: BGP: 10.1.1.1 rcvd OPEN w/ optional par
R2#ameter type 2 (Capability) len 6
*Apr 5 10:21:06.405: BGP: 10.1.1.1 OPEN has CAPABILITY code: 1, length 4
*Apr 5 10:21:06.405: BGP: 10.1.1.1 OPEN has MP_EXT CAP for afi/safi: 1/1
*Apr 5 10:21:06.405: BGP: 10.1.1.1 rcvd OPEN w/ optional parameter type 2 (Capa
bility) len 2
*Apr 5 10:21:06.405: BGP: 10.1.1.1 OPEN has CAPABILITY code: 128, length 0
*Apr 5 10:21:06.405: BGP: 10.1.1.1 OPEN has ROUTE-REFRESH capability(old) for a
ll address-families
*Apr 5 10:21:06.405: BGP: 10.1.1.1 rcvd OPEN w/ optional parameter type 2 (Capa
bility) len 2
*Apr 5 10:21:06.405: BGP: 10.1.1.1 OPEN has CAPABILITY code: 2, length 0
*Apr 5 10:21:06.405: BGP: 10.1.1.1 OPEN has ROUTE-REFRESH capability(new) for a
ll address-families
BGP: 10.1.1.1 rcvd OPEN w/ remote AS 50003
*Apr 5 10:21:06.405: BGP: 10.1.1.1 went from OpenSent to OpenConfirm
*Apr 5 10:21:06.405: BGP: 10.1.1.1 send message type 1, length (incl. header) 4
5
*Apr 5 10:21:06.429: BGP: 10.1.1.1 went from OpenConfirm to Established
R2#
*Apr 5 10:21:06.429: %BGP-5-ADJCHANGE: neighbor 10.1.1.1 Up
R2#
R1#sh bgp all summary
For address family: IPv4 Unicast
BGP router identifier 10.1.1.1, local AS number 50003
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 50001
671
673
1
0
0 00:01:59
0
R1#
R1#
R1#
R1#sh bgp summary
BGP router identifier 10.1.1.1, local AS number 50003
BGP table version is 1, main routing table version 1
Neighbor
10.1.1.2
R1#

V
AS MsgRcvd MsgSent
4 50001
672
674

TblVer InQ OutQ Up/Down State/PfxRcd


1
0
0 00:02:04
0

`R2#sh ip bgp all summary


For address family: IPv4 Unicast
BGP router identifier 10.1.1.2, local AS number 50001
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.1
4 50003
674
673
1
0
0 00:02:57
0
R2#
R2#
R2#sh ip bgp summary
BGP router identifier 10.1.1.2, local AS number 50001
BGP table version is 1, main routing table version 1
Neighbor
10.1.1.1
R2#

V
AS MsgRcvd MsgSent
4 50003
675
674

TblVer InQ OutQ Up/Down State/PfxRcd


1
0
0 00:03:03
0

=================== Routers Just Re-started / Observing


BGP Neighbour Forming ===============
R1#sh ip bgp sum
BGP router identifier 10.1.1.1, local AS number 50003
BGP table version is 1, main routing table version 1
Neighbor
V
AS MsgRcvd MsgSent
10.1.1.2
4 50001
0
0
R1#
R1#
R1#ping 10.1.1.1

TblVer InQ OutQ Up/Down State/PfxRcd


0
0
0 never
Active

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
R1#
R1#
R1#
*Apr 5 10:27:12.823: %BGP-5-ADJCHANGE: neighbor 10.1.1.2 Up
R1#
R1#
R1#sh ip bgp sum
BGP router identifier 10.1.1.1, local AS number 50003
BGP table version is 1, main routing table version 1

Neighbor
10.1.1.2
R1#

V
AS MsgRcvd MsgSent
4 50001
2
2

TblVer InQ OutQ Up/Down State/PfxRcd


0
0
0 00:00:10
0

Vous aimerez peut-être aussi