x25 switch svc
Syntax
View
Parameter
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] x25 switch pvc 1 interface serial 2/1 pvc 2
# Perform the packet switching from Annex G DLCI PVC1 on the Serial2/1 to PVC1
on the Serial2/0.
<Sysname> system-view
[Sysname] x25 template switch
[Sysname-x25-switch] x25 vc-range bi-channel 10 20
[Sysname-x25-switch] x25 switch pvc 1 interface serial 3/0 pvc 1
[Sysname-x25-switch] quit
[Sysname] interface serial 2/1
[Sysname-Serial2/1] link-protocol fr
[Sysname-Serial2/1] fr interface-type dce
[Sysname-Serial2/1] fr dlci 100
[Sysname-fr-dlci-Serial2/1-100] annexg dce
[Sysname-fr-dlci-Serial2/1-100] x25-template switch
[Sysname-fr-dlci-Serial2/1-100] quit
[Sysname-Serial2/1] quit
[Sysname] interface serial 2/0
[Sysname-Serial2/0] link-protocol x25 dce
[Sysname-Serial2/0] x25 switch pvc 1 interface serial2/1 dlci 100 pvc 1
x25 switch svc [ -number ] x.121-address [ sub-dest destination-address ] sub-source
source-address ] interface interface-type interface-number [ dlci dlci-number ]
undo x25 switch svc x.121-address [ sub-dest destination-address ] [ sub-source
source-address ] [ interface interface-type interface-number ]
System view
x.121-address: Destination X.121 address, a pattern matching string with 1 to 15
numeric characters. For the specific description of mode matching, see the
following description. If no wildcard is used, the X.121 address should be exactly
matched.
Table 69 X.121 mode matching rules
Wildcard
characters
Matching rules
*
Matching zero or more previous
characters
+
Matching one or more previous
characters
^
Matching the beginning of the
entered characters
$
Matching the end of the entered
characters
char
Matching a single character
specified by char.
.
Matching arbitrary single
character
Matchable
Example
character string
fo*
fo, foo, fooo
fo+
foo, fooo
^hell
hell, hello, hellaaa
ar$
ar, car, hear
s
bs
l.st
last, lbst, lost
459