OSPF Network Design Solutions
set metric-type
To set the metric type for the destination routing protocol, use the set metric-type route map command. To return to the default, use the no form of this command. The syntax for this command (and the no form) is as follows: set metric-type {internal | external | type-1 | type-2} no set metric-type {internal | external | type-1 | type-2} Syntax Description:
Default: Disabled. Command Mode: Route map configuration. Usage Guidelines: Use the route-map global configuration command with match and set route-map configuration commands to define the conditions for redistributing routes from one routing protocol into another. Each route-map command has a list of match and set commands associated with it. The match commands specify the match criteriathe conditions under which redistribution is allowed for the current route map. The set commands specify the set actionsthe particular redistribution actions to perform if the criteria enforced by the match commands are met. The no route-map command deletes the route map. The set route-map configuration commands specify the redistribution set actions to be performed when all of a route maps match criteria are met. When all match criteria are met, all set actions are performed. Example: In the following example, the metric type of the destination protocol is set to OSPF external type 1: route-map map-type set metric-type type-1 Related Commands:
summary-address
Use the summary-address router configuration command to create aggregate addresses for IS-IS or OSPF. The no summary-address command restores the default. The syntax for this command (and the no form) is as follows: summary-address address mask {level-1 | level-1-2 | level-2} prefix mask [not-advertise] [tag tag] no summary-address address mask {level-1 | level-1-2 | level-2} Syntax Description:
timers spf
To configure the delay time between when OSPF receives a topology change and when it starts a Shortest Path First (SPF) calculation, and the hold time between two consecutive SPF calculations, use the timers spf router configuration command. To return to the default timer values, use the no form of this command. The syntax for this command (and the no form) is as follows: timers spf spf-delay spf-holdtime no timers spf spf-delay spf-holdtime Syntax Description:
Defaults: For spf-delay, the default is 5 seconds; for spf-holdtime, the default is 10 seconds. Router Command Mode: Router configuration. Usage Guidelines: Setting the delay and hold time low causes routing to switch to the alternate path more quickly in the event of a failure. Example: The following example changes the delay to 10 seconds and the hold time to 20 seconds. Timers spf 10 20 OSPF Error Messages
This section consolidates a variety of the available OSPF error messages for Cisco routers and in some cases provides additional support and explanation.
Notes: The list of system error messages in this section is incomplete. If you encounter an error message for OSPF not listed here, then contact your Cisco representative immediately. %OSPF-4-BADLENGTH Error Message
The full text for this error message is as follows: %OSPF-4-BADLENGTH: Invalid length [dec] in OSPF packet from [inet] (ID [inet]], [chars] Explanation: The system received an OSPF packet with a length field of less than normal header size or inconsistent with the size of the IP packet in which it arrived. This indicates an error in the sender of the packet. Recommended Action: Copy the error message exactly as it appears, and report it to your technical support representative.
|