AIS AI2524 Manuel D’Utilisation

Page de 418
AI2524 Router Card User’s Manual
Page 12-34
August 1997
2524UM
Configure a Locally Switched PVC
You can configure an X.25 PVC in the X.25 switching software. As a 
result, DTEs that require permanent circuits can be connected to 
router acting as an X.25 switch and have a properly functioning con-
nection. X.25 resets will be sent to indicate when the circuit comes up 
or goes down. Both interfaces must define complementary locally 
switched PVCs.
To configure a locally switched PVC, type (in interface configuration 
mode): 
x25 pvc 
number1 interface  type number  pvc 
number2 [option]
The command options ar
packetsize 
in out
 and 
window-
size 
in out
; they allow a PVC's flow control values to be defined 
if they differ from the interface defaults.
Example: PVC Switching on the Same Router
In this example, a PVC is connected between two serial interfaces on 
the same router. In this type of interconnection configuration, the des-
tination interface must be specified along with the PVC number on that 
interface. To make a working PVC connection, two commands must 
be specified, each pointing to the other.
interface serial 0 
encapsulation x25 
x25 ltc 5 
x25 pvc 1 interface serial 1 pvc 4
!
interface serial 1 
encapsulation x25 
x25 ltc 5 
x25 pvc 4 interface serial 0 pvc 
1
In global configuration mode, ensure that these TCP sessions remain 
connected in the absence of XOT traffic by enabling keepalives: 
service tcp-keepalives-in 
service tcp-keepalives-out
TCP keepalives also inform a router when an XOT SVCs session is not 
active, thus freeing router resources.