338
C
14: X.25
HAPTER
AND
X.25 PAD Configuration
Example
LAPB C
ONFIGURATION
Network requirements
As shown in the following figure, Router A is connected to Router B through an
X.25 network. It is required that Router B could place X.25 PAD calls to log onto
Router A and then configure Router A.
Network diagram
Figure 84 Network diagram for X.25 PAD configuration
S 2/0
X 121 address:1
Router A
Configuration procedure
1 Configure Router A
# Add a PAD user.
<RouterA> system-view
[RouterA] local-user pad1
[RouterA-luser-pad1] password simple pad1
[RouterA-luser-pad1] service-type pad
[RouterA-luser-pad1] quit
# Access a user-interface, and on it configure authentication mode and protocol
type.
[RouterA] user-interface vty 0 4
[RouterA-ui-vty0-4] authentication-mode scheme
[RouterA-ui-vty0-4] protocol inbound pad
[RouterA-ui-vty0-4] quit
# Configure domain user X.25 to use the local authentication scheme.
[RouterA] domain x25
[RouterA-isp-x25] authentication ppp local
[RouterA-isp-x25] quit
# Configure the link layer protocol of the interface Serial 2/0 as X.25. Configure
the interface to operate in DTE mode.
[RouterA] interface serial 2/0
[RouterA-Serial2/0] link-protocol x25 dte
# Assign an X.121 address for the interface.
[RouterA-Serial2/0] x25 x121-address 1
2 Configure Router B
# Configure the link layer protocol of the interface Serial 2/0 as X.25. Configure
the interface to operate in DCE mode.
<RouterB> system-view
[RouterB] interface serial 2/0
[RouterB-Serial2/0] link-protocol x25 dce
X 121 address:2
X.25 network
S2/0
Router B