From: Huan Pham (Huan.Pham@peopletelecom.com.au)
Date: Tue Aug 19 2008 - 20:23:59 ART
I do not see any difference between these commands.
The info from command reference for quote-regexp states that "the
regular expression has to be an exact match.", whereas the other command
(regexp) does not have this note.
Can anyone please give me an example showing the difference btw the two?
Thanks.
route-views.optus.net.au>sh ip bgp regexp _100_
BGP table version is 39026345, local router ID is 203.202.125.6
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 190.54.50.0/24 202.160.242.71 0 7473 3549
28513 6429 100 ?
* 210.23.158.70 0 7543 10026
3356 28513 6429 100 i
*> 200.14.192.0 202.160.242.71 0 7473 3549
28513 6429 100 ?
* 210.23.158.70 0 7543 10026
3356 28513 6429 100 i
*> 200.14.215.0 202.160.242.71 0 7473 3549
28513 6429 100 ?
* 210.23.158.70 0 7543 10026
3356 28513 6429 100 i
*> 208.96.128.0 202.160.242.71 0 7473 3561
1239 20299 27742 100 i
* 210.23.158.70 0 7543 10026
1239 20299 27742 100 I
route-views.optus.net.au>sh ip bgp quote-regexp _100_
BGP table version is 39026370, local router ID is 203.202.125.6
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 190.54.50.0/24 202.160.242.71 0 7473 3549
28513 6429 100 ?
* 210.23.158.70 0 7543 10026
3356 28513 6429 100 i
*> 200.14.192.0 202.160.242.71 0 7473 3549
28513 6429 100 ?
* 210.23.158.70 0 7543 10026
3356 28513 6429 100 i
*> 200.14.215.0 202.160.242.71 0 7473 3549
28513 6429 100 ?
* 210.23.158.70 0 7543 10026
3356 28513 6429 100 i
*> 208.96.128.0 202.160.242.71 0 7473 3561
1239 20299 27742 100 i
* 210.23.158.70 0 7543 10026
1239 20299 27742 100 I
route-views.optus.net.au>sh ip bgp quote-regexp "_100_"
BGP table version is 39026706, local router ID is 203.202.125.6
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 190.54.50.0/24 202.160.242.71 0 7473 3549
28513 6429 100 ?
* 210.23.158.70 0 7543 10026
3356 28513 6429 100 i
*> 200.14.192.0 202.160.242.71 0 7473 3549
28513 6429 100 ?
* 210.23.158.70 0 7543 10026
3356 28513 6429 100 i
*> 200.14.215.0 202.160.242.71 0 7473 3549
28513 6429 100 ?
* 210.23.158.70 0 7543 10026
3356 28513 6429 100 i
*> 208.96.128.0 202.160.242.71 0 7473 3561
1239 20299 27742 100 i
* 210.23.158.70 0 7543 10026
1239 20299 27742 100 I
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Sep 01 2008 - 08:15:31 ART