2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH TNINFO 1M "Jul 20, 2007"
8 tninfo \- print kernel-level network information and statistics
12 \fB/usr/sbin/tninfo\fR [\fB-h\fR \fIhostname\fR] [\fB-m\fR \fIzone-name\fR] [\fB-t\fR \fItemplate\fR]
18 \fBtninfo\fR provides an interface to retrieve and display kernel-level network
19 information and statistics.
24 \fB\fB-h\fR \fIhostname\fR\fR
27 Display the security structure for the specified host in the remote-host cache.
28 The output should reflect what is specified in the \fBtnrhdb\fR database.
34 \fB\fB-m\fR \fIzone-name\fR\fR
37 Display the MLP configuration associated with the specified zone. The output
38 should reflect what is specified in the \fBtnzonecfg\fR database.
44 \fB\fB-t\fR \fItemplate\fR\fR
47 Display the structure associated with the specified \fItemplate\fR. The output
48 should reflect what is specified in the \fBtnrhtp\fR database.
53 \fBExample 1 \fRDisplaying Remote Host Structures Cached in the Kernel
56 This example shows the remote host structures cached in the kernel. The output
57 reflects the definition in the \fBtnrhdb\fR database.
62 # \fBtninfo -h machine1\fR
63 IP address= 192.168.8.61
70 \fBExample 2 \fRDisplaying Multilevel Ports for the Global Zone
73 This example shows the kernel-cached MLPs for the global zone. The output
74 reflects the definition in the \fBtnzonecfg\fR database, plus any dynamically
75 allocated MLPs. \fBprivate\fR indicates zone-specific MLPs.
80 # \fBtninfo -m global\fR
81 private:23/tcp;111/tcp;111/udp;515/tcp;2049/tcp;6000-6003/tcp;
82 32812/tcp;36698/ip;38634/tcp;64365/ip
89 \fBExample 3 \fRDisplaying the \fBcipso\fR Template Definition
92 This example shows the kernel-cached \fBcipso\fR template definition. The
93 output reflects the definition in the \fBtnrhtp\fR database.
98 # \fBtninfo -t cipso\fR
99 =====================================
100 Remote Host Template Table Entries:
101 __________________________
117 \fB\fB/etc/security/tsol/tnrhdb\fR\fR
121 Trusted network remote-host database
127 \fB\fB/etc/security/tsol/tnrhtp\fR\fR
131 Trusted network remote-host templates
137 \fB\fB/etc/security/tsol/tnzonecfg\fR\fR
141 Trusted zone configuration database
147 See \fBattributes\fR(5) for descriptions of the following attributes:
155 ATTRIBUTE TYPE ATTRIBUTE VALUE
157 Interface Stability See below.
162 The command line is Committed. The output is Uncommitted.
166 \fBtnd\fR(1M), \fBtnctl\fR(1M), \fBattributes\fR(5)
169 \fIHow to Synchronize Kernel Cache With Network Databases\fR in \fISolaris
170 Trusted Extensions Administrator\&'s Procedures\fR
174 The functionality described on this manual page is available only if the system
175 is configured with Trusted Extensions.