HP X.25/9000 User's Guide HP-UX 11i v3 (5900-1523, August 2011)

DescriptionCommand
Protocol level tracing facility. See your man pages.x25trace
Dumps the interface card memory into a file. See your man pages.x25upload
Creates a user-defined log file containing frame and packet trace information from X.25
packet and LAP-B levels. See your man pages for x25trace and the examples in “Tracing
and logging utilities” (page 118).
nettl
Formats trace information contained in the user-defined log file that was generated with
the nettl command. See your man pages for x25trace and the examples in “Tracing
and logging utilities” (page 118).
netfmt
Collects and writes X.25 logging event message. See your man pages and the examples
in “Tracing and logging utilities” (page 118).
strace
Receives error messages from the STREAMS log driver. See your man pages and the
examples in “Tracing and logging utilities” (page 118).
strerr
Configures network interface parameters. See your man pages.ifconfig
Examples of x25init
The following example shows a valid usr/sbin/x25init command (provided that the
programmatic access name has been specified in the configuration file x25config_0):
x25init -c x25config_0 4085551111 -a
ip_to_x121_map
Alternatively, the IP-to-X.121 map table can be specified in a separate x25init command:
x25init -c x25config_0 4085551111
x25init -a ip_to_x121_map
NOTE: In case, the IP-to-X.121 map table needs to be specified for an XoL interface, the x25init
command must be issued with the c, L and a options in the same line:
/usr/sbin/x25init c <XoL interface config file> -L <LLc2 config file>
-a <ip to x121 map file>
NOTE: If x25init fails, you can look at the /usr/adm/x25/x25init.log log file for
troubleshooting information.
IP-to-X.121 address mapping table
The IP-to-X.121 address mapping table is used to enable IP to route through X.25 networks by
mapping a host's IP address to its X.121 address. The table is used for both inbound and outbound
packets.
The IP-to-X.121 address mapping table is a kernel table created from an ASCII file containing one
entry per line. It is created using x25init with the -a option. Each line describes the destination
X.121 address used to reach a host with a particular IP address. Reverse mapping reverses the
order of translation. The default file name and directory for the mapping table is /etc/x25/
ip_to_x121_map.
When the packet is outbound, the IP address is mapped to the X.121 address that is associated
with it in the IP map file. When the packet is inbound, the X.121 address is mapped to the IP
address of the same destination host. This is called “reverse mapping.” The table is not used when
IP packets are transmitted to X.25 over DDN. In this case, the DDN-specific mapping algorithm
is used instead. See DDN X.25 Host Interface Specification (BBN83).
There must be an entry in the mapping table for each host you want to communicate with over a
direct-connect X.25 network. If the host is connected through a gateway, you only need an entry
for the gateway (containing the IP and X.121 addresses of the gateway).
138 Troubleshooting