> 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
   Network            Next Hop            Metric LocPrf Weight Path
*> 10.100.0.0/16      10.100.10.133            0             0 32 i
*> 10.100.10.4/30     10.100.10.133                          0 32 ?
*> 10.100.10.128/30   10.100.10.133                          0 32 ?
*> 172.16.3.15/32     10.100.10.133                          0 32 15 i
*  172.16.3.30/32     10.100.10.133                          0 32 15 30 i
*> 172.16.3.32/32     10.100.10.133            0             0 32 i
*> 192.168.15.0/24    10.100.10.133                          0 32 15 i
*  192.168.30.0/24    10.100.10.133                          0 32 15 30 i
RP/0/0/CPU0:melker#


RP/0/0/CPU0:melker#show bgp regexp "^32"
   Network            Next Hop            Metric LocPrf Weight Path
*> 10.100.0.0/16      10.100.10.133            0             0 32 i
*> 10.100.10.4/30     10.100.10.133                          0 32 ?
*> 10.100.10.128/30   10.100.10.133                          0 32 ?
*> 172.16.3.15/32     10.100.10.133                          0 32 15 i
*  172.16.3.30/32     10.100.10.133                          0 32 15 30 i
*> 172.16.3.32/32     10.100.10.133            0             0 32 i
*> 192.168.15.0/24    10.100.10.133                          0 32 15 i
*  192.168.30.0/24    10.100.10.133                          0 32 15 30 i
RP/0/0/CPU0:melker#

RP/0/0/CPU0:melker#show bgp regexp "^32 "
   Network            Next Hop            Metric LocPrf Weight Path
*> 172.16.3.15/32     10.100.10.133                          0 32 15 i
*  172.16.3.30/32     10.100.10.133                          0 32 15 30 i
*> 192.168.15.0/24    10.100.10.133                          0 32 15 i
*  192.168.30.0/24    10.100.10.133                          0 32 15 30 i
RP/0/0/CPU0:melker#


-- 
Pelle

RFC1925, truth 11:
 Every old idea will be proposed again with a different name and
 a different presentation, regardless of whether it works.

_______________________________________________
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/

Reply via email to