316 CHAPTER 14: X.25 AND LAPB CONFIGURATIONX.25 ConfigurationExamplesDirect Connection ofTwo Routers via SerialInterfaces (OneMapping)Network requirementsAs shown in the following figure, two routers are directly connected; IP packetscan be transmitted between serial interfaces over X.25 link layer protocol. Onlyone IP to X.121 mapping is available on Router A.Network diagramFigure 71 Direct connection of two routers through serial interfaces (X.25)Configuration procedure1 Configure RouterA:# Enter interface view system-view[RouterA] interface serial 2/0# Assign an IP address for the interface.[RouterA-Serial2/0] ip address 202.38.60.1 255.255.255.0# Configure the link layer protocol of the interface as X.25, and configure theinterface to operate in DTE mode.[RouterA-Serial2/0] link-protocol x25 dte# Assign an X.121 address to the interface.[RouterA-Serial2/0] x25 x121-address 20112451# Configure address mapping to the peer.[RouterA-Serial2/0] x25 map ip 202.38.60.2 x121-address 20112452# Configure the maximum packet size allowed and the window size.[RouterA-Serial2/0] x25 packet-size 1024 1024[RouterA-Serial2/0] x25 window-size 5 5[RouterA-Serial2/0] shutdown[RouterA-Serial2/0] undo shutdown2 Configure Router B# Enter interface view. system-view[RouterB] interface serial 2/0S 2/0202 .38.60 .1 /24X 121 address: 20112451Router A Router BS 2/0202 .38 .60 .2 /24X121 address: 20112452