From: Richard Dumoulin (richard.dumoulin@vanco.es)
Date: Tue Jun 01 2004 - 05:01:35 GMT-3
I forgot one command to see the mask:
r2#sh ip bgp 10.0.0.0
BGP routing table entry for 10.0.0.0/8, version 35
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
172.16.30.1 172.16.30.18
Local
0.0.0.0 from 0.0.0.0 (2.2.2.2)
Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced,
local, best
--Richard
-----Original Message-----
From: Richard Dumoulin
Sent: martes, 01 de junio de 2004 9:58
To: 'Yasser Aly'; ahmed.mustafa@sbcglobal.net
Cc: ccielab@groupstudy.com
Subject: RE: summary route
Yasser, can you post your test ? Here is mine:
First I have this:
r2#sh run | b bgp
router bgp 65501
no synchronization
bgp router-id 2.2.2.2
bgp log-neighbor-changes
bgp confederation identifier 12345
bgp confederation peers 65505
neighbor 172.16.30.1 remote-as 65501
neighbor 172.16.30.18 remote-as 65505
no auto-summary
r2#sh ip bgp
BGP table version is 34, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
r>i10.1.1.0/24 172.16.30.1 0 100 0 i
r>i10.1.3.0/24 172.16.30.3 0 100 0 i
*>i10.1.6.0/24 172.16.30.34 0 100 0 67 i
*> 10.10.10.0/24 10.1.5.2 0 200 0 (65505) 10 i
r>i10.40.4.0/24 172.16.30.22 0 100 0 (65504) i
r> 10.50.5.0/24 172.16.30.18 0 100 0 (65505) i
*>i10.70.7.0/24 172.16.30.34 0 100 0 67 i
And I am going to summarize 10.0.0.0/8 into bgp:
But first I advertise the classful and see if it appears in the bgp fib:
r2(config)#router bgp 65501
r2(config-router)#netw
r2(config-router)#network 10.0.0.0
r2(config-router)#^Z
But there is no way the network enters the table because the network does
not exist in the local table:
r2#sh ip bgp
BGP table version is 34, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
r>i10.1.1.0/24 172.16.30.1 0 100 0 i
r>i10.1.3.0/24 172.16.30.3 0 100 0 i
*>i10.1.6.0/24 172.16.30.34 0 100 0 67 i
*> 10.10.10.0/24 10.1.5.2 0 200 0 (65505) 10 i
r>i10.40.4.0/24 172.16.30.22 0 100 0 (65504) i
r> 10.50.5.0/24 172.16.30.18 0 100 0 (65505) i
*>i10.70.7.0/24 172.16.30.34 0 100 0 67 i
So I enter auto-summary in the bgp process:
r2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r2(config)#router bgp 65501 r2(config-router)#auto
r2(config-router)#auto-summary
r2(config-router)#^Z
r2#
r2#
*Mar 1 18:11:33.762: %SYS-5-CONFIG_I: Configured from console by consoles
r2#sh deb IP routing:
BGP debugging is on
r2#
*Mar 1 18:12:31.529: BGP: Applying map to find origin for 10.0.0.0/24 r2#sh
ip bgp BGP table version is 35, local router ID is 2.2.2.2 Status codes: s
suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.0.0.0 0.0.0.0 0 32768 i
r>i10.1.1.0/24 172.16.30.1 0 100 0 i
r>i10.1.3.0/24 172.16.30.3 0 100 0 i
*>i10.1.6.0/24 172.16.30.34 0 100 0 67 i
*> 10.10.10.0/24 10.1.5.2 0 200 0 (65505) 10 i
r>i10.40.4.0/24 172.16.30.22 0 100 0 (65504) i
r> 10.50.5.0/24 172.16.30.18 0 100 0 (65505) i
*>i10.70.7.0/24 172.16.30.34 0 100 0 67 i
I even ran "debug ip bgp" so we can see what happens. I think that I have
confirmed the BGP faq
http://www.cisco.com/en/US/tech/tk365/tk80/technologies_q_and_a_item09186a00
800949e8.shtml#five
Yasser could you please post your test ?
Regards
--Richard
-----Original Message-----
From: Yasser Aly [mailto:blackyeyes00@hotmail.com]
Sent: martes, 01 de junio de 2004 0:37
To: Richard Dumoulin; ahmed.mustafa@sbcglobal.net
Cc: ccielab@groupstudy.com
Subject: RE: summary route
Richard,
Just tested it before sending my mail to the list. auto-summary only works
with redistributed routes.
Hope to hear others comments about this to confirm.
Yasser
This archive was generated by hypermail 2.1.4 : Sat Jul 03 2004 - 19:40:30 GMT-3