Hi các bác
Em có 1 mô hình config như bên dưới (peer với 2 ISP khác nhau). Nếu em muốn luôn ưu tiên đường của ISP1 thì cần sửa như thế nào? Bác nào biết xin chỉ giúp
Thanks
router bgp xxxxx
no synchronization
bgp log-neighbor-changes
network x.x.x.x
neighbor <peer router 1> remote-as xxxx
neighbor <peer router 1> description "Transist via ISP1"
neighbor <peer router 1> next-hop-self
neighbor <peer router 1> version 4
neighbor <peer router 1> route-map SETPATH-VDC out
neighbor <peer router 1> filter-list 2 out
neighbor <peer router 1> weight 10
neighbor <peer router 2> remote-as xxxx
neighbor <peer router 2> description "Transist via ISP2"
neighbor <peer router 2> ebgp-multihop 10
neighbor <peer router 2> next-hop-self
neighbor <peer router 2> version 4
neighbor <peer router 2> soft-reconfiguration inbound
neighbor <peer router 2> filter-list 2 out
no auto-summary
ip as-path access-list 2 permit ^$
ip as-path access-list 2 permit ^(<ASnumber>_)+$
ip as-path access-list 2 deny .
Em có 1 mô hình config như bên dưới (peer với 2 ISP khác nhau). Nếu em muốn luôn ưu tiên đường của ISP1 thì cần sửa như thế nào? Bác nào biết xin chỉ giúp
Thanks
router bgp xxxxx
no synchronization
bgp log-neighbor-changes
network x.x.x.x
neighbor <peer router 1> remote-as xxxx
neighbor <peer router 1> description "Transist via ISP1"
neighbor <peer router 1> next-hop-self
neighbor <peer router 1> version 4
neighbor <peer router 1> route-map SETPATH-VDC out
neighbor <peer router 1> filter-list 2 out
neighbor <peer router 1> weight 10
neighbor <peer router 2> remote-as xxxx
neighbor <peer router 2> description "Transist via ISP2"
neighbor <peer router 2> ebgp-multihop 10
neighbor <peer router 2> next-hop-self
neighbor <peer router 2> version 4
neighbor <peer router 2> soft-reconfiguration inbound
neighbor <peer router 2> filter-list 2 out
no auto-summary
ip as-path access-list 2 permit ^$
ip as-path access-list 2 permit ^(<ASnumber>_)+$
ip as-path access-list 2 deny .
Comment