host2(config-router)#
exit
host2(config)#
access-list 1 deny 10.16.22.0 0.254.255.255
access-list
■
Use to define an IP 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.
■
Use the
no
version to delete an IP access list or the specified entry in the access
list.
■
See access-list.
clear access-list
■
Use to clear IP access list counters.
■
Each access list has a counter for its entries.
■
Example
host1#
clear access-list reject1
■
There is no
no
version.
■
See clear access-list.
neighbor distribute-list
■
Use to filter routes to selected prefixes as specified in an access list.
■
Using distribute lists is one of three ways to filter BGP advertisements. The other
ways are as follows:
■
Use AS-path filters with the
ip as-path access-list
and the
neighbor filter-list
commands.
■
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.
■
Use filters with route maps with the
route-map
and the
neighbor route-map
commands.
■
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.
Configuring BGP Routing Policy
■
85
Chapter 1: Configuring BGP Routing
Summary of Contents for BGP
Page 6: ...vi ...
Page 8: ...viii JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1 ...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 234: ...198 Monitoring BGP JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 542: ...506 Monitoring BGP MPLS VPNs JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 544: ...508 Layer 2 Services Over MPLS JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 610: ...574 Virtual Private LAN Service JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 624: ...588 VPLS References JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 680: ...644 Virtual Private Wire Service JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 724: ...688 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 725: ...Part 6 Index Index on page 691 Index 689 ...
Page 726: ...690 Index JUNOSe 11 1 x BGP and MPLS Configuration Guide ...