PC1% /etc/rc.d/init.d/zebra restart
PC1% /etc/rc.d/init.d/ospfd start
To configure OSPF routing process, connect via Telnet
PC1% telnet localhost 2604
Password: rootroot
Other commands that might be useful with OSPF
PC1% echo 1 > /proc/sys/net/ipv4/ip_forward
PC1% /etc/rc.d/init.d/ospfd stop
PC1% /etc/rc.d/init.d/ospfd status
An example:
ospfd> enable
ospfd# configure terminal
ospfd(config)# router ospf
ospf(config-router)# network 10.0.0.0/8 area 1
ospf(config-router)# router-id 10.0.1.1
ospf(config-router)# no passive-interface eth0
ospf(config-router)# no passive-interface eth1
ospf(config-router)# end
ospfd# exit
|