Table 6: Sample Regular Expressions
(continued)
Example
Matched AS-Path or Community
Attribute
Regular
Expression
33 200 422 48^200$
^200 500$
but not
33 20 422 48 51 2005
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.
_200_
For information about using AS-path access lists, see “Access Lists” on page 20. For
information about using community lists, see “Community Lists” on page 37.
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
•
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.
ip refresh-route
•
Use to reinstall routes removed from the IP routing table by the
clear ip route
command.
•
Example
host1#
ip refresh-route
•
There is no
no
version.
•
See ip refresh-route.
Troubleshooting Routing Policy
You can turn on debugging for routing policy by issuing the
log severity debug
ipRoutePolicy
command from Global Configuration mode. You can specify different
levels of severity for ipRoutePolicy. For more information about using
log
commands for
troubleshooting, see
Managing the System
in
JunosE System Basics Configuration Guide
.
47
Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring Routing Policy
Содержание JUNOSE 11.2.X IP SERVICES
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Страница 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Страница 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Страница 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Страница 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Страница 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Страница 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Страница 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Страница 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Страница 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Страница 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Страница 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...