Routing Policy Language Line And Policy Limits - Cisco CRS-1 - Carrier Routing System Router Getting Started Manual

Carrier routing system
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Configuration Limiting
A cease notification message will be sent to the neighbor and the peering with the neighbor will be
terminated when the number of prefixes received from the peer for a given address family exceeds the
maximum limit (either set by default or configured by the user) for that address family.
However, if the warning-only keyword (for the maximum-prefix command) is configured, the
Cisco IOS XR software sends only a log message, but continues peering with the sender. If the peer is
terminated, the peer stays down until the clear bgp command is issued.
The same set of actions (sending cease notification followed by the termination of the peering) will be
taken for a neighbor with which peering has already been established if you decide to configure a
maximum that is less than the number of prefixes that have already been received from the neighbor.
Examples
The following example sets the maximum number of IPv4 unicast prefixes allowed from the neighbor at
10.1.1.1 to 100,000:
RP/0/RP1/CPU0:router# configure
RP/0/RP1/CPU0:router(config)# router bgp 100
RP/0/RP1/CPU0:router(config-bgp)# neighbor 10.1.1.1
RP/0/RP1/CPU0:router(config-bgp-nbr)# remote-as 1
RP/0/RP1/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast
RP/0/RP1/CPU0:router(config-bgp-nbr-af)# maximum-prefix 100000
RP/0/RP1/CPU0:router(config-bgp-nbr-af)# commit
RP/0/RP1/CPU0:Mar 30 19:13:16 : config[65740]: %LIBTARCFG-6-COMMIT : Configurati
on committed by user 'lab'.
hanges.
RP/0/RP1/CPU0:Mar 30 19:13:17 : config[65740]: %SYS-5-CONFIG_I : Configured from
console by lab
RP/0/RP1/CPU0:router(config-bgp-nbr-af)#

Routing Policy Language Line and Policy Limits

There are two limits for Routing Policy Language (RPL) configurations:
1.
2.
The limits for RPL lines and policies are summarized in
up to the absolute maximum, but you cannot change the value to a number less than the number of items
that are currently configured.
Table 5-11
Maximum Lines of RPL: Configuration Limits and Commands
Limit Description
Maximum number of RPL lines
Maximum number of RPL policies
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
5-24
Lines of configuration: The number of lines entered by the user, including the beginning and ending
statements (that is "route-policy"). The lines of configuration for sets are also included.
Number of RPL policies: The number of policies that can be configured on the router. Policies are
counted only once: Multiple use of the same policy counts as a single policy toward the limit 1.
Default
Maximum
Limit
65,536
3500
Chapter 5
Use 'show commit changes 1000000544' to view the c
Absolute
Maximum
Configuration Command
Limit
(Global Configuration Mode)
131,072
rpl maximum lines n
5000
rpl maximum policies n
Initial Configuration of the Cisco IOS XR Software
Table
5-11. You can change the default values
Show Current Settings
Command
(EXEC Mode)
show rpl maximum lines
show rpl max policies

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents