HP Comware 5 Debug Manual Vol 2

#
interface Ethernet1/0
ip address 1.1.1.2 255.255.255.0
#
interface Serial2/0
link-protocol x25 dce
x25 x121-address 1
#
x25 switch svc 2 interface Serial2/0
translate ip 1.1.1.2 port 102 x25 2
translate x25 1 ip 1.1.1.1 port 102
#
Configuration on Router B:
#
x25 switching
#
interface Ethernet1/0
ip address 11.1.1.2 255.255.255.0
#
interface Serial2/0
link-protocol x25
x25 x121-address 2
#
x25 switch svc 1 interface Serial2/0
translate ip 11.1.1.2 port 102 x25 1
translate x25 2 ip 11.1.1.1 port 102
#
# Enable all types of X2T debugging on Router A.
<RouterA> debugging x25 x2t all
*0.272876915 RouterA X25/7/debug2:
X2T: IP: 1.1.1.2 Port: 102 accept a tcp socket. SocketID=2
*0.272876916 Sysname X25/7/debug2:
// Router A received a TCP socket connection from PC 1 through Ethernet 1/0.
X2T: Receive a Packet From TCP. Packet Length is 54
// Router A received a packet (with length 54) through the socket connection. The packet will then be
forwarded to Router B through X.25.
# Enable all types of X2T debugging on Router B.
<RouterB> debugging x25 x2t all
*0.115834849 RouterB X25/7/debug2:
X2T: Receive a Packet From X25. Packet Length is 54
*0.115834849 RouterB X25/7/debug2:
// Router B received a packet (with length 54) from Router A through X.25.
X2T: Send the X2T_SEND_DATA Message to the X2T Task!
*0.115834850 RouterB X25/7/debug2:
// Router B wrote a message to the X2T task, indicating data was to be sent by X2T.
X2T: Connect to Server IP: (11.1.1.1)Port: (102)
319