Tom,
May have found your problem. I do see one error in your route-map statement.
See below:
6.6.6.6
neighbor 10.0.0.17 route-map set_meds out
route-map set_meds permit 10
 match ip address 20
 set metric 5
!
route-map set_meds permit 20
 match ip address 21
 set metric 10

9.9.9.9
neighbor 10.0.0.33 route-map set_meds out
route-map set_med permit 10
 match ip address 21
 set metric 5
!
route-map set_med permit 20
 match ip address 20
 set metric 10

Notice for 9.9.9.9 your neighbor statement is calling a route-map named
set_meds. But, the route-map you have defined is set_med. Fix it and see if
that solves the problem.

Chris


-----Original Message-----
From: Tom Pruneau [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 8:33 AM
To: [EMAIL PROTECTED]
Subject: Help Please! BGP question, why do I get "Not advertised to any
[7:31528]


BGP question, why do I get "Not advertised to any peer"


Below is from an isolated lab configuration, appologies to the actual
owners of any addresses of AS numbers used.



I have two routers connected together via a serial line. They are in AS400.
They are both connected to AS100 via another serial line. Both have a route
map affecting advertisements to AS100.  They each have an ethernet with a
/24 on it. The /24 is getting into BGP via a network command.

The two routers have the loopbacks 6.6.6.6 and 9.9.9.9

network 100.0.0.0 /24 is connected to the ethernet of router 6.6.6.6
network 100.0.1.0 /24 is connected to the ethernet of router 9.9.9.9

When I am on router 6.6.6.6 and I look at the advertisement of network
100.0.1.0 /24 is looks fine
When i am on router 9.9.9.9 and I look at the advertisement of network
100.0.0.0 /24 it says "Not advertised to any peer"

Any ideas why the difference???? Why can't 100.0.0.0 be avertised to any
peer?

Both routers have been rebooted. The configs look almost identical.


router_6666#sho ip bgp 100.0.1.0
BGP routing table entry for 100.0.1.0/24, version 2
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Advertised to non peer-group peers:     <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  10.0.0.17
  Local
    10.0.0.38 from 10.0.0.38 (9.9.9.9)
      Origin IGP, metric 0, localpref 100, valid, internal, best



router_9999#show ip bgp 100.0.0.0
BGP routing table entry for 100.0.0.0/24, version 9
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Not advertised to any peer  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  Local
    10.0.0.37 from 10.0.0.37 (6.6.6.6)
      Origin IGP, metric 0, localpref 100, valid, internal, best




router 6666

interface Loopback0
 ip address 6.6.6.6 255.255.255.255
!
interface Ethernet0
 ip address 100.0.0.1 255.255.255.0
!
interface Serial0
 ip address 10.0.0.18 255.255.255.252
!
interface Serial1
 ip address 10.0.0.37 255.255.255.252
!
router bgp 400
 no synchronization
 bgp log-neighbor-changes
 network 100.0.0.0 mask 255.255.255.0
 neighbor 10.0.0.17 remote-as 100
 neighbor 10.0.0.17 route-map set_meds out
 neighbor 10.0.0.38 remote-as 400
 no auto-summary
!
ip classless
ip route 9.9.9.9 255.255.255.255 10.0.0.38
no ip http server
!
access-list 20 permit 100.0.0.0
access-list 21 permit 100.0.1.0
route-map set_meds permit 10
 match ip address 20
 set metric 5
!
route-map set_meds permit 20
 match ip address 21
 set metric 10


Router 9999

!
interface Loopback0
 ip address 9.9.9.9 255.255.255.255
!
interface Ethernet0
 ip address 100.0.1.1 255.255.255.0
!
interface Ethernet1
 no ip address
!
interface Serial0
 ip address 10.0.0.38 255.255.255.252
 no fair-queue
 clockrate 2000000
!
interface Serial1
 ip address 10.0.0.34 255.255.255.252
 clockrate 2000000
!
router bgp 400
 no synchronization
 bgp log-neighbor-changes
 network 100.0.1.0 mask 255.255.255.0
 neighbor 10.0.0.33 remote-as 100
 neighbor 10.0.0.33 route-map set_meds out
 neighbor 10.0.0.37 remote-as 400
 no auto-summary
!
ip classless
ip route 6.6.6.6 255.255.255.255 10.0.0.37
no ip http server
!
access-list 20 permit 100.0.0.0
access-list 21 permit 100.0.1.0
route-map set_med permit 10
 match ip address 21
 set metric 5
!
route-map set_med permit 20
 match ip address 20
 set metric 10
Tom Pruneau 
Technical Trainer Network Operations
GENUITY
225 Presidential Way Woburn Ma. 01888
---------------------------------------------------------------------------
This email is composed of 82% post consumer recycled data bits
---------------------------------------------------------------------------
"Once in a while you get shown the light in the strangest of places if you
look at it right"




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=31541&t=31541
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to