[j-nsp] Translating Cisco to Juniper/policy-statements

Nick Kraal nick at arc.net.my
Sun Jul 22 09:15:37 EDT 2007


Hi there,

What is the best-current-way to configure the following Cisco-speak to 
JUNOS.

Thanks in advance,

-nick/

route-map UPSTREAM-OUT permit 10
  match ip address prefix-list AS111-BLOCK AS222-BLOCK AS2221-BLOCK
  match as-path 20
!
route-map UPSTREAM-OUT permit 15
  match ip address prefix-list AS333-BLOCK AS3331-BLOCK
  match as-path 20
  set community 1234:567
!
ip as-path access-list 20 permit ^(_111)+$
ip as-path access-list 20 permit ^(_222)+$
ip as-path access-list 20 permit ^(_222)+(_2221)+$
ip as-path access-list 20 permit ^(_333)+$
ip as-path access-list 20 permit ^(_333)+(_3331)+$
!
ip prefix-list AS111-BLOCK seq 5 permit 1.2.3.4/19
ip prefix-list AS222-BLOCK seq 5 permit 5.6.7.8/24
ip prefix-list AS2221-BLOCK seq 5 permit 9.10.11.12/19
ip prefix-list AS333-BLOCK seq 5 permit 12.14.15.16/21
ip prefix-list AS3331-BLOCK seq 5 permit 18.19.20.21/19


More information about the juniper-nsp mailing list