Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Route-map & IP Policy list

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Route-map & IP Policy list

    Các Bro cho mình hỏi sự khác nhau giữa Route-map và IP Policy list trong BGP. Thanks! :-B

  • #2
    Chao ban,
    - IP Policy list chi la co match khong co set.
    - IP policy list co the tham chieu vao trong route-map.

    Router(config)# ip policy-list POLICY-LIST-NAME-1 permit
    Router(config-policy-list)# match as-path 1
    Router(config-policy-list)# match metric 10
    Router(config-policy-list)# end

    Router(config)# ip policy-list POLICY-LIST-NAME-2 permit
    Router(config-policy-list)# match community 20
    Router(config-policy-list)# match metric 10
    Router(config-policy-list)# ip community-list 20 permit 20:1
    Router(config-policy-list)# end
    Router(config)# route-map MAP-NAME-1 10
    Router(config-route-map)# match ip-address 1
    Router(config-route-map)# match policy-list POLICY-LIST-NAME-1
    Router(config-route-map)# match policy-list POLICY-LIST-NAME-2
    Router(config-route-map)# set community 10:1
    Router(config-route-map)# set local-preference 140
    Router(config-route-map)# end
    ---> This feature adds the capability for a network operator to group route map match clauses into named lists called policy lists. A policy list functions like a macro

    Comment

    Working...
    X