Hi Kana, Would be applicable if only the first AS prepends, you can read it as: 1AS - 1 or more, then 0 or 1 or 2 AS's follow. If 2nd and 3rd AS numbers are known you could match these like this: AS1+ AS1+ AS2+ AS1+ AS2+ AS3+
Cheers, Jeff > -----Original Message----- > From: Kanagaraj Krishna [mailto:[EMAIL PROTECTED] > Sent: zaterdag 21 april 2007 18:22 > To: [EMAIL PROTECTED] > Cc: [email protected] > Subject: RE: [j-nsp] AS path access list (regexp) > > Jeff, > Would it still be applicable if either of the AS hops prepend? > > /Kana > > > Hi, > > > > It would look like: > > ABCD+ .{0,2} > > > > Regards, > > Jeff > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:juniper-nsp- > > > [EMAIL PROTECTED] On Behalf Of Kanagaraj Krishna > > > Sent: vrijdag 20 april 2007 12:54 > > > To: [email protected] > > > Subject: Re: [j-nsp] AS path access list (regexp) > > > > > > Hi, > > > I have this AS path access list to one of my BGP peerings > (inbound > > > route map) which is based on Cisco to set different local pref to: > > > > > > - direct peering AS > > > - direct peering AS + 1st AS hop > > > - direct peering AS + 1st AS hop + 2nd AS hop > > > > > > Based on Cisco > > > ----------------------- > > > ip as-path access-list 77 permit ^(ABCD_)+$ > > > ip as-path access-list 77 permit ^(ABCD_)+[0-9]+$ > > > ip as-path access-list 77 permit ^(ABCD_)+[0-9]+_[0-9]+$ > > > > > > > > > How do i mirror the same requirement on a Juniper? Thanks. > > > > > > Regards, > > > Kana > > > _______________________________________________ > > > juniper-nsp mailing list [email protected] > > > https://puck.nether.net/mailman/listinfo/juniper-nsp > > > > > -- > Kanagaraj Krishna > Senior Network Engineer > Network Engineering > Applied Information Management Services Sdn. Bhd. > (AIMS Sdn. Bhd.) > Ground Floor, Menara Aik Hua, > Changkat Raja Chulan, > 50200 Kuala Lumpur,Malaysia. > > Tel : +603-20314988 Ext : 395 > Mobile : 012-3266151 > Fax : +603-20318948 > Email : [EMAIL PROTECTED] _______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

