Alcatel 060320-10, Rev. B Configuration Manual page 135

Advanced routing configuration guide
Table of Contents

Advertisement

Configuring BGP
Assigning In and Out Bound Community List Policies to a Peer
Community list policies filter routes based on matches made to a list of communities of which the route is
a member. Communities group routes by attaching labels to them specifying a behavior (such as no
export).
To filter routes learned from a peer by the community list, enter the peer's IP address with the
neighbor in-communitylist
-> ip bgp neighbor 172.22.2.0 in-communitylist commlistfilter
The community list policy commlistfilter must be previously created using the
community-list
command.
To assign the same policy to route advertisements to the peer, enter the peer IP address with the
neighbor out-communitylist
-> ip bgp neighbor 172.22.2.0 out-communitylist commlistfilter
Assigning In and Out Bound Route Map Policies to a Peer
Route map policies filter routes combining routing criteria such as AS path, community, etc.
To filter routes learned from a peer by the route map, enter the peer's IP address with the
route-map
command as shown:
-> ip bgp neighbor 172.22.2.0 route-map mapfilter in
The route map policy mapfilter must be previously created using the
command.
To assign the same policy to route advertisements to the peer, enter the peer IP address with the
neighbor route-map
-> ip bgp neighbor 172.22.2.0 route-map mapfilter out
Assigning In and Out Bound Prefix List Policies to a Peer
Prefix list policies filter routes based on a specific routing network, using an IP address or a series of IP
addresses.
To filter routes learned from a peer by the prefix list, enter the peer's IP address with the
in-prefixlist
command as shown:
-> ip bgp neighbor 172.22.2.0 in-prefixlist prefixfilter
The route map policy prefixfilter must be previously created using the
command.
To assign the same policy to route advertisements to the peer, enter the peer IP address with the
ip bgp neighbor out-prefixlist
-> ip bgp neighbor 172.22.2.0 out-prefixlist prefixfilter
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide
command as shown:
command, as shown:
command, as shown:
command, as shown:
ip bgp policy
ip bgp policy prefix6-list
ip bgp policy prefix-list
March 2011
Routing Policies
ip bgp
ip bgp
ip bgp neighbor
ip bgp
ip bgp neighbor
page 3-51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 7

Table of Contents