Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Bgp policy

Any one can help to resolve my confusion in bgp ..we have purchase AS number from APNIC . what kind of policy both outgoing and incoming that I have to in my BGP . I do have 2 ISP CONNECTIVITY. Is there any seperate configuration is needed?

thank u in advance

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Bgp policy

Sample configuration attached

router bgp

network

neighbor remote-as

neighbor ebgp-multihop 4

neighbor remove-private-AS

neighbor route-map ISP1-acceptroutes in

neighbor route-map ISP1-local-routes out

neighbor remote-as 17495

neighbor description "Reliance BGP Peer"

neighbor ebgp-multihop 2

neighbor remove-private-AS

neighbor route-map ISP2-acceptroutes in

neighbor route-map ISP2-local-routes out

ip route

access-list 1 permit

access-list 3 permit 0.0.0.0

route-map ISP1-acceptroutes permit 10

match ip address 3

set local-preference 300

!

route-map ISP2-acceptroutes permit 20

match ip address 3

set local-preference 100

!

route-map ISP1-local-routes permit 10

match ip address 1

!

route-map ISP2-local-routes permit 10

match ip address 1

HTh, rate if it does

Narayan

2 REPLIES

Re: Bgp policy

Where are you going to terminate both ISP? Is it a seperate router or the same?

For simplicity, just ask your ISP to advertise default routes to your router. Of course you need to create an eBGP peer to your ISP. Then create an iBGP from your internet router to one of your internal router. Advertise the default route to your iBGP peer router by using default-information-originate under BGP configuration.

Redistribute BGP into IGP into your internal router.

Re: Bgp policy

Sample configuration attached

router bgp

network

neighbor remote-as

neighbor ebgp-multihop 4

neighbor remove-private-AS

neighbor route-map ISP1-acceptroutes in

neighbor route-map ISP1-local-routes out

neighbor remote-as 17495

neighbor description "Reliance BGP Peer"

neighbor ebgp-multihop 2

neighbor remove-private-AS

neighbor route-map ISP2-acceptroutes in

neighbor route-map ISP2-local-routes out

ip route

access-list 1 permit

access-list 3 permit 0.0.0.0

route-map ISP1-acceptroutes permit 10

match ip address 3

set local-preference 300

!

route-map ISP2-acceptroutes permit 20

match ip address 3

set local-preference 100

!

route-map ISP1-local-routes permit 10

match ip address 1

!

route-map ISP2-local-routes permit 10

match ip address 1

HTh, rate if it does

Narayan

119
Views
10
Helpful
2
Replies
CreatePlease login to create content