NewToo
Technical User
- Jun 11, 2001
- 136
Hello
My company have one ISP right now. I wanted to run BGP on my cisco 7200's. My question is Do I HAVE TO SET A
LOCAL-PREFERENCE? ALSO IF THERES ANYTHING WRONG PLEASE LET ME KNOW THANK YOU...
Here's My config.
router bgp xxxxx
no synchronization
bgp log-neighbor-changes
network 66.xxx.xxx.0 mask 255.255.248.0
neighbor 64.xxx.xxx.113 remote-as xxxx
neighbor 64.xxx.xxx.113 description BGP egress to ISP
neighbor 64.xxx.xxx.113 update-source Loopback0
neighbor 64.xxx.xxx.113 version 4
neighbor 64.xxx.xxx.113 soft-reconfiguration inbound
neighbor 64.xxx.xxx.113 route-map ISP-inbound in
neighbor 64.xxx.xxx.113 filter-list 10 out
ip route 0.0.0.0 0.0.0.0 64.xxx.xxx.113
ip as-path access-list 5 permit .*
ip as-path access-list 10 permit ^$
route-map ISP-inbound permit 5
match as-path 5
set local-preference 250
My company have one ISP right now. I wanted to run BGP on my cisco 7200's. My question is Do I HAVE TO SET A
LOCAL-PREFERENCE? ALSO IF THERES ANYTHING WRONG PLEASE LET ME KNOW THANK YOU...
Here's My config.
router bgp xxxxx
no synchronization
bgp log-neighbor-changes
network 66.xxx.xxx.0 mask 255.255.248.0
neighbor 64.xxx.xxx.113 remote-as xxxx
neighbor 64.xxx.xxx.113 description BGP egress to ISP
neighbor 64.xxx.xxx.113 update-source Loopback0
neighbor 64.xxx.xxx.113 version 4
neighbor 64.xxx.xxx.113 soft-reconfiguration inbound
neighbor 64.xxx.xxx.113 route-map ISP-inbound in
neighbor 64.xxx.xxx.113 filter-list 10 out
ip route 0.0.0.0 0.0.0.0 64.xxx.xxx.113
ip as-path access-list 5 permit .*
ip as-path access-list 10 permit ^$
route-map ISP-inbound permit 5
match as-path 5
set local-preference 250