Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-10-01 Thread Per Carlson
Hi Mark. features when using show bgp There's a number of things they don't have, and this is to be expected for a box that is still fairly new on the scene. The CRS-1 isn't *that* new any more. And someone else already mentioned, 3.8 brought with it some BGP switches that can do the

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-10-01 Thread Mark Tinka
On Friday, October 01, 2010 10:48:57 pm Per Carlson wrote: The CRS-1 isn't *that* new any more. I know, I meant in terms of its evolution from a core to a peering to an edge platform. Not just the CRS, but also IOS XR. It's been around a while, but still making in-roads and still

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-30 Thread Mark Tinka
On Wednesday, September 29, 2010 03:36:38 pm Peter Rathlev wrote: Just the lack of clarity in documentation and/or lack of I haven't had a chance to deploy kinky stuff with IOS XR (our boxes are core nodes, and the most interesting things are IS-IS, IPv6 and LDP, hehe). But all commands and

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-29 Thread Peter Rathlev
On Wed, 2010-09-29 at 10:35 +0800, Mark Tinka wrote: On Friday, September 24, 2010 01:28:24 am Peter Rathlev wrote: Way to go Cisco. Of course IOS XR isn't really a platform for serious networking and/or BGP. :-) What leads you to conclude this? Just the lack of clarity in documentation

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-28 Thread Mark Tinka
On Friday, September 24, 2010 01:28:24 am Peter Rathlev wrote: Way to go Cisco. Of course IOS XR isn't really a platform for serious networking and/or BGP. :-) What leads you to conclude this? We have some CRS-1's in our core and they're doing some pretty cool networking and/or BGP things,

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-24 Thread Aaron
There was a change done in 3.8 to allow for multiple | so in 3.8 and later if you want multiple pipes you have to use after the first one. On Thu, Sep 23, 2010 at 21:54, 陈云峰 che...@qware.com wrote: hi Pelle, It`s 3.6.3 here, thank you very much,now I know it`s coursed by different

[c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Hello.Cisco
hi guys, can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both ,when I execute show bgp in crs-1 thanks Stephen.Chen ___ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Peter Rathlev
On Thu, 2010-09-23 at 20:57 +0800, Hello.Cisco wrote: can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both ,when I execute show bgp in crs-1 I don't know about the CRS-1, but in regular IOS you can. You have to use the quote-regexp command though: show ip bgp

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Hello.Cisco
hey,Peter u r right,but in IOX-XR,it`s not comfortable. I tried and output listed bellow: RP/0/RP0/CPU0:#sh bgp regexp ^$ BGP router identifier x.x.255.240, local AS number 65142 BGP generic scan interval 60 secs BGP table state: Active Table ID: 0xe000 BGP main routing table

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Peter Rathlev
On Fri, 2010-09-24 at 00:12 +0800, Hello.Cisco wrote: u r right,but in IOX-XR,it`s not comfortable. I tried and output listed bellow: [...] RP/0/RP0/CPU0:#sh bgp regexp ^$ ? LINE cr RP/0/RP0/CPU0:#sh bgp regexp ^$ | Inc ? LINE cr RP/0/RP0/CPU0:#sh bgp regexp ^$ | Inc

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Per Carlson
Hi RP/0/RP0/CPU0:#sh bgp regexp ^$ | Inc ? LINE  cr I don't know what XR version you are running, but I get different results on 3.6.3 and 3.9.0. On 3.6.3 I get the same result as you: no matches. RP/0/7/CPU0:mormor#show bgp regexp ^$ | in /30 RP/0/7/CPU0:mormor# But on 3.9.0 it works as

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Per Carlson
Hi. I don't have any CRS-1 available, but I can't see why it wouldn't have that command. At least 3.6.3 and 3.9.0 doesn't have it (from 3.6.3 but same output on 3.9.0): RP/0/7/CPU0:mormor#show bgp ? snip/ paths Path information policy Preview

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Peter Rathlev
On Thu, 2010-09-23 at 18:50 +0200, Per Carlson wrote: I don't have any CRS-1 available, but I can't see why it wouldn't have that command. At least 3.6.3 and 3.9.0 doesn't have it (from 3.6.3 but same output on 3.9.0): As far as I can tell from the docs[0] the show bgp regexp seems to

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Per Carlson
As far as I can tell from the docs[0] the show bgp regexp seems to accept quotes. Can you verify that by any chance? It's in the man page as well: --8-- RP/0/7/CPU0:mormor#man command show bgp regexp Note If the regular expression contains spaces, it must be specified and surrounded by

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Peter Rathlev
On Thu, 2010-09-23 at 19:07 +0200, Per Carlson wrote: As far as I can tell from the docs[0] the show bgp regexp seems to accept quotes. Can you verify that by any chance? It's in the man page as well: [...] But in practice, it doesn't work: RP/0/7/CPU0:mormor#show bgp regexp ^$

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread Per Carlson
Note If the regular expression contains spaces, it must be specified and surrounded by quotation marks. Tying up the some loose ends: quoting works fine in 3.9.0 RP/0/0/CPU0:melker#show bgp regexp ^32 NetworkNext HopMetric LocPrf Weight Path * 10.100.0.0/16

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread 陈云峰
hi,Peter, quote-regexp is not accepted in IOX-XR but regexp. Stephen.Chen ___ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/

Re: [c-nsp] can I use | pipe line such as | inc xxx and regexp such as regexp ^$ both , when I execute show bgp

2010-09-23 Thread 陈云峰
hi Pelle, It`s 3.6.3 here, thank you very much,now I know it`s coursed by different IOS-XR version release, Stephen.Chen 2010/9/24 Per Carlson pe...@hemmop.com Note If the regular expression contains spaces, it must be specified and surrounded by quotation marks. Tying up the some