Allied Telesis X8100, x908 manual Shut down the neighbor, and then bring it up again, a neighbor

Models: X8100 x908

1 52
Download 52 pages 56.44 Kb
Page 19
Image 19
4. Shut down the neighbor, and then bring it up again.

BGP: Configuring AS Path Filters

4. 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

5.Check that the IP route table does not have the BGP routes from the AlliedWare neighbor in AS 34568 any more.

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

C45.45.45.0/24 is directly connected, vlan1

C 64.0.0.0/4 is directly connected, vlan64

Explicitly include

 

 

a neighbor

6. Add an entry to the an AS path access list that explicitly includes AS 34568.

 

 

awplus(config)#

ip as-path access-list list1 permit 34568

 

 

7.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

8.Check that the IP route table has the BGP routes from the AlliedWare neighbor in AS 34568 again.

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:03

C45.45.45.0/24 is directly connected, vlan1

B52.0.0.0/8 [20/0] via 45.45.45.46, vlan1, 00:00:03

C64.0.0.0/4 is directly connected, vlan64

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

Page 19
Image 19
Allied Telesis X8100, x908 manual Shut down the neighbor, and then bring it up again, a neighbor