To retrieve MIB information from a GNE using the snmpDump utility

Purpose

Perform this procedure to export all object values from the NFM-P-supported SNMP MIBs on a GNE. The exported information may help with troubleshooting the GNE configuration on the device or in the NFM-P.

Steps
 

Log in to an NFM-P main server station as the nsp user.


Open a console window.


Navigate to the /opt/nsp/nfmp/server/nms/bin directory.


Enter the following:

./snmpDump.bash option_list

where option_list is one or more of the options listed in Table 6-6, snmpDump .bash options

Note: Each option must be separated by a space, as shown in the following example:

snmpDump.bash -v 3 -h 192.168.18.77 -u jsmith -apw mypass -ppw yoda

If an option has a default value, the default value is included in the option description.

Table 6-6: snmpDump .bash options

Option

Description

-v version

The SNMP version in use on the GNE

Default: 2

-f file_name

The output filename

Default: host-snmpDump.out in the current directory

-h host

The IP address or hostname of the GNE

Default: localhost

-c community

The SNMP community

-u v3_user

The SNMPv3 user name

-e snmp_engine_ID

The SNMP engine ID

-ap v3_auth_protocol

The SNMPv3 authorization protocol, which can be MD5 or SHA

Default: MD5

-apw v3_auth_password

The SNMPv3 authorization password

-ppw v3_privacy_password

The SNMPv3 privacy password

-cn v3_context_name

The SNMPv3 context name

-ci v3_context_ID

The SNMPv3 context ID

-p port

The TCP port on the main server that snmpDump must use to reach the GNE

Default: 161

-t timeout

A communication timeout value

-r retries

The number of times to retry connecting to the GNE

The utility displays status messages similar to the following as it initializes:

Init Products ...
Init ProductFamilyDefs ...
Init PollingDirectiveDefs ...
Start reading from Node ...

The utility then begins to retrieve the MIB tables. As It processes a MIB table, it lists the table name and the number of entries the table contains, as shown below:

IF-MIB.ifEntry : 21
IP-MIB.ipAddrEntry : 5
MPLS-LSR-STD-MIB.mplsInterfaceEntry : 8
MPLS-TE-STD-MIB.mplsTunnelEntry : 0
MPLS-TE-STD-MIB.mplsTunnelHopEntry : 0
MPLS-TE-STD-MIB.mplsTunnelARHopEntry : 0
MPLS-TE-STD-MIB.mplsTunnelCHopEntry : 0
MPLS-LDP-STD-MIB.mplsLdpEntityEntry : 3
MPLS-LDP-STD-MIB.mplsLdpEntityStatsEntry : 3
MPLS-LDP-STD-MIB.mplsLdpPeerEntry : 3

The utility is finished when the command prompt is displayed.


To view the utility output, open the file using a MIB browser or a text editor.

End of steps