ORIGINATE_RIP_DEFAULT statement
Use the ORIGINATE_RIP_DEFAULT statement to indicate under what conditions RIP supports Default route (destination/mask 0.0.0.0/0.0.0.0) generation.
This statement determines whether or not a default route is considered available by OMPROUTE RIP. The SEND_DEFAULT_ROUTES parameter on the RIP_INTERFACE statement determines whether or not an available default route is advertised by a particular RIP interface.
Syntax
Parameters
- Condition
- Condition for when RIP is to advertise this router as a default
router. Valid values are:
- Always
- Always originate RIP default. This is the default value.
- OSPF
- Originate RIP default if OSPF routes are available.
- Never
- Never advertise this router as a default router.
- Cost
- Specifies the cost that RIP advertises with the default route that it originates. Valid values are in the range 1 - 16. The default value is 1.
- Accept_Default
- Specifies whether or not OMPROUTE RIP accepts default routes
from inbound RIP packets whose cost is higher than default routes
originated by the host.
Tip: OMPROUTE RIP always accept default routes from inbound RIP packets whose cost is lower than default routes originated by the host.
A value of YES indicates that OMPROUTE RIP replaces this router's originated default route with a default route learned from inbound RIP packets, even if that learned default route has a higher cost than this router's originated default route.
Results:- When YES is coded, this router's originated default route is only used if no other default routes are learned from inbound RIP packets. A value of NO indicates that OMPROUTE RIP replaces this router's originated default route with a default route learned from inbound RIP packets only when the learned RIP route has a lower cost than this router's originated default route. This is the default value.
- When this parameter value is NO (either coded or by default), and the other parameters in this statement take their default values (CONDITION=ALWAYS and COST=1), OMPROUTE RIP never accepts default routes learned from RIP packets because it is not possible to learn a RIP route whose cost is less than 1.
