Hi all,
Starting out with bgp fundamentals. I have a 2 router topology and am trying to establish an iBGP session between them:
---R0--xe-/4/1/18------xe-3/0/0--R1---
R0:
===
show protocols
bgp {
group ibgp {
type internal;
local-address 1.1.1.1;
neighbor 2.2.2.2;
}
}
ospf {
area 0.0.0.0 {
interface all;
interface lo0.0 {
passive;
}
interface fxp0.0 {
disable;
}
}
preference 200;
}
In show bgp summary output, I see the state as established but not seeing anything in the fields active/received/accepted/ like 0/0/0 as observed in my places on the internet. Am I missing something in the configuration?
R0:
===
run show bgp summary
Threading mode: BGP I/O
Default eBGP mode: advertise - accept, receive - accept
Groups: 1 Peers: 1 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
0 0 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
2.2.2.2 65000 283 283 0 0 2:06:38 Establ
inet.0: 0/0/0/0
Also, noticing that routes are being added through ospf and not via bgp in the routing table, even though ospf preference is set to 200.
run show route
inet.0: 24 destinations, 24 routes (23 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both
1.1.1.1/32 *[Direct/0] 02:25:23
> via lo0.0
2.2.2.2/32 *[OSPF/200] 01:52:55, metric 1
> to 10.0.0.2 via xe-4/1/18.0
11.0.0.0/24 *[OSPF/200] 01:52:55, metric 2
> to 10.0.0.2 via xe-4/1/18.0
Not sure if any routes are getting added via bgp:
R0:
===
run show route protocol bgp
inet.0: 24 destinations, 24 routes (23 active, 0 holddown, 1 hidden)
iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
inet6.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
Any help would be much appreciated.
Thanks,
Vinay
#BGP#routing#ospf#JUNOS