[Cisco-asr9k-ug] IOS XR question

german.martinez at orange.com german.martinez at orange.com
Thu Dec 6 11:53:15 EST 2018


Have some here used the replace command for IOS-XR?

IOS XR expects a regular expression within simple quotes

RP/0/RP0/CPU0:ASHTR2(config)#replace pattern  ?
  regex-string  pattern to be replaced within single quotes


How can I tell IOS-XR I want to replace a single quote but this single quote is just a character and not the beginning/end of the regular expression?


I am trying to replace passes-through '567' with passes-through '560'



Best

German



_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/mailman/private/cisco-asr9k-ug/attachments/20181206/14df6132/attachment.html>


More information about the cisco-asr9k-ug mailing list