ip ospf fast-reroute per-prefix
To configure an interface as a protecting or a protected interface in a per-prefix loop-free alternative (LFA) repair path, use the ip ospf fast-reroute per-prefix command in interface configuration mode.
ip ospf fast-reroute per-prefix { candidate | protection } [disable]
Syntax Description
candidate |
Specifies that the interface is protecting, that is, it can be used as the next hop in a repair path. |
protection |
Specifies that the interface is protected, that is, routes pointing to this interface can have a repair path. |
disable |
(Optional) Specifies that the interface is either protecting or protected. |
Command Default
All interfaces are protected and protecting.
Command Modes
Interface configuration (config-if)#
Command History
Release |
Modification |
---|---|
15.1(3)S |
This command was introduced. |
Cisco IOS XE Release 3.4S |
This command was integrated into Cisco IOS XE Release 3.4S. |
Usage Guidelines
If you know from the network topology that an interface cannot be used to reroute traffic (for example, if it goes to a customer site), you can use the ip ospf fast-reroute per-prefix command to disable it from being protecting interface.
Examples
The following example shows how to prohibit an interface from being a protecting interface:
Router(config)# interface Ethernet 0/0
ip address 192.0.2.1 255.255.255.0
ip ospf fast-reroute per-prefix candidate disable