Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Using regular expression with Command answer-address

Hi , I would use a regular expression to simplify my dial-peer

So I would transform the dial-peer

dial-peer voice 1 voip

answer-address 0123456..

....

dial-peer voice 2 voip

answer-address 0123457..

By only one dial-peer like this :

dial-peer voice 1 voip

answer-address 012345[6-7]..

...

Is it possible to use this regular expression .

Thanks

Olivier

1 REPLY
New Member

Re: Using regular expression with Command answer-address

Yes you can use the symbol [ ] for dial-peer regular expressions. Here is the documentation for the dial peer enhancements:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t2/dtdpeer.htm

359
Views
0
Helpful
1
Replies