Allied Telesis X8100, x908 manual Filter out a range of prefix lengths

Models: X8100 x908

1 52
Download 52 pages 56.44 Kb
Page 13
Image 13
Filter out a range of prefix lengths

BGP: Configuring Distribute Filters

3. Renew the route exchange by shutting down the neighbor, then bring it up again.

awplus(config-router)#neighbor 45.45.45.46 shutdown awplus(config-router)#neighbor 45.45.45.46 no shutdown

4. Check that the IP route table no longer includes 52.0.0.0/8.

awplus(config-router)# do show ip route

Codes: C - connected, S - static, R - RIP, B - BGP O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2

* - candidate default

B45.0.0.0/8 [20/0] via 45.45.45.46, vlan1, 00:00:14

C45.45.45.0/24 is directly connected, vlan1

C 64.0.0.0/4 is directly connected, vlan64

Filter out a range of prefix lengths

This example demonstrates the effect of the exact parameter in the ACL by discarding all routes to 52.0.0.0 with prefix lengths of 4 or greater.

1. Remove the existing ACL..

awplus(config)# no access-list standard list1

2. Shut down the neighbor, and then bring it up again.

awplus(config-router)#neighbor 45.45.45.46 shutdown awplus(config-router)#neighbor 45.45.45.46 no shutdown

Use Route Maps and Other Filters to Filter and Alter BGP and OSPF Routes Page 13

Page 13
Image 13
Allied Telesis X8100, x908 manual Filter out a range of prefix lengths