17: Configuring OSPF (Open Shortest Path First)
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW2020 Series User Manual
Issue: 2.1
Page 149 of 423
ospfd.@interface[1].hello_interval=30
ospfd.@interface[1].dead_interval=120
ospfd.@interface[1].auth_mode=md5
ospfd.@interface[1].key_id=1
ospfd.@interface[1].md5_auth_key=test
17.6
OSPF using package options
root@VA_router:~# uci export ospfd
package ospfd
config routing 'ospfd'
option enabled 'yes'
option default_info_originate 'yes'
option router_id '1.2.3.4'
config network
option ip_addr '12.1.1.1'
option mask_length '24'
option area '0'
option stub_area 'yes'
config interface
option ospf_interface 'lan8'
option hello_interval '10'
option dead_interval '40'
option network_type 'broadcast'
option passive 'yes'
option auth_mode 'text'
option text_auth_key 'secret'
config interface
option ospf_interface 'lan7'
option network_type 'point-to-point'
option passive 'no'
option hello_interval '30'
option dead_interval '120'