Don't undertand BGP
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

Don't undertand BGP

 
Post new topic   Reply to topic    Forum Index -> alt.certification.cisco
Author Message
The Outon's
Guest





PostPosted: Fri Aug 08, 2003 4:27 am    Post subject: Don't undertand BGP Reply with quote

I used the >Debug ip bgp command to make sure BGP was working properly. And
it is. But when I type in >sh ip bgp I get nothing. Any Ideas?

R1#debug ip bgp
BGP debugging is on
R1#clear ip bgp
00:46:04: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:46:04: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#clear ip bgp 2
R1#
00:46:14: BGP: 192.168.1.6 went from Established to Idle
00:46:14: %BGP-5-ADJCHANGE: neighbor 192.168.1.6 Down User reset
R1#
00:46:14: BGP: 192.168.1.6 closing
00:46:14: BGP: 192.168.1.6 went from Idle to Active
00:46:14: BGP: 192.168.1.6 open active, delay 24184ms
R1#
00:46:39: BGP: 192.168.1.6 open active, local address 192.168.1.5
00:46:39: BGP: 192.168.1.6 went from Active to OpenSent
00:46:39: BGP: 192.168.1.6 sending OPEN, version 4, my as: 1
00:46:39: BGP: 192.168.1.6 send message type 1, length (incl. header) 45
00:46:39: BGP: 192.168.1.6 rcv message type 1, length (excl. header) 26
00:46:39: BGP: 192.168.1.6 rcv OPEN, version 4
00:46:39: BGP: 192.168.1.6 rcv OPEN w/ OPTION parameter len: 16
00:46:39: BGP: 192.168.1.6 rcvd OPEN w/ optional parameter type 2
(Capability) l
en 6
00:46:39: BGP: 192.168.1.6 OPEN has CAPABILITY code: 1, length 4
00:46:39: BGP: 192.168.1.6 OPEN has MP_EXT CAP for afi/safi: 1/1
00:46:39: BGP: 192.168.1.6 rcvd OPEN w/ optional parameter type 2
(Capability) l
en 2
00:46:39: BGP: 192.168.1.6 OPEN has CAPABILITY code: 128, length 0
00:46:39: BGP: 192.168.1.6 OPEN has ROUTE-REFRESH capability(old) for all
addres
s-families
00:46:39: BGP: 192.168.1.6 rcvd OPEN w/ optional parameter type 2
(Capability) l
en 2
0
R0:46:39: BGP: 192.168.1.6 OPEN has CAPABILITY code: 2, length 0
00:46:39: BGP: 192.168.1.6 OPEN has ROUTE-REFRESH capability(new) for all
addres
s-families
00:46:39: BGP: 192.168.1.6 went from OpenSent to OpenConfirm
00:46:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:46:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
00:46:39: BGP: 192.168.1.6 went from OpenConfirm to Established
00:46:39: %BGP-5-ADJCHANGE: neighbor 192.168.1.6 Up
00:46:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:46:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:46:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
00:46:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 01#
R1#
00:47:04: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:47:04: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/24 is subnetted, 1 subnets
C 10.1.25.0 is directly connected, Serial2
C 192.168.1.0/24 is directly connected, Serial0
R1#
00:47:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:47:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
R1#
00:48:04: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:48:04: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#
00:48:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:48:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
R1#
00:49:05: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:49:05: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#
00:49:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:49:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
R1#sh ip bgp

R1#
00:50:04: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:50:04: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#undebug all
All possible debugging has been turned off
R1#sh ip bgp

R1#

--
Jennifer Outon's Licensed Family Home Child Care
http://members.cox.net/joutonchildcare
Back to top
Marc Russell
Guest





PostPosted: Fri Aug 08, 2003 6:23 am    Post subject: Re: Don't undertand BGP Reply with quote

Can you post your config for the two routers?


Marc Russell
www.ccbootcamp.com (Cisco Training)


"The Outon's" <mikeouton1@cox.net> wrote in message
news:hfBYa.258441$o86.125396@news1.central.cox.net...
Quote:
I used the >Debug ip bgp command to make sure BGP was working properly.
And
it is. But when I type in >sh ip bgp I get nothing. Any Ideas?

R1#debug ip bgp
BGP debugging is on
R1#clear ip bgp
00:46:04: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:46:04: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#clear ip bgp 2
R1#
00:46:14: BGP: 192.168.1.6 went from Established to Idle
00:46:14: %BGP-5-ADJCHANGE: neighbor 192.168.1.6 Down User reset
R1#
00:46:14: BGP: 192.168.1.6 closing
00:46:14: BGP: 192.168.1.6 went from Idle to Active
00:46:14: BGP: 192.168.1.6 open active, delay 24184ms
R1#
00:46:39: BGP: 192.168.1.6 open active, local address 192.168.1.5
00:46:39: BGP: 192.168.1.6 went from Active to OpenSent
00:46:39: BGP: 192.168.1.6 sending OPEN, version 4, my as: 1
00:46:39: BGP: 192.168.1.6 send message type 1, length (incl. header) 45
00:46:39: BGP: 192.168.1.6 rcv message type 1, length (excl. header) 26
00:46:39: BGP: 192.168.1.6 rcv OPEN, version 4
00:46:39: BGP: 192.168.1.6 rcv OPEN w/ OPTION parameter len: 16
00:46:39: BGP: 192.168.1.6 rcvd OPEN w/ optional parameter type 2
(Capability) l
en 6
00:46:39: BGP: 192.168.1.6 OPEN has CAPABILITY code: 1, length 4
00:46:39: BGP: 192.168.1.6 OPEN has MP_EXT CAP for afi/safi: 1/1
00:46:39: BGP: 192.168.1.6 rcvd OPEN w/ optional parameter type 2
(Capability) l
en 2
00:46:39: BGP: 192.168.1.6 OPEN has CAPABILITY code: 128, length 0
00:46:39: BGP: 192.168.1.6 OPEN has ROUTE-REFRESH capability(old) for all
addres
s-families
00:46:39: BGP: 192.168.1.6 rcvd OPEN w/ optional parameter type 2
(Capability) l
en 2
0
R0:46:39: BGP: 192.168.1.6 OPEN has CAPABILITY code: 2, length 0
00:46:39: BGP: 192.168.1.6 OPEN has ROUTE-REFRESH capability(new) for all
addres
s-families
00:46:39: BGP: 192.168.1.6 went from OpenSent to OpenConfirm
00:46:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:46:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
00:46:39: BGP: 192.168.1.6 went from OpenConfirm to Established
00:46:39: %BGP-5-ADJCHANGE: neighbor 192.168.1.6 Up
00:46:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:46:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:46:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
00:46:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 01#
R1#
00:47:04: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:47:04: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/24 is subnetted, 1 subnets
C 10.1.25.0 is directly connected, Serial2
C 192.168.1.0/24 is directly connected, Serial0
R1#
00:47:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:47:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
R1#
00:48:04: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:48:04: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#
00:48:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:48:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
R1#
00:49:05: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:49:05: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#
00:49:39: BGP: 192.168.1.6 send message type 4, length (incl. header) 19
00:49:39: BGP: 192.168.1.6 rcv message type 4, length (excl. header) 0
R1#sh ip bgp

R1#
00:50:04: BGP: 10.1.25.6 send message type 4, length (incl. header) 19
00:50:04: BGP: 10.1.25.6 rcv message type 4, length (excl. header) 0
R1#undebug all
All possible debugging has been turned off
R1#sh ip bgp

R1#

--
Jennifer Outon's Licensed Family Home Child Care
http://members.cox.net/joutonchildcare


Back to top
The Outon's
Guest





PostPosted: Fri Aug 08, 2003 6:57 am    Post subject: Re: Don't undertand BGP Reply with quote

--
Jennifer Outon's Licensed Family Home Child Care
http://members.cox.net/joutonchildcare


"Marc Russell" <mrussell@ccbootcamp.com> wrote in message
news:mZ-dnYUeYdJoZ6-iXTWJiw@comcast.com...
Quote:
Can you post your config for the two routers?


Marc Russell
www.ccbootcamp.com (Cisco Training)


This is a different config than I had before but I still cannot see the BGP
routes when typing >sh ip bgp or >sh ip route.

----------------------------------------------------------------------------
---------------------------------------------
R1#sh run
Building configuration...

Current configuration : 1107 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
interface Serial0
bandwidth 64
ip address 2.2.2.2 255.255.255.0
clockrate 64000
!
interface Serial1
no ip address
shutdown
!
interface Serial2
bandwidth 64
ip address 3.3.3.3 255.255.255.0
clockrate 64000
!
interface Serial3
no ip address
shutdown
!
interface Serial4
no ip address
shutdown
!
interface Serial5
no ip address
shutdown
!
interface Serial6
no ip address
shutdown
!
interface Serial7
no ip address
shutdown
!
interface Serial8
no ip address
shutdown
!
interface Serial9
no ip address
shutdown
!
interface TokenRing0
no ip address
shutdown
!
interface BRI0
no ip address
shutdown
isdn x25 static-tei 0
!
router ospf 100
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 3.3.3.3 0.0.0.0 area 0
!
router bgp 1
bgp log-neighbor-changes
neighbor 2.2.2.1 remote-as 2
neighbor 3.3.3.2 remote-as 1
!
ip classless
ip http server
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
end

R1#sh ip bgp nei
BGP neighbor is 2.2.2.1, remote AS 2, external link
BGP version 4, remote router ID 2.2.2.1
BGP state = Established, up for 00:06:22
Last read 00:00:22, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Received 10 messages, 0 notifications, 0 in queue
Sent 10 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
0 accepted prefixes consume 0 bytes
Prefix advertised 0, suppressed 0, withdrawn 0
Number of NLRIs in the update sent: max 0, min 0

Connections established 1; dropped 0
Last reset never
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Local host: 2.2.2.2, Local port: 11001
Foreign host: 2.2.2.1, Foreign port: 179

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x4FF658):
Timer Starts Wakeups Next
Retrans 11 0 0x0
TimeWait 0 0 0x0
AckHold 10 5 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0

iss: 305786421 snduna: 305786638 sndnxt: 305786638 sndwnd: 16168
irs: 607104276 rcvnxt: 607104493 rcvwnd: 16168 delrcvwnd: 216

SRTT: 231 ms, RTTO: 811 ms, RTV: 580 ms, KRTT: 0 ms
minRTT: 24 ms, maxRTT: 300 ms, ACK hold: 200 ms
Flags: higher precedence, nagle

Datagrams (max data segment is 1460 bytes):
Rcvd: 14 (out of order: 0), with data: 10, total data bytes: 216
Sent: 17 (retransmit: 0), with data: 10, total data bytes: 216

BGP neighbor is 3.3.3.2, remote AS 1, internal link
BGP version 4, remote router ID 4.4.4.4
BGP state = Established, up for 00:04:16
Last read 00:00:16, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Received 8 messages, 0 notifications, 0 in queue
Sent 8 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Default minimum time between advertisement runs is 5 seconds

For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 2, Offset 0, Mask 0x4
0 accepted prefixes consume 0 bytes
Prefix advertised 0, suppressed 0, withdrawn 0
Number of NLRIs in the update sent: max 0, min 0

Connections established 1; dropped 0
Last reset never
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Local host: 3.3.3.3, Local port: 179
Foreign host: 3.3.3.2, Foreign port: 11000

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x500840):
Timer Starts Wakeups Next
Retrans 8 0 0x0
TimeWait 0 0 0x0
AckHold 8 2 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0

iss: 1927488630 snduna: 1927488809 sndnxt: 1927488809 sndwnd: 16206
irs: 1442850286 rcvnxt: 1442850465 rcvwnd: 16206 delrcvwnd: 178

SRTT: 197 ms, RTTO: 1143 ms, RTV: 946 ms, KRTT: 0 ms
minRTT: 16 ms, maxRTT: 300 ms, ACK hold: 200 ms
Flags: passive open, nagle, gen tcbs

Datagrams (max data segment is 1460 bytes):
Rcvd: 15 (out of order: 0), with data: 8, total data bytes: 178
Sent: 10 (retransmit: 0), with data: 7, total data bytes: 178
R1#sh ip bgp summ
BGP router identifier 3.3.3.3, 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
2.2.2.1 4 2 10 10 1 0 0 00:06:36 0
3.3.3.2 4 1 8 8 1 0 0 00:04:26 0
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
O IA 1.1.1.0 [110/1572] via 2.2.2.1, 00:09:12, Serial0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Serial0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Serial2
4.0.0.0/24 is subnetted, 1 subnets
O IA 4.4.4.0 [110/1572] via 3.3.3.2, 00:09:10, Serial2
R1#sh ip bgp

R1#
----------------------------------------------------------------------------
------------------------------------
R2#sh run
Building configuration...

Current configuration : 676 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
interface Ethernet0
ip address 1.1.1.1 255.255.255.0
!
interface Serial0
ip address 2.2.2.1 255.255.255.0
no fair-queue
!
interface Serial1
no ip address
shutdown
!
interface BRI0
no ip address
shutdown
isdn x25 static-tei 0
!
router ospf 100
log-adjacency-changes
network 1.0.0.0 0.255.255.255 area 10
network 2.2.2.1 0.0.0.0 area 0
!
router bgp 2
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 1
!
ip classless
ip http server
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
end

R2#sh ip bgp nei
BGP neighbor is 2.2.2.2, remote AS 1, external link
BGP version 4, remote router ID 3.3.3.3
BGP state = Established, up for 00:06:55
Last read 00:00:55, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Received 10 messages, 0 notifications, 0 in queue
Sent 10 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
0 accepted prefixes consume 0 bytes
Prefix advertised 0, suppressed 0, withdrawn 0
Number of NLRIs in the update sent: max 0, min 0

Connections established 1; dropped 0
Last reset never
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Local host: 2.2.2.1, Local port: 179
Foreign host: 2.2.2.2, Foreign port: 11001

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x50B190):
Timer Starts Wakeups Next
Retrans 11 0 0x0
TimeWait 0 0 0x0
AckHold 10 3 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0

iss: 607104276 snduna: 607104493 sndnxt: 607104493 sndwnd: 16168
irs: 305786421 rcvnxt: 305786638 rcvwnd: 16168 delrcvwnd: 216

SRTT: 236 ms, RTTO: 777 ms, RTV: 541 ms, KRTT: 0 ms
minRTT: 16 ms, maxRTT: 372 ms, ACK hold: 200 ms
Flags: passive open, nagle, gen tcbs

Datagrams (max data segment is 1460 bytes):
Rcvd: 17 (out of order: 0), with data: 10, total data bytes: 216
Sent: 14 (retransmit: 0), with data: 10, total data bytes: 216
R2#sh ip bgp summary
BGP router identifier 2.2.2.1, local AS number 2
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
2.2.2.2 4 1 11 11 1 0 0 00:07:06 0
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Ethernet0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Serial0
3.0.0.0/24 is subnetted, 1 subnets
O 3.3.3.0 [110/1626] via 2.2.2.2, 00:09:43, Serial0
4.0.0.0/24 is subnetted, 1 subnets
O IA 4.4.4.0 [110/1636] via 2.2.2.2, 00:09:41, Serial0
R2#sh ip bgp

R2#

----------------------------------------------------------------------------
----------------------------------------

R4#sh run
Building configuration...

Current configuration : 644 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R4
!
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
interface Ethernet0
ip address 4.4.4.4 255.255.255.0
!
interface Serial0
ip address 3.3.3.2 255.255.255.0
!
interface Serial1
no ip address
shutdown
!
interface TokenRing0
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 3.3.3.2 0.0.0.0 area 0
network 4.0.0.0 0.255.255.255 area 20
!
router bgp 1
bgp log-neighbor-changes
neighbor 3.3.3.3 remote-as 1
!
ip classless
ip http server
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
end

R4#sh ip bgp neigh
BGP neighbor is 3.3.3.3, remote AS 1, internal link
BGP version 4, remote router ID 3.3.3.3
BGP state = Established, up for 00:05:13
Last read 00:00:12, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Received 9 messages, 0 notifications, 0 in queue
Sent 9 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Default minimum time between advertisement runs is 5 seconds

For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
0 accepted prefixes consume 0 bytes
Prefix advertised 0, suppressed 0, withdrawn 0
Number of NLRIs in the update sent: max 0, min 0

Connections established 1; dropped 0
Last reset never
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Local host: 3.3.3.2, Local port: 11000
Foreign host: 3.3.3.3, Foreign port: 179

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x5175BC):
Timer Starts Wakeups Next
Retrans 10 0 0x0
TimeWait 0 0 0x0
AckHold 8 6 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0

iss: 1442850286 snduna: 1442850484 sndnxt: 1442850484 sndwnd: 16187
irs: 1927488630 rcvnxt: 1927488828 rcvwnd: 16187 delrcvwnd: 197

SRTT: 221 ms, RTTO: 832 ms, RTV: 611 ms, KRTT: 0 ms
minRTT: 24 ms, maxRTT: 300 ms, ACK hold: 200 ms
Flags: higher precedence, nagle

Datagrams (max data segment is 1460 bytes):
Rcvd: 11 (out of order: 0), with data: 8, total data bytes: 197
Sent: 17 (retransmit: 0), with data: 9, total data bytes: 197
R4#sh ip bgp summ
BGP router identifier 4.4.4.4, 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
3.3.3.3 4 1 9 9 1 0 0 00:05:20 0
R4#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
O IA 1.1.1.0 [110/1636] via 3.3.3.3, 00:06:07, Serial0
2.0.0.0/24 is subnetted, 1 subnets
O 2.2.2.0 [110/1626] via 3.3.3.3, 00:06:07, Serial0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Serial0
4.0.0.0/24 is subnetted, 1 subnets
C 4.4.4.0 is directly connected, Ethernet0
R4#sh bgp
^
% Invalid input detected at '^' marker.

R4#sh ip bgp

R4#
Back to top
Ivan Ostres
Guest





PostPosted: Fri Aug 08, 2003 11:17 am    Post subject: Re: Don't undertand BGP Reply with quote

You don't have network statement under BGP on any router or any
redistribute. You do not announce any network, so that is the reason you do
not get any data in BGP database or in routing table.

Ivan



"The Outon's" <mikeouton1@cox.net> wrote in message
news:hsDYa.261147$o86.92184@news1.central.cox.net...
>
Back to top
John Agosta
Guest





PostPosted: Sat Aug 09, 2003 2:18 am    Post subject: Re: Don't undertand BGP Reply with quote

You need to explicitly tell BGP what networks you
want to advertise/publish/announce to your neighbors.

There are a few ways to do this.
You can use 'network' statements under BGP, or you can redistribute routes
into BGP.

If you use the network statement, the routes must also appear in your
'interior' routing table, like RIP, ORPF, etc.

Do a "show IP route." Look for a network that appears in the route table,
let's say "x.x.x.x"

Then, go under BGP and enter :

network x.x.x.x mask z.z.z.z

(exactly how it appears in your route table)

This network does not have to be directly connected to your router. You are
simply telling BGP what network to
advertise/publish/announce to your neighbors; the statement has a different
purpose than with OSPF, RIP, IGRP, etc.

BGP is pretty complex, and there's a lot to learn about it, like when do you
need the 'mask' argument and such, but ----
I hope this points you in the right direction and get's you 'started' at
least.....

Read up, practice, and Have Fun!

-ja





"The Outon's" <mikeouton1@cox.net> wrote in message
news:hsDYa.261147$o86.92184@news1.central.cox.net...
Quote:


--
Jennifer Outon's Licensed Family Home Child Care
http://members.cox.net/joutonchildcare


"Marc Russell" <mrussell@ccbootcamp.com> wrote in message
news:mZ-dnYUeYdJoZ6-iXTWJiw@comcast.com...
Can you post your config for the two routers?


Marc Russell
www.ccbootcamp.com (Cisco Training)


This is a different config than I had before but I still cannot see the
BGP
routes when typing >sh ip bgp or >sh ip route.

--------------------------------------------------------------------------
--
---------------------------------------------
R1#sh run
Building configuration...

Current configuration : 1107 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
interface Serial0
bandwidth 64
ip address 2.2.2.2 255.255.255.0
clockrate 64000
!
interface Serial1
no ip address
shutdown
!
interface Serial2
bandwidth 64
ip address 3.3.3.3 255.255.255.0
clockrate 64000
!
interface Serial3
no ip address
shutdown
!
interface Serial4
no ip address
shutdown
!
interface Serial5
no ip address
shutdown
!
interface Serial6
no ip address
shutdown
!
interface Serial7
no ip address
shutdown
!
interface Serial8
no ip address
shutdown
!
interface Serial9
no ip address
shutdown
!
interface TokenRing0
no ip address
shutdown
!
interface BRI0
no ip address
shutdown
isdn x25 static-tei 0
!
router ospf 100
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 3.3.3.3 0.0.0.0 area 0
!
router bgp 1
bgp log-neighbor-changes
neighbor 2.2.2.1 remote-as 2
neighbor 3.3.3.2 remote-as 1
!
ip classless
ip http server
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
end

R1#sh ip bgp nei
BGP neighbor is 2.2.2.1, remote AS 2, external link
BGP version 4, remote router ID 2.2.2.1
BGP state = Established, up for 00:06:22
Last read 00:00:22, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Received 10 messages, 0 notifications, 0 in queue
Sent 10 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
0 accepted prefixes consume 0 bytes
Prefix advertised 0, suppressed 0, withdrawn 0
Number of NLRIs in the update sent: max 0, min 0

Connections established 1; dropped 0
Last reset never
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Local host: 2.2.2.2, Local port: 11001
Foreign host: 2.2.2.1, Foreign port: 179

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x4FF658):
Timer Starts Wakeups Next
Retrans 11 0 0x0
TimeWait 0 0 0x0
AckHold 10 5 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0

iss: 305786421 snduna: 305786638 sndnxt: 305786638 sndwnd: 16168
irs: 607104276 rcvnxt: 607104493 rcvwnd: 16168 delrcvwnd: 216

SRTT: 231 ms, RTTO: 811 ms, RTV: 580 ms, KRTT: 0 ms
minRTT: 24 ms, maxRTT: 300 ms, ACK hold: 200 ms
Flags: higher precedence, nagle

Datagrams (max data segment is 1460 bytes):
Rcvd: 14 (out of order: 0), with data: 10, total data bytes: 216
Sent: 17 (retransmit: 0), with data: 10, total data bytes: 216

BGP neighbor is 3.3.3.2, remote AS 1, internal link
BGP version 4, remote router ID 4.4.4.4
BGP state = Established, up for 00:04:16
Last read 00:00:16, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Received 8 messages, 0 notifications, 0 in queue
Sent 8 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Default minimum time between advertisement runs is 5 seconds

For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 2, Offset 0, Mask 0x4
0 accepted prefixes consume 0 bytes
Prefix advertised 0, suppressed 0, withdrawn 0
Number of NLRIs in the update sent: max 0, min 0

Connections established 1; dropped 0
Last reset never
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Local host: 3.3.3.3, Local port: 179
Foreign host: 3.3.3.2, Foreign port: 11000

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x500840):
Timer Starts Wakeups Next
Retrans 8 0 0x0
TimeWait 0 0 0x0
AckHold 8 2 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0

iss: 1927488630 snduna: 1927488809 sndnxt: 1927488809 sndwnd: 16206
irs: 1442850286 rcvnxt: 1442850465 rcvwnd: 16206 delrcvwnd: 178

SRTT: 197 ms, RTTO: 1143 ms, RTV: 946 ms, KRTT: 0 ms
minRTT: 16 ms, maxRTT: 300 ms, ACK hold: 200 ms
Flags: passive open, nagle, gen tcbs

Datagrams (max data segment is 1460 bytes):
Rcvd: 15 (out of order: 0), with data: 8, total data bytes: 178
Sent: 10 (retransmit: 0), with data: 7, total data bytes: 178
R1#sh ip bgp summ
BGP router identifier 3.3.3.3, 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
2.2.2.1 4 2 10 10 1 0 0 00:06:36
0
3.3.3.2 4 1 8 8 1 0 0 00:04:26
0
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
O IA 1.1.1.0 [110/1572] via 2.2.2.1, 00:09:12, Serial0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Serial0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Serial2
4.0.0.0/24 is subnetted, 1 subnets
O IA 4.4.4.0 [110/1572] via 3.3.3.2, 00:09:10, Serial2
R1#sh ip bgp

R1#
--------------------------------------------------------------------------
--
------------------------------------
R2#sh run
Building configuration...

Current configuration : 676 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
interface Ethernet0
ip address 1.1.1.1 255.255.255.0
!
interface Serial0
ip address 2.2.2.1 255.255.255.0
no fair-queue
!
interface Serial1
no ip address
shutdown
!
interface BRI0
no ip address
shutdown
isdn x25 static-tei 0
!
router ospf 100
log-adjacency-changes
network 1.0.0.0 0.255.255.255 area 10
network 2.2.2.1 0.0.0.0 area 0
!
router bgp 2
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 1
!
ip classless
ip http server
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
end

R2#sh ip bgp nei
BGP neighbor is 2.2.2.2, remote AS 1, external link
BGP version 4, remote router ID 3.3.3.3
BGP state = Established, up for 00:06:55
Last read 00:00:55, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Received 10 messages, 0 notifications, 0 in queue
Sent 10 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
0 accepted prefixes consume 0 bytes
Prefix advertised 0, suppressed 0, withdrawn 0
Number of NLRIs in the update sent: max 0, min 0

Connections established 1; dropped 0
Last reset never
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Local host: 2.2.2.1, Local port: 179
Foreign host: 2.2.2.2, Foreign port: 11001

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x50B190):
Timer Starts Wakeups Next
Retrans 11 0 0x0
TimeWait 0 0 0x0
AckHold 10 3 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0

iss: 607104276 snduna: 607104493 sndnxt: 607104493 sndwnd: 16168
irs: 305786421 rcvnxt: 305786638 rcvwnd: 16168 delrcvwnd: 216

SRTT: 236 ms, RTTO: 777 ms, RTV: 541 ms, KRTT: 0 ms
minRTT: 16 ms, maxRTT: 372 ms, ACK hold: 200 ms
Flags: passive open, nagle, gen tcbs

Datagrams (max data segment is 1460 bytes):
Rcvd: 17 (out of order: 0), with data: 10, total data bytes: 216
Sent: 14 (retransmit: 0), with data: 10, total data bytes: 216
R2#sh ip bgp summary
BGP router identifier 2.2.2.1, local AS number 2
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
2.2.2.2 4 1 11 11 1 0 0 00:07:06
0
R2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Ethernet0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Serial0
3.0.0.0/24 is subnetted, 1 subnets
O 3.3.3.0 [110/1626] via 2.2.2.2, 00:09:43, Serial0
4.0.0.0/24 is subnetted, 1 subnets
O IA 4.4.4.0 [110/1636] via 2.2.2.2, 00:09:41, Serial0
R2#sh ip bgp

R2#

--------------------------------------------------------------------------
--
----------------------------------------

R4#sh run
Building configuration...

Current configuration : 644 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R4
!
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
interface Ethernet0
ip address 4.4.4.4 255.255.255.0
!
interface Serial0
ip address 3.3.3.2 255.255.255.0
!
interface Serial1
no ip address
shutdown
!
interface TokenRing0
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 3.3.3.2 0.0.0.0 area 0
network 4.0.0.0 0.255.255.255 area 20
!
router bgp 1
bgp log-neighbor-changes
neighbor 3.3.3.3 remote-as 1
!
ip classless
ip http server
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
end

R4#sh ip bgp neigh
BGP neighbor is 3.3.3.3, remote AS 1, internal link
BGP version 4, remote router ID 3.3.3.3
BGP state = Established, up for 00:05:13
Last read 00:00:12, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Received 9 messages, 0 notifications, 0 in queue
Sent 9 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Default minimum time between advertisement runs is 5 seconds

For address family: IPv4 Unicast
BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
0 accepted prefixes consume 0 bytes
Prefix advertised 0, suppressed 0, withdrawn 0
Number of NLRIs in the update sent: max 0, min 0

Connections established 1; dropped 0
Last reset never
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Local host: 3.3.3.2, Local port: 11000
Foreign host: 3.3.3.3, Foreign port: 179

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x5175BC):
Timer Starts Wakeups Next
Retrans 10 0 0x0
TimeWait 0 0 0x0
AckHold 8 6 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0

iss: 1442850286 snduna: 1442850484 sndnxt: 1442850484 sndwnd: 16187
irs: 1927488630 rcvnxt: 1927488828 rcvwnd: 16187 delrcvwnd: 197

SRTT: 221 ms, RTTO: 832 ms, RTV: 611 ms, KRTT: 0 ms
minRTT: 24 ms, maxRTT: 300 ms, ACK hold: 200 ms
Flags: higher precedence, nagle

Datagrams (max data segment is 1460 bytes):
Rcvd: 11 (out of order: 0), with data: 8, total data bytes: 197
Sent: 17 (retransmit: 0), with data: 9, total data bytes: 197
R4#sh ip bgp summ
BGP router identifier 4.4.4.4, 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
3.3.3.3 4 1 9 9 1 0 0 00:05:20
0
R4#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
O IA 1.1.1.0 [110/1636] via 3.3.3.3, 00:06:07, Serial0
2.0.0.0/24 is subnetted, 1 subnets
O 2.2.2.0 [110/1626] via 3.3.3.3, 00:06:07, Serial0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Serial0
4.0.0.0/24 is subnetted, 1 subnets
C 4.4.4.0 is directly connected, Ethernet0
R4#sh bgp
^
% Invalid input detected at '^' marker.

R4#sh ip bgp

R4#

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> alt.certification.cisco All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory