Using the SNMP Utilities

4.1Using the MIB Browser

6.The following example uses the same command as in example 5, but it specifies the -tflag instead of the -lflag. Only OIDs with the prefix matching the input OID are returned. Note that as with other getnext request examples, the value for the input OID is not returned. If an SNMP Version 2 agent is the server, the results using getbulk are identical.

$ snmp_request marley.dec.com "public" getnext -t 1.3.6.1.2.1.1

1.3.6.1.2.1.1.2.0= 1.3.6.1.4.1.36.2.15.13.7.1

1.3.6.1.2.1.1.3.0= 1302232 = 0 d 3:37:2

1.3.6.1.2.1.1.4.0= Sam Spade

1.3.6.1.2.1.1.5.0= marley.dec.com

1.3.6.1.2.1.1.6.0= Falcon BuildingLos Angeles, CA

1.3.6.1.2.1.1.7.0= 72

1.3.6.1.2.1.1.8.0= 0 = 0 d 0:0:0

1.3.6.1.2.1.1.9.1.2.1 = 1.3.6.1.4.1.36.15.3.3.1.1 1.3.6.1.2.1.1.9.1.2.2 = 1.3.6.1.4.1.36.15.3.3.1.2 1.3.6.1.2.1.1.9.1.3.1 = Base o/s agent (OS_MIBS) capabilities 1.3.6.1.2.1.1.9.1.3.2 = Base o/s agent (HR_MIB) capabilities 1.3.6.1.2.1.1.9.1.4.1 = 0 = 0 d 0:0:0 1.3.6.1.2.1.1.9.1.4.2 = 0 = 0 d 0:0:0

7.The following example shows how to send a Set request. The request succeeds because the command line specifies the correct type for the variable, and all the conditions for enabling Set requests are met on the server.

$ snmp_request marley.dec.com "address_list" - _$ set 1.3.6.1.2.1.1.4.0 "D" "Richard Blaine"

1.3.6.1.2.1.1.4.0= Richard Blaine

8.The following example shows how to display the contents of packets that are sent and received. Note that only the SNMP-specific portion of the UDP packets is displayed.

$ snmp_request marley.dec.com "public" get -d 1.3.6.1.2.1.1.4.0 Sent:

3082002D

02010004

06707562

6C6963A0

0..-

.....public.

2002047B

E9C1BD02 01000201

00308200

..{

0..

10308200

0C06082B 06010201

01040005

.0

+

00

 

 

 

.

 

Received:

 

 

 

 

 

3082003B

02010004

06707562

6C6963A2

0..;

.....public.

2E02047B

E9C1BD02 01000201

00308200

...{

.........0..

1E308200

1A06082B 06010201

01040004

.0

+

0E526963

68617264

20426C61

696E65

.Richard Blaine

1.3.6.1.2.1.1.4.0= Richard Blaine

4.2Using the Trap Sender and Trap Receiver Programs

TCP/IP Services provides the following programs that allow you to set up a simple client on your system to send and receive trap messages:

snmp_trapsnd (TCPIP$SNMP_TRAPSND.EXE)

Sends SNMP Version 1 and SNMP Version 2 trap messages. Use only for testing or to send significant state changes that occur on the managed node.

snmp_traprcv (TCPIP$SNMP_TRAPRCV.EXE)

Listens for SNMP trap messages and displays any it receives.

4–8Using the SNMP Utilities

Page 52
Image 52
Compaq AAR04BCTE manual Using the Trap Sender and Trap Receiver Programs

AAR04BCTE specifications

The Compaq AAR04BCTE is a remarkable desktop computer that embodies a combination of performance, versatility, and reliability, catering to various computing needs for both personal and professional use. This model stands out in the crowded market of desktop PCs due to its robust specifications and user-friendly features.

One of the main highlights of the AAR04BCTE is its powerful processor, which ensures speedy performance and smooth multitasking capabilities. With options available for both Intel and AMD processors, users can select a configuration that best suits their operational requirements, whether for intensive gaming, content creation, or general productivity tasks.

Memory capacity is another significant aspect of the AAR04BCTE. The system typically comes equipped with ample RAM, allowing for efficient handling of various applications running simultaneously. This feature is particularly beneficial for users who rely on memory-intensive software, such as graphic design tools or data analysis programs.

The storage capabilities of this model are designed to accommodate the needs of modern users. A combination of SSD and HDD options provides a perfect balance between speed and storage capacity. The SSD ensures quick boot times and faster access to frequently used applications, while the HDD offers substantial space for large files, multimedia content, and backups.

Connectivity is well addressed in the AAR04BCTE, featuring multiple USB ports, HDMI, and Ethernet connections. This extensive range of ports allows users to connect various peripherals, including printers, external storage devices, and monitors, making the computer a flexible choice for different setups.

The AAR04BCTE also incorporates advanced graphics technologies, making it suitable for both casual gaming and video editing tasks. With integrated graphics options and the possibility of adding discrete graphics cards, this model can handle visually demanding applications without compromising on performance.

In terms of energy efficiency, the Compaq AAR04BCTE adheres to modern standards, ensuring that users can operate their desktops without incurring exorbitant electricity costs. Additionally, the design of the unit is sleek and compact, enabling it to fit seamlessly into various workspaces while maintaining an aesthetic appeal.

Overall, the Compaq AAR04BCTE is a solid choice for users seeking a reliable desktop computer with powerful features, versatile connectivity, and efficient performance. Whether for home use or in a professional environment, this model delivers on its promise of quality and functionality, addressing the diverse needs of today's technology-savvy users.