User guide

Routing Policies Configuring BGP
page 4-86 OmniSwitch AOS Release 7 Advanced Routing Configuration Guide March 2015
Assigning a Policy to a Peer
Once policies have been created using the commands described above, the policies can be applied to IPv4
and IPv6 routes learned from a specific peer, or route advertisements to a specific peer.
The following table shows the list of commands that allow you to assign a policy to a peer:
BGP Attribute Command
Assigns an inbound AS path list filter to
a BGP peer.
ip bgp neighbor in-aspathlist
Assigns an inbound community list filter
to a BGP peer.
ip bgp neighbor in-communitylist
Assigns an inbound prefix filter list to a
BGP peer.
ip bgp neighbor in-prefixlist
Assigns an inbound prefix6 filter list to a
BGP peer.
ip bgp neighbor in-prefix6list
Assigns an outbound AS path filter list to
a BGP peer.
ip bgp neighbor out-aspathlist
Assigns an outbound community filter
list to a BGP peer.
ip bgp neighbor out-communitylist
Assigns an outbound prefix filter list to a
BGP peer.
ip bgp neighbor out-prefixlist
Assigns an outbound prefix6 filter list to
a BGP peer.
ip bgp neighbor out-prefix6list
Assigns an inbound or outbound policy
map to a BGP peer.
ip bgp neighbor route-map
Invokes an inbound or outbound policy
re-configuration for a BGP peer.
ip bgp neighbor clear soft
Assigns an inbound AS path list filter to
an IPv6 BGP peer.
ipv6 bgp neighbor in-aspathlist
Assigns an inbound community list filter
to an IPv6 BGP peer.
ipv6 bgp neighbor in-communitylist
Assigns an inbound prefix filter list to an
IPv6 BGP peer.
ipv6 bgp neighbor in-prefixlist
Assigns an inbound prefix6 filter list to
an IPv6 BGP peer.
ipv6 bgp neighbor in-prefix6list
Assigns an outbound AS path filter list to
an IPv6 BGP peer.
ipv6 bgp neighbor out-aspathlist
Assigns an outbound community filter
list to an IPv6 BGP peer.
ipv6 bgp neighbor out-communitylist
Assigns an outbound prefix filter list to
an IPv6 BGP peer.
ipv6 bgp neighbor out-prefixlist
Assigns an outbound prefix6 filter list to
an IPv6 BGP peer.
ipv6 bgp neighbor out-prefix6list