Dynamic routing protocols: BGP, OSPF, RIP
shows the information about the state of the RIP process
debug rip <options>
enables the log functions of the protocol. For example:
debug rip packet
debug rip event
debug rip all
OSPF PROTOCOL CONFIGURATION
For OSPF configuration the command is:
set ospf <OSPF command>
With the command:
set ospf no-<OSPF command>
the OSPF directive will be removed from the configuration.
With the following example the OSPF will be activated on network interfaces with 10.10.113.1 and
172.151.113.1 IP addresses:
set ospf network 10.10.0.0/16 area 0.0.0.0
set ospf network 171.151.0.0/16 area 0.0.0.0
set ospf on
In order to configure parameters related to a specific interface, the command is:
set ospf interface <ifname> <parameter> <value>
For example, in order to set a cost and a priority on pvc0 interface, the commands are:
set ospf interface pvc0 ospf cost 1000
set ospf interface pvc0 ospf priority 50
In order to stop and disable the OSPF protocol the commands are:
set ospf off
set no-ospf
OSPF route list can be displayed with the command:
show ip route ospf
In order to check if the OSPF protocol is working correctly some commands are available:
show ip ospf neighbor
show ip ospf border-routers
show ip ospf database
show ip ospf route
Debugging can be enabled by using the command:
debug ospf <options>
Here following some OSPF directives configurable using the set OSPF directive command: