cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
429
Views
10
Helpful
2
Replies

Bgp policy

swamy105
Level 1
Level 1

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

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

View solution in original post

2 Replies 2

jpl861
Level 4
Level 4

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.

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

Review Cisco Networking products for a $25 gift card