Popular
Latest Articles
- How to Secure your Cisco Router
- Creating CLI Views on a Cisco Router
- Configuring TACACS+ on a Cisco Router
- How to enable SDM on your router
- Build a Samba Server on Redhat / CentOS
- How to set the Time / Date and Timezone in CentOS
- How to install SSH on Solaris 10 x86
- ESX4 - How do I turn on/off a Virtual Machine from the command line ?
Enabling RIP on a Netscreen
Sunday, 20 September 2009 09:03
Firewalls - Juniper - Netscreen
Routing Information Protocol (RIP) is a distance vector protocol used as an Interior Gateway Protocol (IGP) in moderate-sized autonomous systems (AS).
Enabling RIP on a VR and an Interface
set vrouter trust-vr router-id 10
set vrouter trust-vr protocol rip
set vrouter trust-vr protocol rip enable
set interface trust protocol rip enable
Advertise the default route
set vrouter trust-vr protocol rip advertise-def-route metric number
Redistrubute static routes to RIP (static routes into RIP)
set vrouter trust-vr access-list 20 permit ip 20.1.0.0/16 1
set vrouter trust-vr route-map name rtmap1 permit 1
set vrouter trust-vr route-map rtmap1 1 match ip 20
set vrouter trust-vr protocol rip redistribute route-map rtmap1 protocol static
set vrouter trust-vr protocol rip
set vrouter trust-vr protocol rip enable
set interface tunnel.1 protocol rip enable
set interface trust protocol rip enable
set vrouter trust-vr access-list 10 permit ip 10.10.0.0/16 10
set vrouter trust-vr route-map name abcd permit 10
set vrouter trust-vr route-map abcd 10 match ip 10
set vrouter trust-vr protocol rip route-map abcd out
Show Comamnds
get vrouter trust-vr protocol rip database
get vrouter trust-vr protocol rip
get vrouter trust-vr protocol rip neighbors
Note : After running any of these commands issue the command `save` to ensure your changes are permanent post reboot.