Deleting Routes For A Vrf - Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual

Junose software for e series routing platforms
Table of Contents

Advertisement

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.
maximum routes

Deleting Routes for a VRF

You can delete one or all IP routes assigned to a VRF or all VRFs.
clear ip routes
interval has passed since the last limit-exceeded log entry. This behavior prevents
the system log from being flooded with log entries.
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.
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
host1:vr1#clear ip routes vrf vr3 *
Chapter 5: Configuring BGP-MPLS Applications
Configuring BGP VPN Services
453

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents