From: SHARMA,MOHIT (HP-Germany,ex1) (mohit.sharma@hp.com)
Date: Tue Jul 15 2003 - 10:03:12 GMT-3
Hi Guys,
Please ignore, was too hasty to send the mail.
The solution would be ^\(65002\)_4_[0-9]*$
Thanks,
Mohit.
-----Original Message-----
From: SHARMA,MOHIT (HP-Germany,ex1) [mailto:mohit.sharma@hp.com]
Sent: Tuesday, July 15, 2003 2:29 PM
To: ccielab@groupstudy.com
Subject: BGP matching only two AS's with confed
HI All,
I believe this has been touched before, but how will matching the AS and the
connected AS work if you configure a confed.
This is the bgp table-
unit6#sh ip bgp
BGP table version is 64, local router ID is 135.1.6.6
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 201.201.200.0/21 135.1.1.1 100 0 (65002) 1 1 1 1
i
*> 201.201.201.0 135.1.3.3 0 100 0 (65002) 1 1 1 1
i
*> 201.201.202.0 135.1.3.3 0 100 0 (65002) 1 1 1 1
i
*> 201.201.203.0 135.1.3.3 0 100 0 (65002) 1 1 1 1
i
*> 201.201.204.0 135.1.3.3 0 100 0 (65002) 1 1 1 1
i
*> 201.201.205.0 135.1.3.3 0 100 0 (65002) 1 1 1 1
i
*> 212.212.212.0 135.1.2.2 0 100 0 (65002) 6 4 i
unit6#
How can I allow only 212.212.212.0 as it now also has the confed AS in its
AS path list.
I tried -
unit6#sh ip bgp regexp ^6_[0-9]*$
unit6#
I assume that the regexp has to take into consideration also the confed AS.
How will the regexp look like now.
Thanks as always.
Mohit.
This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:39 GMT-3