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

x25 route: remove rightmost digit in dest address

Hello,

how to remove the rightmost digit of a called address and keep all the other digits in a routed call from XOT to a serial interface. I am thinking about the following command:

x25 route (.*)1$ source ^06174631$ substitute-source \0 substitute-dest \1 interface Serial1/6

The above command removes the source address used as a selection criteria for routing on the appropriate interface and it's OK. But I am not sure of the syntax to remove the digit 1 when present as the last digit at the right of the destination address (called address).

Thanks for your help.

1 REPLY
Bronze

Re: x25 route: remove rightmost digit in dest address

There is no much explanation on this other than the command reference here :

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fwan_r/x25cmds/wrfx253.htm#33464

Turning on 'debug x25 events' may help you in finding what is being used for replacement with this syntax.

218
Views
3
Helpful
1
Replies
CreatePlease login to create content