System Administration Commands tninfo(1M)
NAME
tninfo - print kernel-level network information and statis-
ticsSYNOPSIS
/usr/sbin/tninfo [-h hostname] [-m zone-name] [-t template]
DESCRIPTION
tninfo provides an interface to retrieve and display
kernel-level network information and statistics.
OPTIONS-h hostname Display the security structure for the
specified host in the remote-host cache. The
output should reflect what is specified in the tnrhdb database.-m zone-name Display the MLP configuration associated
with the specified zone. The output should reflect what is specified in the tnzonecfg database.-t template Display the structure associated with the
specified template. The output should reflect what is specified in the tnrhtp database.EXAMPLES
Example 1 Displaying Remote Host Structures Cached in the Kernel This example shows the remote host structures cached in the kernel. The output reflects the definition in the tnrhdb database.# tninfo -h machine1
IP address= 192.168.8.61 Template = cipso Example 2 Displaying Multilevel Ports for the Global ZoneThis example shows the kernel-cached MLPs for the global
zone. The output reflects the definition in the tnzonecfgSunOS 5.11 Last change: 20 Jul 2007 1
System Administration Commands tninfo(1M)
database, plus any dynamically allocated MLPs. private indi-
cates zone-specific MLPs.
# tninfo -m global
private:23/tcp;111/tcp;111/udp;515/tcp;2049/tcp;6000-6003/tcp;
32812/tcp;36698/ip;38634/tcp;64365/ipshared: 6000-6003/tcp
Example 3 Displaying the cipso Template DefinitionThis example shows the kernel-cached cipso template defini-
tion. The output reflects the definition in the tnrhtp data-
base.# tninfo -t cipso
===================================== Remote Host Template Table Entries:__________________________
template: cipsohost_type: CIPSO
doi: 1min_sl: ADMIN_LOW
hex: ADMIN_LOW
max_sl: ADMIN_HIGH
hex: ADMIN_HIGH
FILES /etc/security/tsol/tnrhdbTrusted network remote-host database
/etc/security/tsol/tnrhtpTrusted network remote-host templates
/etc/security/tsol/tnzonecfg Trusted zone configuration databaseATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 20 Jul 2007 2
System Administration Commands tninfo(1M)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | system/trusted ||_____________________________|_____________________________|
| Interface Stability | See below. ||_____________________________|_____________________________|
The command line is Committed. The output is Uncommitted.SEE ALSO
tnd(1M), tnctl(1M), attributes(5) How to Synchronize Kernel Cache With Network Databases in Solaris Trusted Extensions Administrator's Procedures NOTES The functionality described on this manual page is available only if the system is configured with Trusted Extensions.SunOS 5.11 Last change: 20 Jul 2007 3