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

369
Default command level
2: System level
Parameters
pvc-number1: PVC number on the input interface, in the range of 1 to 4095.
interface interface-type interface-number: Specifies an interface by its type and number.
dlci dlci-number: Specifies an FR DLCI number in the range of 16 to 1007.
pvc pvc-number2: Specifies a PVC number on the output interface, in the range of 1 to 4095.
option: Attribute option of PVC.
Description for options:
packet-size input-packet output-packet: Specifies the maximum input and output packet sizes in
bytes, which are both in the range of 16 to 4096 and must be the integer power of 2.
window-size input-window-size output-window-size: Specifies the input and output window sizes of
the virtual circuit. When the modulo is 8, the value range is 1 to 7. When the modulo is 128, the
value range is 1 to 127.
Usage guidelines
Based on the X.25 switching configuration, you can use the device as a simple X.25 switch. When PVC
switching is configured, the link layer protocol on the input and output interfaces must be X.25. Moreover,
the specified PVCs on the two interfaces are effective. After configuring the PVC switching route, the
device will receive information from the PVC of the input interface and forward the information through
the specified PVC of the output interface.
You can configure X.25 PVC switching to switch from an X.25 interface to an Annex G DLCI (X.25 over
FR) or vice versa, or even between Annex G DLCIs.
Two X.25 networks can be connected through an Annex G DLCI over an FR network. The Annex G DLCI
can also act as a backup connection between the two X.25 networks.
You need to configure the switching route for the other interface when you configure switching.
Otherwise, the switching does not work.
For X.25 PVC switching, you need to specify the virtual circuit range first to make it work. Otherwise, the
PVC switching in the X.25 template cannot work unless you apply a new template to the FR DLCI or delete
the current template.
You cannot configure PVC switching on the X.25 sub-interface.
Examples
# Perform the packet switching from PVC 1 on the Serial 2/0 to PVC 2 on the Serial 2/1.
<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 PVC 1 on the Serial 2/1 to PVC 1 on the Serial 2/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