Encoding::BER::SNMP - adds SNMP specific tags to Encoding::BER


Encoding-BER documentation  | view source Contained in the Encoding-BER distribution.

Index


NAME

Top

Encoding::BER::SNMP - adds SNMP specific tags to Encoding::BER

SYNOPSIS

Top

  use Encoding::BER::SNMP;
  my $enc  = Encoding::BER::SNMP->new();
  my $snmp = $enc->encode( [ 1, 'public',
			     { type  => 'get_request',
		               value => [ $reqid, 0, 0, 
					  [ [ { type  => 'oid',
						value => '1.3.6.1.2.1.2.2.1.10.4' },
					      undef ] ] ] };
  send(UDP, $snmp, 0);

DESCRIPTION

Top

This is a subclass of Encoding::BER, and the following tags are made available:

  ip_address counter32 gauge32 timeticks opaque counter64
  get_request get_next_request get_response set_request
  trap get_bulk_request inform_request snmpv2_trap report

BUGS

Top

There are no known bugs in this module.

SEE ALSO

Top

  Encoding::BER

AUTHOR

Top

Jeff Weisberg - http://www.tcp4me.com/


Encoding-BER documentation  | view source Contained in the Encoding-BER distribution.