Specifications

Table Of Contents
protection local-prefixes
MP-397
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
protection local-prefixes
To enable PE-CE link protection by preserving the local label (due to a link failure that caused BGP to
begin reconverging), use the protection local-prefixes command. To disable this form of link protection,
use the no form of this command:
[no] protection local-prefixes
Syntax Description This command has no arguments or keywords.
Command Default This protection is disabled by default.
Command Modes VRF configuration (config-vrf).
Address-family configuration (config-vrf-af)
Command History
Usage Guidelines
If your Cisco IOS version includes support for IPv6, use the global configuration vrf definition
command first, followed by the rd and address-family ipv4 commands before you use the
protection local-prefixes command. If your Cisco IOS version only supports IPv4, use the global
configuration ip vrf command before you enter the rd and protection local-prefixes commands. In
both cases, use the rd command to specify a route distinguisher for the VRF if none has been created
previously.
If VRF-lite has already been enabled, local protection will not take place. This is true even if
entering the protection local-prefixes command does not trigger an error message.
Local link protection will only work properly if the failure is quickly detected and an alternate,
back-up route already exists. Therefore, in addition to the protection local-prefixes command, the
use of Bidirectional Forwarding Detection (BFD) and topology-specific routing protocols are both
required.
Examples The following example enables local protection in an IPv6-supporting version of Cisco IOS, using the
onl
y supported (IPv4) option:
vrf definition vrf2
rd 100:3
address-family ipv4
protection local prefixes
Release Modification
12.2(33)SRC This command was introduced.
12.2(33)SB This command was integrated into Cisco IOS Release 12.2(33)SB.
15.0(1)M This command was modified. It was integrated into the release.