General OSPF Commands
Use these commands to configure general OSPF settings.
router ospf
M4350
Use this command to enter Router OSPF Config mode.
| Format | router ospf |
| Mode | Global Config |
enable (Router OSPF Config)
M4350
This command enables the administrative mode of OSPF on the switch.
| Default | enabled |
| Format | enable |
| Mode | Router OSPF Config |
no enable (Router OSPF Config)
This command disables the administrative mode of OSPF on the switch.
| Format | no enable |
| Mode | Router OSPF Config |
network area (Router OSPF Config)
M4350
This command enables OSPFv2 on an interface and sets its area ID if the IP address of an interface is covered by this network command.
| Default | disabled |
| Format | network ip-address wildcard-mask area area-id |
| Mode | Router OSPF Config |
no network area (Router OSPF Config)
This command disables OSPFv2 on an interface if the IP address of an interface was earlier covered by this network command.
| Format | no network ip-address wildcard-mask area area-id |
| Mode | Router OSPF Config |
1583compatibility
M4350
This command enables OSPF 1583 compatibility.
| Default | enabled |
| Format | 1583compatibility |
| Mode | Router OSPF Config |
no 1583compatibility (Router OSPF Config)
This command disables OSPF 1583 compatibility.
| Format | no 1583compatibility |
| Mode | Router OSPF Config |
area default-cost (Router OSPF Config)
M4350
This command configures the metric default cost for the stub area. For the value argument, you must specify an integer value between 1–16777215.
| Format | area area-id default-cost value |
| Mode | Router OSPF Config |
no area default-cost (Router OSPF Config)
This command resets the metric default cost for the stub area.
| Format | no area area-id default-cost |
| Mode | Router OSPF Config |
area nssa (Router OSPF Config)
M4350
This command configures the specified area-id to function as an NSSA.
| Format | area area-id nssa |
| Mode | Router OSPF Config |
no area nssa (Router OSPF Config)
This command disables NSSA from the specified area id.
| Format | no area area-id nssa |
| Mode | Router OSPF Config |
area nssa default-info-originate (Router OSPF Config)
M4350
This command configures the metric value and type for the default route advertised into the NSSA. The optional metric parameter specifies the metric of the default route and must be in the range 1–16777214. If no metric is specified, the default value is ****. The metric type can be comparable (nssa-external 1) or noncomparable (nssa-external 2).
| Format | area area-id nssa default-info-originate [metric] [comparable | non-comparable] |
| Mode | Router OSPF Config |
no area nssa default-info-originate (Router OSPF Config)
This command disables the default route advertised into the NSSA.
| Format | no area area-id nssa default-info-originate [metric] [comparable | non-comparable] |
| Mode | Router OSPF Config |
area nssa no-redistribute (Router OSPF Config)
M4350
This command configures the NSSA Area Border router (ABR) so that learned external routes will not be redistributed to the NSSA.
| Format | area area-id nssa no-redistribute |
| Mode | Router OSPF Config |
no area nssa no-redistribute (Router OSPF Config)
This command disables the NSSA ABR so that learned external routes are redistributed to the NSSA.
| Format | no area area-id nssa no-redistribute |
| Mode | Router OSPF Config |
area nssa no-summary (Router OSPF Config)
M4350
This command configures the NSSA so that summary LSAs are not advertised into the NSSA.
| Format | area area-id nssa no-summary |
| Mode | Router OSPF Config |
no area nssa no-summary (Router OSPF Config)
This command disables nssa from the summary LSAs.
| Format | no area area-id nssa no-summary |
| Mode | Router OSPF Config |
area nssa translator-role (Router OSPF Config)
M4350
This command configures the translator role of the NSSA. The always keyword lets the switch assume the role of the translator when it becomes a border router. The candidate keyword lets the switch participate in the translator election process when it attains border router status.
| Format | area area-id nssa translator-role {always | candidate} |
| Mode | Router OSPF Config |
no area nssa translator-role (Router OSPF Config)
This command disables the NSSA translator role from the specified area id.
| Format | no area area-id nssa translator-role {always | candidate} |
| Mode | Router OSPF Config |
area nssa translator-stab-intv (Router OSPF Config)
M4350
This command configures the translator stabilityinterval of the NSSA. The stabilityinterval is the period of time that an elected translator continues to perform its duties after it determines that its translator status has been deposed by another router.
| Format | area area-id nssa translator-stab-intv stabilityinterval |
| Mode | Router OSPF Config |
no area nssa translator-stab-intv (Router OSPF Config)
This command disables the nssa translator’s stabilityinterval from the specified area id.
| Format | no area area-id nssa translator-stab-intv stabilityinterval |
| Mode | Router OSPF Config |
area range (Router OSPF Config)
M4350
Use this command in Router Configuration mode to configure a summary prefix that an area border router advertises for a specific area.
| Default | No area ranges are configured by default. No cost is configured by default. |
| Format | area area-id range ip-address netmask {summarylink | nssaexternallink} [advertise | not-advertise] [cost cost] |
| Mode | Router OSPF Config |
| Parameter | Description |
|---|---|
| area-id | The area identifier for the area whose networks are to be summarized. |
| prefix netmask | The summary prefix to be advertised when the ABR computes a route to one or more networks within this prefix in this area. |
| summarylink | The area range is used when summarizing prefixes advertised in type 3 summary LSAs. |
| nssaexternallink | The area range is used when translating type 7 LSAs to type 5 LSAs. |
| advertise | [Optional] The summary prefix is advertised when the area range is active. This is the default. |
| not-advertise | [Optional] Neither the summary prefix nor the contained prefixes are advertised when the area range is active. With the not-advertise option, any static cost previously configured is removed from the system configuration. |
| cost | [Optional] OSPF sets the metric field in the summary LSA to the configured value rather than setting the metric to the largest cost among the networks covered by the area range. A static cost may only be configured if the area range is configured to advertise the summary. The range is 0 to 16,777,215. If the cost is set to 16,777,215 for type 3 summarization, a type 3 summary LSA is not advertised, but contained networks are suppressed. This behavior is equivalent to specifying the not-advertise option. If the range is configured for type 7 to type 5 translation, a type 5 LSA is sent if the metric is set to 16,777,215; however, other routers will not compute a route from a type 5 LSA with this metric. |
no area range (Router OSPF Config)
This command deletes a specified area range or reverts an option to its default.
| Format | no area area-id range prefix netmask {summarylink | nssaexternallink} [advertise | not-advertise] [cost] |
| Mode | Router OSPF Config |
Command example:
!! Create area range
(NETGEAR Switch) (Config-router)#area 1 range 10.0.0.0 255.0.0.0 summarylink
!! Delete area range
(NETGEAR Switch) (Config-router)#no area 1 range 10.0.0.0 255.0.0.0 summarylink
You can use the no area range command to revert the [advertise | not-advertise] option to its default without deleting the area range. Deleting and recreating the area range would cause OSPF to temporarily advertise the prefixes contained within the range. Note that using either the advertise or not-advertise keyword reverts the configuration to the default. For example:
!! Create area range. Suppress summary.
(NETGEAR Switch) (Config-router)#area 1 range 10.0.0.0 255.0.0.0 summarylink
not-advertise
!! Advertise summary.
(NETGEAR Switch) (Config-router)#no area 1 range 10.0.0.0 255.0.0.0 summarylink
not-advertise
You can also use the no area range command to remove a static area range cost, so that OSPF sets the cost to the largest cost among the contained routes.
!! Create area range with static cost.
(NETGEAR Switch) (Config-router)#area 1 range 10.0.0.0 255.0.0.0 summarylink cost 1000
!! Remove static cost.
(NETGEAR Switch) (Config-router)#no area 1 range 10.0.0.0 255.0.0.0 summarylink cost
area stub (Router OSPF Config)
M4350
This command creates a stub area for the specified area ID. A stub area is characterized by the fact that AS External LSAs are not propagated into the area. Removing AS External LSAs and Summary LSAs can significantly reduce the link state database of routers within the stub area.
| Format | area area-id stub |
| Mode | Router OSPF Config |
no area stub (Router OSPF Config)
This command deletes a stub area for the specified area ID.
| Format | no area area-id stub |
| Mode | Router OSPF Config |
area stub no-summary (Router OSPF Config)
M4350
This command configures the Summary LSA mode for the stub area identified by area-id. Use this command to prevent LSA Summaries from being sent.
| Default | disabled |
| Format | area area-id stub no-summary |
| Mode | Router OSPF Config |
no area stub no-summary (Router OSPF Config)
This command configures the default Summary LSA mode for the stub area identified by area-id.
| Format | no area area-id stub no-summary |
| Mode | Router OSPF Config |
area virtual-link (Router OSPF Config)
M4350
This command creates the OSPF virtual interface for the specified area-id and neighbor. The neighbor parameter is the router ID of the neighbor.
| Format | area area-id virtual-link neighbor |
| Mode | Router OSPF Config |
no area virtual-link (Router OSPF Config)
This command deletes the OSPF virtual interface from the interface, identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor.
| Format | no area area-id virtual-link neighbor |
| Mode | Router OSPF Config |
area virtual-link authentication
M4350
This command configures the authentication type and key for the OSPF virtual interface identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor. The type of authentication can be either none, simple, or encrypt. If you select simple or encrypt, the key parameter is composed of standard displayable, noncontrol keystrokes from a standard 101/102-key keyboard. The authentication key must be 8 bytes or less if the authentication type is simple. If the type is encrypt, the key can be up to 16 bytes. Unauthenticated interfaces do not need an authentication key. If the type is encrypt, a keyid in the range of 0 and 255 must be specified. The default value for authentication type is none. Neither the default password key nor the default key id are configured.
| Default | none |
| Format | area area-id virtual-link neighbor authentication {none | simple key | encrypt key keyid} |
| Mode | Router OSPF Config |
no area virtual-link authentication (Router OSPF Config)
This command configures the default authentication type for the OSPF virtual interface identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor.
| Format | no area area-id virtual-link neighbor authentication |
| Mode | Router OSPF Config |
area virtual-link dead-interval (Router OSPF Config)
M4350
This command configures the dead interval for the OSPF virtual interface on the virtual interface identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor. The range for seconds is 1 to 65535.
| Default | 40 |
| Format | area area-id virtual-link neighbor dead-interval seconds |
| Mode | Router OSPF Config |
no area virtual-link dead-interval (Router OSPF Config)
This command configures the default dead interval for the OSPF virtual interface on the virtual interface identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor.
| Format | no area area-id virtual-link neighbor dead-interval |
| Mode | Router OSPF Config |
area virtual-link hello-interval (Router OSPF Config)
M4350
This command configures the hello interval for the OSPF virtual interface on the virtual interface identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor. The range for seconds is 1 to 65535.
| Default | 10 |
| Format | area area-id virtual-link neighbor hello-interval 1-65535 |
| Mode | Router OSPF Config |
no area virtual-link hello-interval (Router OSPF Config)
This command configures the default hello interval for the OSPF virtual interface on the virtual interface identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor.
| Format | no area area-id virtual-link neighbor hello-interval |
| Mode | Router OSPF Config |
area virtual-link retransmit-interval (Router OSPF Config)
M4350
This command configures the retransmit interval for the OSPF virtual interface on the virtual interface identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor. The range for seconds is 0 to 3600.
| Default | 5 |
| Format | area area-id virtual-link neighbor retransmit-interval seconds |
| Mode | Router OSPF Config |
no area virtual-link retransmit-interval (Router OSPF Config)
This command configures the default retransmit interval for the OSPF virtual interface on the virtual interface identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor.
| Format | no area area-id virtual-link neighbor retransmit-interval |
| Mode | Router OSPF Config |
area virtual-link transmit-delay (Router OSPF Config)
M4350
This command configures the transmit delay for the OSPF virtual interface on the virtual interface identified by area-id and neighbor. The neighbor parameter is the router ID of the neighbor. The range for seconds is 0 to 3600 (1 hour).
| Default | 1 |
| Format | area area-id virtual-link neighbor transmit-delay seconds |
| Mode | Router OSPF Config |
no area virtual-link transmit-delay (Router OSPF Config)
This command resets the default transmit delay for the OSPF virtual interface to the default value.
| Format | no area area-id virtual-link neighbor transmit-delay |
| Mode | Router OSPF Config |
auto-cost (Router OSPF Config)
M4350
By default, OSPF computes the link cost of each interface from the interface bandwidth. Faster links have lower metrics, making them more attractive in route selection. The configuration parameters in the auto-cost reference-bandwidth and bandwidth commands give you control over the default link cost. You can configure for OSPF an interface bandwidth that is independent of the actual link speed. A second configuration parameter allows you to control the ratio of interface bandwidth to link cost. The link cost is computed as the ratio of a reference bandwidth to the interface bandwidth (ref_bw / interface bandwidth), in which interface bandwidth is defined by the bandwidth command.
Because the default reference bandwidth is 100 Mbps, OSPF uses the same default link cost for all interfaces whose bandwidth is 100 Mbps or greater. Use the auto-cost command to change the reference bandwidth, specifying the reference bandwidth in megabits per second (Mbps). For the mbps parameter, the reference bandwidth range is 1–4294967 Mbps.
| Default | 100 Mbps |
| Format | auto-cost reference-bandwidth mbps |
| Mode | Router OSPF Config |
no auto-cost reference-bandwidth (Router OSPF Config)
Use this command to set the reference bandwidth to the default value.
| Format | no auto-cost reference-bandwidth |
| Mode | Router OSPF Config |
capability opaque
M4350
Use this command to enable opaque capability functionality on the switch. The information contained in opaque LSAs can be used directly by OSPF or indirectly by an application that distributes information throughout the OSPF domain. The switch supports storing and flooding of opaque LSAs of different scopes. When you enter the capability opaque command, OSPF forwards opaque LSAs by default.
| Default | enabled |
| Format | capability opaque |
| Mode | Router Config |
no capability opaque
Use this command to disable opaque capability on the router.
| Format | no capability opaque |
| Mode | Router Config |
clear ip ospf
M4350
Use this command to disable and re-enable OSPF.
| Format | clear ip ospf |
| Mode | Privileged EXEC |
clear ip ospf configuration
M4350
Use this command to reset the OSPF configuration to factory defaults.
| Format | clear ip ospf configuration |
| Mode | Privileged EXEC |
clear ip ospf counters
M4350
Use this command to reset global and interface statistics.
| Format | clear ip ospf counters |
| Mode | Privileged EXEC |
clear ip ospf neighbor
M4350
Use this command to drop the adjacency with all OSPF neighbors. On each neighbor’s interface, send a one-way hello. Adjacencies may then be re-established. To drop all adjacencies with a specific router ID, specify the neighbor’s router ID using the optional parameter neighbor-id.
| Format | clear ip ospf neighbor [neighbor-id] |
| Mode | Privileged EXEC |
clear ip ospf neighbor interface
M4350
To drop adjacency with all neighbors on a specific interface, use the optional parameter unit/slot/port. To drop adjacency with a specific router ID or IP address on a specific interface, use the optional parameter neighbor-id.
| Format | clear ip ospf neighbor interface [unit/slot/port | vlan vlan-id] [neighbor-id] |
| Mode | Privileged EXEC |
clear ip ospf redistribution
M4350
Use this command to flush all self-originated external LSAs. Reapply the redistribution configuration and reoriginate prefixes as necessary.
| Format | clear ip ospf redistribution |
| Mode | Privileged EXEC |
default-information originate (Router OSPF Config)
M4350
This command is used to control the advertisement of default routes. The metric argument can be a number in the range 0–16777214. The metric type can be 1 or 2.
| Default |
metric—unspecified type—2 |
| Format | default-information originate [always] [metric metric] [metric-type {1 | 2}] |
| Mode | Router OSPF Config |
no default-information originate (Router OSPF Config)
This command is used to reset the advertisement of default routes to default values.
| Format | no default-information originate [metric] [metric-type] |
| Mode | Router OSPF Config |
default-metric (Router OSPF Config)
M4350
This command is used to set a default for the metric of distributed routes. The metric argument can be a number in the range 0–16777214.
| Format | default-metric metric |
| Mode | Router OSPF Config |
no default-metric (Router OSPF Config)
This command is used to reset the default for the metric of distributed routes.
| Format | no default-metric |
| Mode | Router OSPF Config |
distance ospf (Router OSPF Config)
M4350
This command sets the route preference value of OSPF on the switch. Lower route preference values are preferred when determining the best route. The type of OSPF route can be intra-area, inter-area, or external. All the external type routes are given the same preference value. The range of preference value is 1 to 255.
| Default | 110 |
| Format | distance ospf {intra-area preference | inter-area preference | external preference} |
| Mode | Router OSPF Config |
no distance ospf (Router OSPF Config)
This command resets the default route preference value of OSPF routes on the switch. The type of OSPF route can be intra-area, inter-area, or external.
| Format | no distance ospf {intra-area | inter-area | external} |
| Mode | Router OSPF Config |
distribute-list out (Router OSPF Config)
M4350
Use this command to specify the access list to filter routes received from the source protocol. The access-list argument can be a number from 1–199.
| Format | distribute-list access-list out {rip | static | connected} |
| Mode | Router OSPF Config |
no distribute-list out (Router OSPF Config)
Use this command to reset the access list to filter routes received from the source protocol.
| Format | no distribute-list access-list out {rip | static | connected} |
| Mode | Router OSPF Config |
distribute-list route-map (Router OSPF Config)
M4350
This command uses a route map to prevent the incoming OSPF routes from being added to the routing table. The route maps can match on one or more attributes of the OSPF route. The name argument is the name of an existing route map.
| Format | distribute-list route-map name in |
| Mode | Router OSPF Config |
no distribute-list route-map (Router OSPF Config)
Use this command to remove the route map for filtering incoming OSPF routes.
| Format | no distribute-list route-map in |
| Mode | Router OSPF Config |
exit-overflow-interval (Router OSPF Config)
M4350
This command configures the exit overflow interval for OSPF. It describes the number of seconds after entering the overflow state that the switch waits before leaving the overflow state. This allows the switch to originate nondefault AS-external-LSAs again. When set to 0, the switch does not leave the overflow state until it is restarted. The range for the seconds argument is 0 to 2147483647 seconds.
| Default | 0 |
| Format | exit-overflow-interval seconds |
| Mode | Router OSPF Config |
no exit-overflow-interval (Router OSPF Config)
This command configures the default exit overflow interval for OSPF.
| Format | no exit-overflow-interval |
| Mode | Router OSPF Config |
external-lsdb-limit (Router OSPF Config)
M4350
This command configures the external LSDB limit for OSPF. If the value is -1, there is no limit. When the number of nondefault AS-external-LSAs in the switch’s link-state database reaches the external LSDB limit, the switch enters the overflow state. The switch cannot hold more than the limit of external LSDB, nondefault AS-external-LSAs in its database. The external LSDB limit must be set identically in all routers (or routing-capable switches) attached to the OSPF backbone or any regular OSPF area. The range for the limit argument is -1 to 2147483647.
| Default | -1 |
| Format | external-lsdb-limit limit |
| Mode | Router OSPF Config |
no external-lsdb-limit (Router OSPF Config)
This command configures the default external LSDB limit for OSPF.
| Format | no external-lsdb-limit |
| Mode | Router OSPF Config |
log-adjacency-changes
M4350
This command enables logging of OSPFv2 neighbor state changes. State changes are logged with the informational severity.
| Default | Adjacency state changes are logged, but without the detail option. |
| Format | log-adjacency-changes [detail] |
| Mode | Router OSPF Config |
| Parameter | Description |
|---|---|
| detail | (Optional) When this keyword is specified, all adjacency state changes are logged. Otherwise, OSPF only logs transitions to FULL state and when a backwards transition occurs. |
no log-adjacency-changes (Router OSPF Config)
This command disables the logging of OSPFv2 neighbor state changes.
| Format | no log-adjacency-changes [detail] |
| Mode | Router OSPF Config |
prefix-suppression (Router OSPF Config)
M4350
This command suppresses the advertisement of all the IPv4 prefixes except for prefixes that are associated with secondary IPv4 addresses, loopbacks, and passive interfaces from the OSPFv2 router advertisements.
To suppress a loopback or passive interface, use the ip ospf prefix-suppression command in interface configuration mode. Prefixes associated with secondary IPv4 addresses can never be suppressed.
| Default | Prefix suppression is disabled. |
| Format | prefix-suppression |
| Mode | Router OSPF Config |
no prefix-suppression (Router OSPF Config)
This command disables prefix-suppression. No prefixes are suppressed from getting advertised.
| Format | no prefix-suppression |
| Mode | Router OSPF Config |
router-id (Router OSPF Config)
M4350
This command sets a 4-digit dotted-decimal number uniquely identifying the router OSPF ID. The ipaddress is a configured value.
| Format | router-id ipaddress |
| Mode | Router OSPF Config |
no router-id (Router OSPF Config)
This command resets the router OSPF ID.
| Format | no router-id |
| Mode | Router OSPF Config |
redistribute (Router OSPF Config)
M4350
This command configures the OSPF protocol to allow redistribution of static, connected, or RIP routes. The metric argument is from 0 to 16777214. The metric-type keyword can be 1 or 2. The tag argument is from 0 to 4294967295.
In addition, for the route-map-name argument, you can specify the name of an existing route map. You can also specify the subnets keyword to allow subnets to be redistributed into OSPF.
| Default |
metric: Not specified type: 2 tag: 0 |
| Format | redistribute {static | connected | rip} [route-map route-map-name | [metric metric] [metric-type {1 | 2}] [tag tag] [route-map route-map-name]] [subnets] |
| Mode | Router OSPF Config |
Command example:
(NETGEAR Switch)(Config)#router ospf
(NETGEAR Switch)(config-router)#redistribute connected metric-type 1 route-map
SecureRoutes subnets
no redistribute (Router OSPF Config)
This command disables the OSPF protocol from redistributing static, connected, or RIP routes.
| Format | no redistribute {static | connected | rip} [route-map | [metric] [metric-type] [tag] [route-map]] [subnets] |
| Mode | Router OSPF Config |
maximum-paths (Router OSPF Config)
M4350
This command sets the number of paths (from 1 to 16) that OSPF can report for a destination in which maxpaths is platform dependent.
| Default | 4 |
| Format | maximum-paths maxpaths |
| Mode | Router OSPF Config |
no maximum-paths (Router OSPF Config)
This command resets the number of paths that OSPF can report for a destination back to its default value.
| Format | no maximum-paths |
| Mode | Router OSPF Config |
passive-interface default (Router OSPF Config)
M4350
Use this command to enable global passive mode by default for all interfaces. It overrides any interface level passive mode. OSPF will not form adjacencies over a passive interface.
| Default | disabled |
| Format | passive-interface default |
| Mode | Router OSPF Config |
no passive-interface default (Router OSPF Config)
Use this command to disable the global passive mode by default for all interfaces. Any interface previously configured to be passive reverts to nonpassive mode.
| Format | no passive-interface default |
| Mode | Router OSPF Config |
passive-interface (Router OSPF Config)
M4350
Use this command to set the interface as passive. It overrides the global passive mode that is currently effective on the interface. The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id can be a number from 1–4093.
| Default | disabled |
| Format | passive-interface {unit/slot/port | vlan vlan-id} |
| Mode | Router OSPF Config |
no passive-interface (Router OSPF Config)
Use this command to set the interface as nonpassive. It overrides the global passive mode that is currently effective on the interface. The argument unit/slot/port corresponds to a physical routing interface or VLAN routing interface. The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id can be a number from 1–4093.
| Format | no passive-interface {unit/slot/port | vlan vlan-id} |
| Mode | Router OSPF Config |
timers pacing flood (Router OSPF Config)
M4350
To adjust the rate at which OSPFv2 sends LS Update packets, use the timers pacing flood command in router OSPFv2 global configuration mode. OSPF distributes routing information in Link State Advertisements (LSAs), which are bundled into Link State Update (LS Update) packets. To reduce the likelihood of sending a neighbor more packets than it can buffer, OSPF rate limits the transmission of LS Update packets. By default, OSPF sends up to 30 updates per second on each interface (1/the pacing interval). Use this command to adjust this packet rate.
| Default | 33 milliseconds |
| Format | timers pacing flood milliseconds |
| Mode | Router OSPF Config |
| Parameter | Description |
|---|---|
| milliseconds | The average time between transmission of LS Update packets. The range is from 5 ms to 100 ms. The default is 33 ms. |
no timers pacing flood (Router OSPF Config)
This command reverts the LS Update packet rate to the default rate.
| Format | no timers pacing flood |
| Mode | Router OSPF Config |
timers pacing lsa-group (Router OSPF Config)
M4350
To adjust how OSPF groups refresh self-originated LSAs periodically, use the timers pacing lsa-group command in Router OSPF Config mode. OSPF refreshes self-originated LSAs approximately once every 30 minutes. When OSPF refreshes LSAs, it considers all self-originated LSAs whose age is from 1800 to 1800 plus the pacing group size. Grouping LSAs for refresh allows OSPF to combine refreshed LSAs into a minimal number of LS Update packets. Minimizing the number of Update packets makes LSA distribution more efficient.
When OSPF originates a new or changed LSA, it selects a random refresh delay for the LSA. When the refresh delay expires, OSPF refreshes the LSA. By selecting a random refresh delay, OSPF avoids refreshing a large number of LSAs at one time, even if a large number of LSAs are originated at one time.
| Default | 60 seconds |
| Format | timers pacing lsa-group seconds |
| Mode | Router OSPF Config |
| Parameter | Description |
|---|---|
| seconds | Width of the window in which LSAs are refreshed. The range for the pacing group window is from 10 to 1800 seconds. |
no timers pacing lsa-group (Router OSPF Config)
This command reverts the period at which self-originated LSAs are refreshed to the default period.
| Format | no timers pacing lsa-group |
| Mode | Router OSPF Config |
timers spf (Router OSPF Config)
M4350
Use this command to configure the SPF delay time and hold time. The valid range for both the delay-time and hold-time parameters is from 1 to 600000 seconds.
| Default |
delay-time—5 hold-time—10 |
| Format | timers spf delay-time hold-time |
| Mode | Router OSPF Config |
no timers spf (Router OSPF Config)
This command reverts the SPF delay time and hold time to their default values.
| Format | no timers spf |
| Mode | Router OSPF Config |
trapflags (Router OSPF Config)
M4350
Use this command to enable individual OSPF traps, enable a group of trap flags at a time, or enable all the trap flags at a time. The different groups of trapflags, and each group’s specific trapflags to enable or disable, are listed in the following table.
| Group | Flags |
|---|---|
| errors |
|
| lsa |
|
| overflow |
|
| retransmit |
|
| state-change |
|
- To enable the individual flag, enter trapflags and the trapflag group name followed by the individual flag.
- To enable all the flags in that group, enter trapflags and the trapflag group name followed by all.
- To enable all flags, enter the command as trapflags all.
| Default | disabled |
| Format | trapflags {all | errors {all | authentication-failure | bad-packet | config-error | virt-authentication-failure | virt-bad-packet | virt-config-error} | lsa {all | lsa-maxage | lsa-originate} | overflow {all | lsdb-overflow | lsdb-approaching-overflow} | retransmit {all | packets | virt-packets} | state-change {all | if-state-change | neighbor-state-change | virtif-state-change | virtneighbor-state-change}} |
| Mode | Router OSPF Config |
no trapflags (Router OSPF Config)
Use this command for the following:
- To disable the individual flag, enter no trapflags and the trapflag group name followed by the individual flag.
- To disable all the flags in that group, enter no trapflags and the trapflag group name followed by all.
- To disable all flags, enter the command as no trapflags all.
| Format | no trapflags {all | errors {all | authentication-failure | bad-packet | config-error | virt-authentication-failure | virt-bad-packet | virt-config-error} | lsa {all | lsa-maxage | lsa-originate} | overflow {all | lsdb-overflow | lsdb-approaching-overflow} | retransmit {all | packets | virt-packets} | state-change {all | if-state-change | neighbor-state-change | virtif-state-change | virtneighbor-state-change}} |
| Mode | Router OSPF Config |