User guide
Routing Policies Configuring BGP
page 4-90 OmniSwitch AOS Release 7 Advanced Routing Configuration Guide March 2015
Assigning In and Outbound Prefix6 List Policy
Prefix6 list policies filter IPv6 routes based on a specific IPv6 network address, or a range of IPv6 network
addresses.
To filter routes learned from a peer by the prefix6 list, enter the peer’s IPv6 address with the ipv6 bgp
neighbor in-prefix6list command as shown:
-> ipv6 bgp neighbor 2001::2 in-prefix6list InboundPrefix6
The route map policy InboundPrefix6 must be previously created using the ip bgp policy prefix6-list
command.
To assign the same policy to route advertisements to the peer, enter the peer IPv6 address with the ipv6
bgp neighbor out-prefix6list command, as shown:
-> ipv6 bgp neighbor 2001::2 out-prefix6list OutboundPrefix6
Assigning In and Outbound Route Map Policy
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 IPv6 address with the ipv6 bgp
neighbor route-map command as shown:
-> ipv6 bgp neighbor 2001::1 route-map InboundRoute in
The route map policy InboundRoute must be previously created using the ip bgp policy route-map
command.
To assign the same policy to route advertisements to the peer, enter the peer IPv6 address with the ipv6
bgp neighbor route-map command, as shown:
-> ipv6 bgp neighbor 2001::1 route-map OutboundRoute out
Reconfiguring IPv6 Peer Policies
You can configure policies and assign the policies to a BGP peer, either to control in-bound routes or out-
bound routes advertisement. Additionally, it is possible to change or modify these peer policies, after they
are assigned to a peer.
Once the policies have been modified, they have to be re-applied to the peer. To re-apply the policies to
only the peer under consideration, you can use the in-reconfigure and the out-reconfigure commands.
To reconfigure a peer’s in policies, enter the peer’s IP address with the ipv6 bgp neighbor clear soft
command as shown:
-> ipv6 bgp neighbor 2001::1 clear soft in
To reconfigure a peer’s out policies, enter the peer IP address with the ipv6 bgp neighbor clear soft
command, as shown:
-> ipv6 bgp neighbor 2001::1 clear soft out