Re: [nsp] Back to basics? BGP /27 advertisement

From: Tony Tauber (ttauber@genuity.net)
Date: Wed Mar 28 2001 - 20:39:25 EST


On Wed, 28 Mar 2001, William Sommers wrote:

> Okay, much as I hate to admit it, I'm officially baffled -- this should be
> dirt simple. Is there perhaps some trick to advertising a prefix gt
> 24? IOS 12.0.16
>
> Goal: Advertise a /27 delegated from an upstream, to that upstream.
>
>
> -wfs

You don't "show ip bgp filter-list 166" or
something else to see what the table shows for
your locally generated routes.

("show ip bgp 10.0.0.0 255.0.0.0 longer" would
be good also)

Add "no auto-summary" to the bgp process and
it'll probably do the trick. It turns off
antiquated summarizatoin along "classful" boundaries.
No clue why it's still the default.
Should've been axed like five or six years ago.

Tony

>
>
> interface Ethernet0
> description X-Connect to 10.1.130.85/30
> ip address 10.1.130.86 255.255.255.252
>
> interface Ethernet1
> ip address 10.2.27.1 255.255.255.224
>
> router bgp 65000
> no synchronization
> network 10.2.27.0 mask 255.255.255.224
> aggregate-address 10.2.27.0 255.255.255.224 summary-only
> neighbor 10.1.130.85 remote-as 65001
> neighbor 10.1.130.85 next-hop-self
> neighbor 10.1.130.85 route-map US-OUT out
> neighbor 10.1.130.85 filter-list 166 out
>
> ip route 0.0.0.0 0.0.0.0 10.1.130.85
> ip route 10.2.27.0 255.255.255.224 Null0 200
>
> ip as-path access-list 166 permit ^$
>
> ip prefix-list upstream_ip_out seq 10 permit 10.2.27.0/27
>
> route-map US-OUT permit 10
> match ip address prefix-list upstream_ip_out
>
> #sh ip rou
> Gateway of last resort is 10.1.130.85 to network 0.0.0.0
>
> 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
> C 10.2.27.0/27 is directly connected, Ethernet1
> C 10.1.130.84/30 is directly connected, Ethernet0
> S* 0.0.0.0/0 [1/0] via 10.1.130.85
>
> #sh ip bgp nei 10.1.130.85
> BGP neighbor is 10.1.130.85, remote AS 65001, external link
> Index 1, Offset 0, Mask 0x2
> NEXT_HOP is always this router
> BGP version 4, remote router ID 10.3.1.1
> BGP state = Established, table version = 2, up for 00:17:28
> Last read 00:00:28, hold time is 180, keepalive interval is 60 seconds
> Minimum time between advertisement runs is 30 seconds
> Received 101 messages, 0 notifications, 0 in queue
> Sent 101 messages, 0 notifications, 0 in queue
> Prefix advertised 0, suppressed 0, withdrawn 0
> ^^^^^^^^^^^^^^^^^^^
> Outbound path policy configured
> Outgoing update AS path filter list is 166
> Route map for outgoing advertisements is US-OUT
> Connections established 7; dropped 6
> Last reset 00:17:52, due to User reset
> 0 accepted prefixes consume 0 bytes
> 0 history paths consume 0 bytes
> Connection state is ESTAB, I/O status: 1, unread input bytes: 0
> Local host: 10.1.130.86, Local port: 11006
> Foreign host: 10.1.130.85, Foreign port: 179
>
>
>



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:34 EDT