Juniper IP SERVICES - CONFIGURATION GUIDE V 11.1.X Configuration Manual page 53

Ip services configuration guide
Table of Contents

Advertisement

ip as-path access-list
ipv6 access-list
Use to enable RIP, OSPF, or BGP to advertise a default route (0.0.0.0/0) that
exists in the IP routing table.
If you specify the always option for OSPF, OSPF generates a default route, if it
does not exist in the IP routing table and advertises it.
Use to generate a default route to an IS-IS domain.
Example
host1(config-router)#default-information originate
Use the no version to disable advertisement of the default route.
See default-information originate.
Use to define an AS-path access list to permit or deny routes based on the AS
path.
Each access list is a set of permit or deny conditions for routes based on matching
a route's AS path to a regular expression. If the regular expression matches the
representation of the AS path of the route as an ASCII string, the permit or deny
condition applies. The AS path does not contain the local AS number.
The AS path allows substring matching. For example, the regular expression 20
matches AS path = 20 and AS path = 100 200 300, because 20 is a substring of
each path. To disable substring matching and constrain matching to only the
specified attribute string, place the underscore (_) metacharacter on both sides
of the string; for example, _20_.
Use the neighbor filter-list command to apply the AS-path access list. You can
apply access-list filters to inbound and outbound BGP routes. You can assign
weights to routes matching the AS-path access list.
Example
host1(config)#ip as-path access-list 1 permit ^\(
Use the no version to remove the AS-path access list; all entries that belong to
this list are removed.
See ip as-path access-list.
Use to define an IPv6 access list to permit or deny routes based on the prefix.
Each access list is a set of permit or deny conditions for routes based on matching
a route's prefix.
Use the neighbor distribute-list command to apply the access list to routes
received from or forwarded to a neighbor.
Use the log keyword to log an Info event in the ipAccessList log whenever an
access list rule is matched.
Example
host1(config)#ipv6 access-list bronze deny 1::1/16 any
Chapter 1: Configuring Routing Policy
Access Lists
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x ip servicesJunose v 11.1

Table of Contents