R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

350
Examples
# Enable the user facility adding function.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] link-protocol x25 dce ietf
[Sysname-Serial2/0] x25 add-facility
x25 alias-policy
Use x25 alias-policy to configure the alias of an X.121 address.
Use undo x25 alias-policy to delete the alias of an X.121 address.
Syntax
x25 alias-policy match-type alias-string
undo x25 alias-policy match-type alias-string
Default
No x.25 alias is configured.
Views
Interface view
Default command level
2: System level
Parameters
match-type: Match type of the alias. The following match types are available:
free: Free match
free-ext: Extended free match
left: Left alignment match
left-ext: Extended left alignment match
right: Right alignment match
right-ext: Extended right alignment match
strict: Strict match
whole: Whole match
whole-ext: Extended whole match
alias-string: Alias name, a string of 1 to 17 characters.
Usage guidelines
When an X.25 call is forwarded between networks, different X.25 networks might perform some
operations on the destination addresses (the called DTE address) carried by this call packet, for example,
regularly adding or deleting the prefix and suffix. In this case, you must set an interface alias for the
router to adapt this change. Consult your ISP to learn if the network supports this function before deciding
on whether the alias function is enabled or not.
Examples
# Configure the link-layer protocol on interface Serial 2/0 as X.25 and its X.121 address to 20112451,
and set two aliases with different match types for it.