
BGP and BGP4+ Introduction
BGP and BGP4+ Neighbor Route Filtering
You can filter BGP and BGP4+ advertisements in two ways with neighbors:
■Use autonomous system path filters, as with the ip
■Use access or prefix lists, as with the neighbor
If you want to restrict routing information that is learned or advertised, you can filter BGP routing updates to and from neighbors. You can define an access list or a prefix list and apply it to the updates.
To filter BGP routing updates for IPv4 routes, use the command below in Router
Configuration mode:
awplus(config-router)#
neighbor <neighborid> This command filters BGP routing updates to and from
{inout} Router Configuration mode.
To filter BGP4+ routing updates for IPv6 routes, use the command below in Address Family Configuration mode:
awplus(config-router-af)#
neighbor <neighborid> This command filters BGP routing updates to and from
{inout} Address Family Configuration mode.
BGP and BGP4+ Path Filtering by Neighbor
You can specify an access list filter on both incoming and outbound updates based on the BGP autonomous system paths. Each filter is an access list based on regular expressions. To specify the access list filter, define an autonomous system path access list and apply it to updates to and from particular neighbors.
To configure BGP path filtering, use the following commands starting in Global
Configuration mode:
awplus(config)#
ip | This command defines a |
BGP4+) |
|
|
|
awplus(config)# | This command enters Router configuration mode |
router bgp <asn> | |
|
|
| This command establishes a BGP filter for an IPv4 path in the |
neighbor <neighborid> | |
| Router Configuration mode. |
|
|
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
AlliedWare PlusTM Operating System - Software Version | 1.13 |