gtpo1mexOperations

ZSNMP-Simple Network Management Protocol

Use this command to do the following:

Requirements and Restrictions

Format




REFresh
refreshes the /etc/snmp.cfg SNMP configuration file and copies it into core storage.

Display
retrieves the specified MIB variable from the TPF system.

mibvar
is the MIB variable descriptor. Specify the standard MIB abbreviation of the object name or table. See TPF Transmission Control Protocol/Internet Protocol for a list of the MIB variables that are supported by the TPF system and the associated variable descriptors.

mibasn
is the MIB object identifier in Abstract Syntax Notation (ASN.1) format. Specify the entire object identifier up to the group, variable, or index level. See TPF Transmission Control Protocol/Internet Protocol for a list of the MIB variables that are supported by the TPF system and the associated object identifiers.

mibgroup
is the MIB group name. Specify one of the following:

SYSTEM
displays the variables in the system group.

INTERFACES
displays the variables in the interfaces group.

IP
displays the variables in the IP group.

ICMP
displays the variables in the ICMP group.

TCP
displays the variables in the TCP group.

UDP
displays the variables in the UDP group.

SNMP
displays the variables in the SNMP group.

MIB
displays all of the MIB variables.

UMIB
displays your enterprise-specific MIB variables.

See TPF Transmission Control Protocol/Internet Protocol for a list of the MIB variables that are supported by the TPF system and the group to which each variable belongs.

File-filename
retrieves the specified MIB variable from the TPF system and sends the output to a file, where filename is the name of the file in which you want to save the data.

Additional Information

Examples

The following example refreshes the /etc/snmp.cfg SNMP configuration file and copies it into core storage.

+--------------------------------------------------------------------------------+
|User:   ZSNMP REFRESH                                                           |
|                                                                                |
|System: SNMP0001I 09.17.22 SNMP CONFIGURATION FILE REFRESHED SUCCESSFULLY       |
+--------------------------------------------------------------------------------+

The following example requests the MIB variable information for SNMP input packets using the variable descriptor.

+--------------------------------------------------------------------------------+
|User:   ZSNMP DISPLAY SNMPINPKTS                                                |
|                                                                                |
|System: SNMP0018I 09.50.33 SNMP MIB RETRIEVAL DISPLAY                           |
|        snmpInPkts : 247                                                        |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example requests the MIB variable information for SNMP input packets using ASN.1 format.

+--------------------------------------------------------------------------------+
|User:   ZSNMP DISPLAY 1.3.6.1.2.1.11.1                                          |
|                                                                                |
|System: SNMP0018I 09.50.51 SNMP MIB RETRIEVAL DISPLAY                           |
|        snmpInPkts : 247                                                        |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example requests the MIB variable information for the UDP group.

+--------------------------------------------------------------------------------+
|User:   ZSNMP DISPLAY UDP                                                       |
|                                                                                |
|System: SNMP0018I 10.10.32 SNMP MIB RETRIEVAL DISPLAY                           |
|        udpInDatagrams : 9436                                                   |
|        udpNoPorts : 21                                                         |
|        udpInErrors : 0                                                         |
|        udpOutDatagrams : 6                                                     |
|        udpLocalAddress.0.0.0.0.69 : 0.0.0.0                                    |
|        udpLocalAddress.0.0.0.0.520 : 0.0.0.0                                   |
|        udpLocalPort.0.0.0.0.69 : 69                                            |
|        udpLocalPort.0.0.0.0.520 : 520                                          |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example requests the MIB variable information for the UDP group and saves the data to a file.

+--------------------------------------------------------------------------------+
|User:   ZSNMP DISPLAY UDP FILE-udpgroup.txt                                     |
|                                                                                |
|System: SNMP0019I 09.51.28 SNMP MIB RETRIEVAL CONTENTS SENT TO FILE udpgroup.txt|
|                                                                                |
+--------------------------------------------------------------------------------+

Related Information

See TPF Transmission Control Protocol/Internet Protocol for more information about SNMP.