ospfd 0.1 ospfd: Settings pkg_edit.php?xml=ospfd.xml&id=0 ospfd Modify ospfd settings.
Services
ospfd.xml /pkg_edit.php?xml=ospfd.xml&id=0
ospfd ospfd.sh ospfd installedpackages->package->$packagename->configuration->settings Router ID Router ID Specify the Router ID. input Area Area OSPF area for this instance of OSPFd. input Update FIB (Routing table) enable Enables the updating of the host routing table checkbox Listening Interface interface Enter the desired participating interface here. interfaces_selection Metric Metric Metric for this OSPF interface (leave blank for default). input Enable MD5 password for this OSPFd interface (default no) enable Enables the use of an MD5 password to on this instance checkbox Password Password Password for this OSPF interface. input Redistribute connected subnets enable Enables the redistribution of connected networks (Default no) checkbox Redistribute default route enable Enables the redistribution of a default route to this device (Default no) checkbox Router Priority Router priority for DR elections Router priority when participating in elections for DR (Default 1) Valid range is 0-255. 0 will cause the router to not participate in election. input Hello Interval Hello Interval in seconds Hello Interval this OSPF interface in seconds (Default 10). input Retransmit Interval Retransmit Interval Retransmit Interval this OSPF interface in seconds (Default 5). input Dead Timer Dead Timer Dead Timer for this OSPF interface in seconds (Default 40). input Redistribute static enable Enables the redistribution of static routes checkbox function sync_package_ospfd() { conf_mount_rw(); config_lock(); global $config; foreach($config['installedpackages']['ospfd']['config'] as $cf) { if($cf['host'] != "") { $start .= "/usr/local/sbin/ospfd "; $start .= " -n {$cf['host']}"; if($cf['port'] != "") $start .= ":{$cf['port']}"; if($cf['direction'] != "") $start .= " -S {$cf['direction']}"; if($cf['version'] != "") $start .= " -v {$cf['version']}"; write_rcfile(array( "file" => "ospfd.sh", "start" => $start, "stop" => "/usr/bin/killall ospfd" ) ); restart_service("ospfd"); break; } } conf_mount_ro(); config_unlock(); } sync_package_ospfd();