Suryantofang

November 21, 2011

BGP Origin E-BGP

Filed under: Cisco — suryantofang @ 1:01 pm

I configure BGP in my router and I seen like this :

 R1#sh ip bgp
 BGP table version is 6, local router ID is 209.65.200.225
 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.1.1.0/30 0.0.0.0 0 32768 ?
 *> 202.167.111.0 209.65.200.226 0 65002 65003 i
 * 209.65.200.0 209.65.200.226 0 0 65002 ?
 *> 0.0.0.0 0 32768 ?
 *> 209.65.201.1/32 209.65.200.226 0 0 65002 ?
 *> 209.65.203.0 209.65.200.226 0 0 65002 ?

confusing why my EGP got “i” sign as iBGP on my BGP table.
the origin must tune to support “e” sign

From Neighbor call Router Host “WEB”.

Config Route-map :

WEB#sh route-map
 route-map BGP-E, permit, sequence 10
 Match clauses:
 Set clauses:
 origin egp 65003
 Policy routing matches: 0 packets, 0 bytes

Insert route-map to manipulate Origin for it’s neighbor

WEB#sh run | s router bgp
 router bgp 65002
 no synchronization
 bgp log-neighbor-changes
 network 209.65.200.0
 network 209.65.201.1 mask 255.255.255.255
 network 209.65.203.0
 neighbor 209.65.200.225 remote-as 65001
 neighbor 209.65.200.225 route-map BGP-E out
 neighbor 209.65.203.226 remote-as 65003
 no auto-summary

Back to R1

R1#sh ip bgp
 BGP table version is 18, local router ID is 209.65.200.225
 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.1.1.0/30 0.0.0.0 0 32768 ?
 *> 202.167.111.0 209.65.200.226 0 65002 65003 e
 * 209.65.200.0 209.65.200.226 0 0 65002 e
 *> 0.0.0.0 0 32768 ?
 *> 209.65.201.1/32 209.65.200.226 0 0 65002 e
 *> 209.65.203.0 209.65.200.226 0 0 65002 e

I got ” e “ as my EBGP it’s what I want, I learned that BGP are Cool Protocols but nothing without tunning.

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.