AS101010 is a directly connected

 

^10101$

 

You can always do a quick check with "sh ip bgp regex ^10101$" (I believe i
have the syntax correct)

 

 

From: Amer Mustafa [mailto:[email protected]] 
Sent: November-30-10 7:52 PM
To: [email protected]
Cc: Jason Maynard
Subject: Workbook 1 , lab 13 , task 13.20.

 

Workbook 1 , lab 13 , task 13.20. 

 

Due to a requirement of task to make sure that routes native to AS 10101 go
through R8 in AS 7800 . 

 

To accomplish this i have added the following IP AS-Path access-list 

 

on R7 : 

 

ip as-path access-list 1 permit 10101$

 

route-map ASN101010 permit 10

 match as-path 1

 set local-preference 200

route-map ASN101010 permit 20

 

 

and applied it in the bgp 7800 : 

 

 

router bgp 7800

 no synchronization

 bgp log-neighbor-changes

 network 150.100.78.0 mask 255.255.255.0

 network 150.100.220.0 mask 255.255.255.0

 network 150.100.221.0 mask 255.255.255.0

 network 200.0.0.7 mask 255.255.255.255

 neighbor task20 peer-group

 neighbor task20 ebgp-multihop 5

 neighbor task20 update-source Loopback0

 neighbor 150.100.78.8 remote-as 7800

 neighbor 150.100.78.8 next-hop-self

 neighbor 150.100.78.8 route-map ASN10101 in

 neighbor 200.0.0.5 remote-as 109

 neighbor 200.0.0.5 peer-group task20

 neighbor 200.0.0.6 remote-as 109

 neighbor 200.0.0.6 peer-group task20

 no auto-summary

 

but due to this, all prefixes are blocked from R8, even the one which are
coming from BB2 : 

 

R7(config)#do show ip bgp sum 

BGP router identifier 200.0.0.7, local AS number 7800

BGP table version is 519, main routing table version 519

 

 

Neighbor        V          AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down
State/PfxRcd

150.100.78.8    4       7800     253     271      519    0    0 00:06:00
0

200.0.0.5       4        109     104      98      519    0    0 01:08:11
257

200.0.0.6       4        109     114     117      519    0    0 01:06:39
257

 

 

is my regular expression config and ip as-path access-list  is correct ? can
anyone advice the reason of this ?

 

 

also can anyone tell what will be the difference in : 

 

ip as-path access-list 1 permit 10101$ 

 

AND 

 

ip as-path access-list 1 permit ^10101$ 

 

 

Note: if the route-map of the ip as-path is removed the routes are back to
normal. 

 

 

 

 

 

 

 

_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to