Get-Trap Cmdlet

Parameters   Output Objects   Configuration Settings  

The Get-Trap component provides a listening point for SNMP traps.

Syntax

Get-Trap [parameters]

Remarks

The Get-Trap cmdlet provides a listening point for SNMP traps and informs as specified by the SNMP RFCs. The cmdlet supports v1, v2c, and v3 traps.

The cmdlet provides both encoding/decoding and transport capabilities, making the task of receiving and monitoring SNMP traps as simple as setting a few key parameters and handling the output object. SNMP data, such as for instance SNMP object id-s (OID-s) are exchanged as text strings, thus further simplifying the task of handling them.

The cmdlet provides seamless translation of trap labels using MIB files from vendors as well as the standard ones that are included in the installation of the cmdlet.

The cmdlets support pipeline input for some of their parameters. Prebuilding an object and piping it to the cmdlet is very useful, but should be used with caution to prevent security conflicts. Steps have been taken to decrease the risk of a possibly accidental pipe to the cmdlet, for instance, the Credential parameter cannot be piped to the cmdlet and must be specified manually.


1> get-trap

Parameter List


The following is the full list of the parameters of the cmdlet with short descriptions. Click on the links for further details.

LogFileThe location of a file to which debug information is written.
AuthenticationProtocolThe authentication protocol used.
ConfigSpecifies one or more configuration settings.
EncryptionAlgorithmThe encryption algorithm used for the request.
EncryptionPasswordThe password used for SNMPv3 privacy.
LocalIPThe IP address of the local interface with which to bind.
LocalPortThe local port that the component should use.
LogFileThe location of a file to which debug information is written.
PasswordThe password used for SNMPv3 authentication.
TimeThe duration of the bind.
TranslateResolve OIDs to labels in the response for the trap.
UserThe user name used for SNMPv3 authentication.

Output Objects


The following is the full list of the output objects returned by the cmdlet with short descriptions. Click on the links for further details.

TrapThis object is returned for each trap received by the component.

Configuration Settings


The following is a list of configuration settings for the cmdlet with short descriptions. Click on the links for further details.

BuildInfoInformation about the product's build.
CodePageThe system code page used for Unicode to Multibyte translations.
LicenseInfoInformation about the current license.
UseInternalSecurityAPITells the component whether or not to use the system security libraries or an internal implementation.

Copyright (c) 2022 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 8319]