BGP: Configuring AS Path Filters
9.Check that the AS path list shows the two filter entries:
AS path access list list1 deny 23456
permit 34568
An outgoing filter that uses an AS-path list
Another example
1.Create an
ip
ip
2.Apply this as the out route map for neighbor 45.45.45.46. neighbor 45.45.45.46
3.Shut down the neighbor, and then bring it up again.
4.There are no routes advertised to the other side, so that says that the AS Path in the update packets is not 34567 at the point where the updates are passed to the
5.Now remove the deny entry for empty
(config)#no ip
The
ip
6.Shut down the neighbor, and then bring it up again.
Now the routes are received by the neighbor. That does demonstrate that the
Page 20 Use Route Maps and Other Filters to Filter and Alter BGP and OSPF Routes