Hi Qing, What you are looking at is the expected behavior. The reason you see "i" in the show ip bgp output is because the eBGP neighbor is adverting you the prefix from the "network" command. You won't see an "e" anymore (comes from EGP). You should get "?" when you distribute from another protocol into BGP.
Regards, Alejandro, El 5/12/2016 a las 2:52 PM, Qing Wang escribió: > Hi Quagga Group, > > This is the 1st time I am using quagga, so please forgive me if I ask > some dump questions. > > I set up couple different ASN using quagga bgdp daemon and mininet. > And I successfully logged into vty command line. When I use "show ip > bgp" commands, I noticed that the origin codes is "i", which indicated > that IBGP session is established. > But because I set up different ASN using quagga bgdp, I thought I > should get origin code "e" meaning that EBGP session set up? > > Here is the output: > rs> show ip bgp > BGP table version is 0, local router ID is 172.0.254.254 > Status codes: s suppressed, d damped, h history, * valid, > best, i - > internal, > r RIB-failure, S Stale, R Removed > Origin codes: i - IGP, e - EGP, ? - incomplete > > Network Next Hop Metric LocPrf Weight Path > *> 10.0.1.0/24 <http://10.0.1.0/24> 172.0.1.1 0 > 0 100 i ( should it be "e" here ? ) > *> 10.0.2.0/24 <http://10.0.2.0/24> 172.0.2.1 0 > 0 200 i > * 10.0.3.0/24 <http://10.0.3.0/24> 172.0.3.2 0 > 0 300 i > *> 172.0.3.1 0 0 300 i > *> 10.0.4.0/24 <http://10.0.4.0/24> 172.0.4.1 0 > 0 400 i > > Total number of prefixes 4 > > And here is one example bgdp.conf I have > ! path logfile for this daemon (BGPD) > log file /var/log/quagga/bgpd.log > > ! the password to use for telnet authentication > password bgpuser > > ! this routers AS number and BGP ID > router bgp 100 > bgp router-id 172.0.1.1 > > ! neighbor information of the route server > neighbor 172.0.254.254 remote-as 65000 > neighbor 172.0.254.254 description Route-Server > > ! the network this router will advertise > network 10.0.1.0/24 <http://10.0.1.0/24> > > Thanks in advance! > > > _______________________________________________ > Quagga-users mailing list > [email protected] > https://lists.quagga.net/mailman/listinfo/quagga-users
_______________________________________________ Quagga-users mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-users
