Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Inbound policy on PE router.
- prefix-set CUSTOMER_A
- 10.0.0.0/19 le 24
- end-set
- !
- community-set COMM_90
- 100:90
- end-set
- !
- community-set COMM_100
- 100:100
- end-set
- !
- community-set COMM_110
- 100:110
- end-set
- !
- route-policy CUSTOMER_IN
- if community matches-any COMM_90 and destination in CUSTOMER_A then
- set local-preference 90
- endif
- if community matches-any COMM_100 and destination in CUSTOMER_A then
- set local-preference 100
- endif
- if community matches-any COMM_110 and destination in CUSTOMER_A then
- set local-preference 110
- endif
- if destination in CUSTOMER_A then
- pass
- endif
- end-policy
- !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement