Table 6: Sample Regular Expressions (continued)
For information about using AS-path access lists, see "Access Lists" on page 21. For
information about using community lists, see "Community Lists" on page 38.
Managing the Routing Table
You can clear all routes from the IP routing table, and then enable the owning
protocols BGP, OSPF, RIP to reinstall the routes.
clear ip routes
ip refresh-route
Regular
Matched AS-Path or Community
Expression
Attribute
{41 19}
(AS-path attribute only) Includes the
AS-set or AS-seq {41 19}
101 102 | 103 105
Includes either sequence 101 102 or
sequence 103 105
_200_
Includes the number 200 (as opposed
to the pattern consisting of numeral 2,
numeral 0, numeral 0)
Our implementation of regular
expressions is not literal. Substring
matching is enabled by default.
Specifying 200 (no underscores) results
in a match on 200 and on 2005. The
underscore metacharacter disables
substring matching.
Use to clear all routing entries or a specified entry from the IP routing table.
Example
host1#clear ip routes
There is no no version.
See clear ip routes.
Use to reinstall routes removed from the IP routing table by the clear ip route
command.
Example
host1#ip refresh-route
Chapter 1: Configuring Routing Policy
Example
{41 19} 53 76 {41 19} 17
255 {41 19}
but not
3 41 19 41 19 532
43 101 102 5103 105 22
but not
19 102 101102 103
33 200 422 48^200$
^200 500$
but not
33 20 422 48 51 2005
Managing the Routing Table
49
Need help?
Do you have a question about the IP SERVICES - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?
Questions and answers