330
Figure 128 X.25 load sharing scenario
In Figure 128, server A and server B, which are providing identical services, are assigned to hunt
group HG 1. Server A and server B use the address 9999, and the hunt group uses the address 8888.
Enable destination address substitution on Router A to replace the address 8888 with the address
9999. When a user calls the destination address 8888, Router A redirects the call to the address
9999 and then transmits it to server A or server B. Router A processes all calls to the address 8888 in
this way to load balance the calls between server A and server B, preventing a single server from
being overloaded when the other is idle.
You can configure an X.25 hunt group to select lines in either round-robin mode or vc-number mode:
• The round-robin mode uses a cyclic selection method to select the next interface or XOT
channel inside the hunt group for each call. For example, in Figure 128, if hunt group HG 1 use
s
the round-robin mode, the call will be sent in turn to server A or server B.
• The vc-number mode selects the interface with the maximum idle logical channels inside the
hunt group for each call. For example, in Figure 128, if the hunt gro
up HG 1 uses the vc-number
mode, the remaining logical channels of the lines between server A and DCE are 500, and
those of the lines between server B and DCE are 300. The first 200 calls will be sent to server A,
and the subsequent calls will be sent in turn to server A or server B.
An X.25 hunt group can comprise both synchronous serial interfaces and XOT channels. It can
select a line from them indiscriminately. However, you cannot assign XOT channels to a hunt group
in vc-number mode, because the device cannot calculate the number of logical channels.
Configuration procedure
If your device is operating as a DCE, you can configure it to perform load sharing.
To perform load sharing, you must set the call destination on the source DTE as a hunt group
address.
A hunt group can contain up to 10 synchronous serial interfaces, Annex G DLCIs, or XOT channels.
You cannot add XOT channels to a hunt group configured with the vc-number mode.
To configure X.25 load sharing on a DCE:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enable X.25 switching.
x25 switching
Not enabled by default.
3. Create an X.25 hunt group
and enter its view.
x25 hunt-group
hunt-group-name {
round-robin
|
vc-number
}
N/A