Configuring X.25 interface supplementary parameters
Introduction to X.25 interface supplementary parameters
It is necessary to configure certain supplementary X.25 parameters in some special network environments. The following sections are related to the following supplementary parameters.
X.25 layer 3 delay timer
X.25 protocol defines a series of timers to facilitate its procedure. After X.25 sends a control message, if it does not receive the response before the timer expires, X.25 protocol will take measures to handle this abnormal event. Table 5 lists the names and procedures of these timers.
Table 5: X.25 Layer 3 timer
Procedure name | Timer name | |
---|---|---|
DTE side | DCE side | |
Restart | T20 | T10 |
Call | T21 | T11 |
Reset | T22 | T12 |
Clear | T23 | T13 |
Register | T28 | N/A |
T28 is a "Registration request sending" timer which is only defined on DTE for dynamically requesting the network for optional services or stopping these services. Its default value is 300 seconds, which cannot be changed.
Attributes related to X.25 address
To establish an SVC with a call, X.25 address is needed, which adopts the address format specified in ITU-T Recommendation X.121. An X.121 address is a string of 1 to 15 digits. Some attributes related to X.121 address are as follows:
Alias of interface
When an X.25 call is forwarded across multiple networks, different networks will likely make some modifications on the called address as needed, such as adding or deleting the prefix. In such cases, the destination address of a call that reaches X.25 interface might be inconsistent with X.121 address of the destination interface (because the destination address of this call is modified within the network); still the interface should accept this call. For this purpose, one or more alias names must be specified for this interface.
To meet the requirements of different networks, X.25 defines nine match types and their relevant alias string formats, as shown in Table 6.
Table 6: Alias match modes and meanings
Matching mode | Description | Example |
---|---|---|
free | Free matching, the alias string is in the form of 1234. | "1234" will match 561234, 1234567 and 956123478, but will not match 12354. |
free-ext | Extended free matching, in which the alias string is in the form of …1234.. | "…1234 .." will match 678123459, but will not match 68123459, 67812345 and 6781234591. |
left | Left-most matching mode, in which the alias string is in the form of $1234. | "$1234" will match 1234567 and 12346790, but will not match 3123478 and 123784. |
left-ext | Extended left-most matching mode, in which the alias string is in the form of $1234…. | "$1234 …" will match 1234679 and 1234872, but will not match 123468 and 12346890. |
right | Right-most matching mode, in which the alias string is in the form of 1234$. | "1234$" will match 791234 and 6901234, but will not match 7912345 and 6212534. |
right-ext | Extended rightmost matching mode, the alias string is in the form of ….1234$. | "….1234$" will match 79001234 and 86901234, but will not match 7912345 and 506212534. |
strict | Strict matching mode, in which the alias string is in the form of $1234$. | "$1234$" can only match 1234. |
whole | Whole matching mode, in which the alias string is in the form of ........ | "…..…" will match all the valid X.121 addresses of 8 digits in length. |
whole-ext | Extended whole matching mode, in which the alias string can only be *. | "*" will match all the valid X.121 addresses. |
Attributes related to the address code block in calling or called packets
As defined in the X.25 protocol, a call packet must carry the information set of both the calling DTE address (source address) and the called DTE address (destination address). This address information set is called "address code block." In a call accept packet, some networks require that both (the calling DTE address and the called DTE address) be carried, some networks require that only one of the two be carried, and some others require that neither should be carried. To adapt to the differences between various networks, make selections as required.
Default upper layer protocol that X.25 bears
An X.25 call request packet includes a CUD field indicating the upper layer protocol type carried over the X.25 protocol. When receiving an X.25 call, the device will check the CUD field in the packet. If receiving a call carrying an unidentifiable CUD field, the router will deny it. However, an upper layer protocol can be specified as the default protocol on the X.25. When X.25 receives a call with an unrecognizable CUD, it will treat it with the customized default upper layer protocol.
The user facility adding/removing function
The user facility adding and removing functions are applicable to only main interfaces. They work as follows on a main interface:
The user facility adding function is applicable to only the incoming packets. With the function, the main interface checks incoming call setup negotiation packets for the window size and maximum packet size fields. If the two fields are carried, the packets are not processed; if not, the two fields are added to the packets.
The user facility removing function is applicable to only the outgoing packets. With the function, the main interface checks outgoing call-setup negotiation packets for the window size and maximum packet size fields. If the two fields are not carried, the packets are not processed; if the two fields are carried, they are removed before the packets are sent out.
Configuration procedure
To configure X.25 interface supplementary parameters:
Step | Command | Remarks | |
---|---|---|---|
1. Enter system view. | system-view | N/A | |
2. Enter interface view. | interface interface-type interface-number | N/A | |
3. Set the restart timer delay value. | x25 timer tx0 seconds | Optional. By default, the value for DTE is 180 seconds, and the value for DCE is 60 seconds. | |
4. Set the call request timer for DTE or the call indication timer for DCE. | x25 timer tx1 seconds | Optional. By default, the value for DTE is 200 seconds, and the value for DCE is 180 seconds. | |
5. Set the reset request timer for DTE or the reset indication timer for DCE. | x25 timer tx2 seconds | Optional. By default, the value for DTE is 180 seconds, and the value for DCE is 60 seconds. | |
6. Set the clearing request timer for DCE or the clearing request timer for DTE. | x25 timer tx3 seconds | Optional. By default, the value for DTE is 180 seconds, and the value for DCE is 60 seconds. | |
7. Specify an alias for the interface. | x25 alias-policy match-type alias-string | Optional. Not specified by default. | |
8. Carry no X.121 address of the called DTE in each call packet. | x25 ignore called-address | Optional. Carried by default. | |
9. Carry no X.121 address of the calling DTE in each call packet. | x25 ignore calling-address | Optional. Carried by default. | |
10. Carry the address of the called DTE in each call-acceptance packet. | x25 response called-address | Optional. Not carried by default. | |
11. Carry the address of the calling DTE in each call-acceptance packet. | x25 response calling-address | Optional. Not carried by default. | |
12. Specify the default upper layer protocol. | x25 default-protocol protocol-type | Optional. Not specified by default. | |
13. Enable the user facility adding function. | x25 add-facility | Optional. Disabled by default. | |
14. Enable the user facility removing function. | x25 remove-facility | Optional. Disabled by default. |