NAME
na.x25 - virtual circuit statistics
DESCRIPTION
na.x25 returns a table of information about an X.25 virtual circuit.
If no default reporting interval is sent, the agent will report every 30 seconds.
ATTRIBUTES
na.x25 has one attribute table, circuit, that provides statistics about a particular virtual circuit, using lcn as the key.
lcn - logical channel number (short)
linkid - link identifier (int)
in/out - direction of circuit, initiate connection or receive connection (string[5])
hdlc_state - HDLC link state, up or down (string[5]) pkt_lev - packet level, up or down (string[5]) state - X.25 state (string[9])
opkts - number of packets sent (counter). This attribute is valid only if the connection is up. This attribute value is cumulative, and reset to zero when the connection is established. ipkts - number of packets received (counter). This attribute is valid only if the connection is up. This attribute value is cumulative, and reset to zero when the connection is established.
address - remote address (string[32])
OPTIONS
A non-negative integer corresponding to the interface identifier (also known as "link id") can be specified as an option. In this case, only information pertaining to the specified interface will be returned. This option will work only with version 7.0 of SunNet X.25 (version 6.0 will ignore it).
ERRORS
this link not active
The link specified by the key is not active.
X25 ioctl failed
ioctl (rd_link_stats) fail
ioctl (rd_lcn_info) fail
ioctl (sicgiflags) fail
ioctl (getaddr) fail
See ioctl(2).