459

<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

Syntax x25 switch svc [ -number ] x.121-address [ sub-destdestination-address ] sub-sourcesource-address ] interface interface-type interface-number [ dlci dlci-number ]

undo x25 switch svc x.121-address [ sub-destdestination-address ] [ sub-sourcesource-address ] [ interface interface-type interface-number ]

View System view

Parameter 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

 

 

Matchable

characters

Matching rules

Example

character string

 

 

 

 

*

Matching zero or more previous

fo*

fo, foo, fooo

 

characters

 

 

+

Matching one or more previous

fo+

foo, fooo

 

characters

 

 

^

Matching the beginning of the

^hell

hell, hello, hellaaa

 

entered characters

 

 

$

Matching the end of the entered

ar$

ar, car, hear

 

characters

 

 

char

Matching a single character

s

bs

 

specified by char.

 

 

.

Matching arbitrary single

l.st

last, lbst, lost

 

character

 

 

Page 459
Image 459
3Com MSR 50, MSR 30 manual X25 switch svc, mode matching rules, 459