gtpo1mex | Operations |
Use this command to do the following:
Requirements and Restrictions
Format
|
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.
Additional Information
ZSNMP HELP
ZSNMP ?
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.