20: Configuring OSPF (Open Shortest Path First)
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 182 of 463
ospfd.@interface[1].passive=no
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
20.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'