[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quagga-users
Subject:    [quagga-users 9879] Re: question mark "?" inside as_path
From:       Steve Bertrand <steve () ibctech ! ca>
Date:       2008-09-03 16:14:57
Message-ID: 48BEB801.8050307 () ibctech ! ca
[Download RAW message or body]

Mikhail A. Grishin wrote:
> Good day.
> 
> I am unable to enter the question mark "?" from bgpd vty
> (as element of the configuration inside regexp)
> 
> For example,
> from startup config, bgpd successfully accepts:
> ip as-path access-list 159 permit ^1234(_.*)?_(1111|2222)$
> 
> but if I enter this from vty, the string looks like:
> ip as-path access-list 159 permit ^1234(_.*)_(1111|2222)$
> 
> For Cisco devices, there is a solution:
> =======
> To type a question mark in a regular expression on the router, first press Ctrl-V \
> (Escape for CLI), and then you can enter ?. =======
> 
> Is there any solution for Quagga?

CTRL-V works for me (forgive the wrap):

router.eagle.ca(config)# ip as-path access-list 150 permit 
^1234(_.*)?(1111|2222)$

router.eagle.ca# sh ip as-path-access-list
AS path access list 150
     permit ^1234(_.*)?(1111|2222)$
_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic