[j-nsp] Interface policy route-map/next-hop

Link King king at kinger.net
Mon Mar 31 10:47:50 EST 2003


Hi folks.

I'm in the process of converting Cisco configurations to Juniper and am
trying to setup a policy statement to set next-hop addresses on a physical
interface.  Setup on Cisco as follows:

interface FastEthernet0/0
 ip address 10.0.0.1 255.255.255.0
 ip address 10.0.1.1 255.255.255.0 secondary
 ip route-cache policy
 ip policy route-map next-hop
!
access-list 10 permit 10.0.0.0 0.0.0.255
access-list 10 deny any
access-list 20 permit 10.0.1.0 0.0.0.255
access-list 20 deny any
!
route-map next-hop permit 10
 match ip address 10
 set ip next-hop 192.168.0.1
!
route-map next-hop permit 20
 match ip address 20
 set ip next-hop 192.168.1.1

I'm struggling with how to set this up on a Juniper M5 (running 5.6R1.3 if
that matters).  Any help would be greatly appreciated.  Thanks!

Link King
king at kinger.net


More information about the juniper-nsp mailing list