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 ?
Netscreen - Enabling OSPF
Sunday, 18 October 2009 21:40
Firewalls - Juniper - Netscreen
The Open Shortest Path First (OSPF) routing protocol is an Interior Gateway rotocol (IGP) intended to operate within a single Autonomous System (AS). A router running OSPF distributes its state information (such as usable interfaces and neighbor reachability) by periodically flooding link-state advertisements (LSAs)
throughout the AS.
Enabling OSPF on a VR
set vrouter trust-vr router-id 10
set vrouter trust-vr protocol ospf
set vrouter trust-vr protocol ospf enable
Creating an OSPF Area
set vrouter trust-vr protocol ospf area 10
Assigning Interfaces to an OSPF Area
set interface ethernet1 protocol ospf area 10
set interface ethernet3 protocol ospf area 0
Configuring an Area Range
set vrouter trust-vr protocol ospf area 10 range 10.1.1.0/24 advertise
set vrouter trust-vr protocol ospf area 10 range 10.1.2.0/24 no-advertise
Enabling OSPF on an Interface
set interface ethernet1 protocol ospf enable
set interface ethernet3 protocol ospf enable
Route Redistibtuion (BGP routes into OSPF)
set vrouter trust-vr protocol ospf redistribute route-map add-bgp protocol bgp
Show Commands
get vrouter trust-vr protocol ospf config
get vrouter trust-vr protocol ospf
get vrouter trust-vr protocol ospf interface
Route Summerisation
enable route summerisaton for external routes and advertise only summary routeset vrouter trust-vr protocol ospf summary-import ip 10.50.1.0/20
enable route summerisation for area 10 and advertise only the summary routeset vrouter trust-vr protocol ospf area 10 range 10.50.1.0/20 advertise
Note : After running any of these commands issue the command `save` to ensure your changes are permanent post reboot.