Filtering As Paths With A Filter List - Juniper JUNOSE 11.2.X BGP AND MPLS Configuration Manual

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

Advertisement

neighbor prefix-tree
Copyright © 2010, Juniper Networks, Inc.
To apply the new policy to routes that are already present in the BGP routing table,
you must use the clear ip bgp command to perform a soft clear or hard clear of the
current BGP session.
Behavior is different for outbound policies configured for peer groups for which you
have enabled Adj-RIBs-Out. If you change the outbound policy for such a peer group
and want to fill the Adj-RIBs-Out table for that peer group with the results of the new
policy, you must use the clear ip bgp peer-group command to perform a hard clear or
outbound soft clear of the peer group. You cannot merely perform a hard clear or
outbound soft clear for individual peer group members because that causes BGP to
resend only the contents of the Adj-RIBs-Out table.
Use the no version to remove the prefix list.
See neighbor prefix-list.
Use to assign an inbound or outbound prefix tree.
If you specify a BGP peer group by using the peerGroupName argument, all the members
of the peer group inherit the characteristic configured with this command unless it is
overridden for a specific peer. However, you cannot configure a member of a peer group
to override the inherited peer group characteristic for outbound policy.
Example
host1(config-router)#neighbor 192.168.1.158 prefix-tree newyork out
New policy values are applied to all routes that are sent (outbound policy) or received
(inbound policy) after you issue the command.
To apply the new policy to routes that are already present in the BGP routing table,
you must use the clear ip bgp command to perform a soft clear or hard clear of the
current BGP session.
Behavior is different for outbound policies configured for peer groups for which you
have enabled Adj-RIBs-Out. If you change the outbound policy for such a peer group
and want to fill the Adj-RIBs-Out table for that peer group with the results of the new
policy, you must use the clear ip bgp peer-group command to perform a hard clear or
outbound soft clear of the peer group. You cannot merely perform a hard clear or
outbound soft clear for individual peer group members because that causes BGP to
resend only the contents of the Adj-RIBs-Out table.
IPv6 prefix trees are not supported, Therefore you can specify an IPv6 address with
this command only within the IPv4 address family and when you want to advertise
IPv4 routes to IPv6 peers.
Use the no version to remove the prefix tree.
See neighbor prefix-tree.

Filtering AS Paths with a Filter List

You can use a filter list to filter incoming and outgoing routes based on the value of the
AS-path attribute. Whenever a BGP route passes through an AS, BGP prepends its AS
Chapter 1: Configuring BGP Routing
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.2.x

Table of Contents