Deleting Routes For A Vrf - Juniper JUNOSE 11.2.X BGP AND MPLS Configuration Manual

For e series broadband services routers - bgp and mpls configuration
Table of Contents

Advertisement

maximum routes

Deleting Routes for a VRF

clear ip routes
Copyright © 2010, Juniper Networks, Inc.
If the route count fluctuates below and up to the limit due to route deletions and
additions, no further limit-exceeded log entries are generated until a 5-minute interval
has passed since the last limit-exceeded log entry. This behavior prevents the system
log from being flooded with log entries.
When you issue the command, the router immediately reevaluates the current number
of routes against the new limit. If the current number of routes is greater than the
maximum configured limit, the router might remove dynamically learned routes in order
to enforce the new limit.
Use to prevent a PE router from importing too many routes from attached CE routers
into a particular VRF.
When the router attempts to add a route that exceeds the warningThreshold, the router
generates a warning-threshold log entry and adds the route. An interval of 5 minutes
must pass before another warning-threshold-exceeded message can be generated.
When the router attempts to add a route that exceeds the limit, the router generates
a limit-exceeded warning and rejects the route. An interval of 5 minutes must pass
before another limit-exceeded message can be generated.
Messages are logged to ipRouteTable at severity warning.
The interval timers for the limit and the warning threshold are independent.
You can use the warning-only keyword to specify that the router add the route and
generate a warning-threshold-exceeded log entry (instead of a limit-exceeded log
entry) when the limit is exceeded.
Issuing the command causes the router to evaluate the current route count and
determine whether to generate new messages; any existing warning threshold or limit
timers are reset to zero.
Example
host1(config-vrf)#maximum routes 80 65
Use the no version to remove the limit and warning threshold.
See maximum routes.
You can delete one or all IP routes assigned to a VRF or all VRFs.
Use to clear routes from the routing table of one or all VRFs.
If you do not specify a VRF, routes are removed from all VRFs.
You can specify either that a single route or all dynamic routes are to be removed.
This command takes effect immediately.
Example
Chapter 6: Configuring BGP-MPLS Applications
453

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.2.x

Table of Contents