Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

snmp::info::layer3::pf(3pm) [debian man page]

Info::Layer3::Pf(3pm)					User Contributed Perl Documentation				     Info::Layer3::Pf(3pm)

NAME
SNMP::Info::Layer3::Pf - SNMP Interface to FreeBSD-Based Firewalls using Pf /Pf Sense AUTHOR
Max Baker SYNOPSIS
# Let SNMP::Info determine the correct subclass for you. my $pf = new SNMP::Info( AutoSpecify => 1, Debug => 1, # These arguments are passed directly to SNMP::Session DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost. "; my $class = $pf->class(); print "SNMP::Info determined this device to fall under subclass : $class "; DESCRIPTION
Subclass for Free-BSD PF-Based devices LLDP Support LLDP Support is included but untested in this Device Class. It is reported that the available CDP/LLDP modules for net-snmp don't work on FreeBSD (on which pfSense is based) as they assume certain Linux specific Ethernet structures. This problem is apparently solved on PF based firewall appliances by using the ladvd package, for which a port may be found here: <http://www.freshports.org/net/ladvd/>. I'm not sure if this module ties into Net-SNMP or not. Inherited Classes SNMP::Info::Layer3 SNMP::Info::LLDP Required MIBs FOKUS-MIB Inherited Classes' MIBs See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements. See "Required MIBs" in SNMP::Info::LLDP for its own MIB requirements. GLOBALS
These are methods that return scalar values from SNMP $pf->vendor() Returns 'FreeBSD' $pf->hasCDP() Returns whether LLDP is enabled. $pf->model() Grabs the os version from "sysDescr" $pf->os() Returns 'Pf' $pf->os_ver() Tries to reference $pf->id() to one of the product MIBs listed above. Will probably return a truncation of the default OID for pf- based systems "enterprises.12325.1.1.2.1.1". Global Methods imported from SNMP::Info::Layer3 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details. TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash. $pf->c_id() Returns LLDP information. $pf->c_if() Returns LLDP information. $pf->c_ip() Returns LLDP information. $pf->c_platform() Returns LLDP information. $pf->c_port() Returns LLDP information. Table Methods imported from SNMP::Info::Layer3 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details. Table Methods imported from SNMP::Info::LLDP See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details. perl v5.12.4 2011-09-28 Info::Layer3::Pf(3pm)

Check Out this Related Man Page

Info::Layer3::AlcatelLucent(3pm)			User Contributed Perl Documentation			  Info::Layer3::AlcatelLucent(3pm)

NAME
SNMP::Info::Layer3::AlcatelLucent - SNMP Interface to Alcatel-Lucent OmniSwitch AUTHOR
Bill Fenner SYNOPSIS
# Let SNMP::Info determine the correct subclass for you. my $alu = new SNMP::Info( AutoSpecify => 1, Debug => 1, # These arguments are passed directly to SNMP::Session DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost. "; my $class = $alu->class(); print "SNMP::Info determined this device to fall under subclass : $class "; DESCRIPTION
Subclass for Alcatel-Lucent OmniSwitch devices Inherited Classes SNMP::Info::Layer3 SNMP::Info::MAU SNMP::Info::LLDP Required MIBs ALCATEL-IND1-DEVICES ALCATEL-IND1-CHASSIS-MIB ALU-POWER-ETHERNET-MIB Note that Alcatel-Lucent distributes their own proprietary version of the POWER-ETHERNET-MIB, but the MIB module name that they distribute is simply POWER-ETHERNET-MIB. This module must be hand-edited to change the module name to ALU-POWER-ETHERNET-MIB so that it can be used simultaneously with the standard POWER-ETHERNET-MIB. Inherited Classes' MIBs See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements. See "Required MIBs" in SNMP::Info::MAU for its own MIB requirements. See "Required MIBs" in SNMP::Info::LLDP for its own MIB requirements. GLOBALS
These are methods that return scalar value from SNMP $alu->vendor() Returns 'alcatel-lucent' $alu->hasCDP() Returns whether LLDP is enabled. $alu->model() Tries to reference $alu->id() to one of the product MIBs listed above Removes 'device' from the name for readability. $alu->os() Returns 'AOS' $alu->os_ver() Grabs the os version from "sysDescr" $alu->ps1_type() Return the type of the first power supply from the ENTITY-MIB $alu->ps2_type() Return the type of the second power supply from the ENTITY-MIB $alu->ps1_status() Return the status of the first power supply from the ALCATEL-IND1-CHASSIS-MIB $alu->ps2_status() Return the status of the second power supply from the ALCATEL-IND1-CHASSIS-MIB Global Methods imported from SNMP::Info::Layer3 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details. Global Methods imported from SNMP::Info::MAU See documentation in "GLOBALS" in SNMP::Info::MAU for details. Global Methods imported from SNMP::Info::Layer3 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details. TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash. $alu->interfaces() Returns interface name from "ifName", since the default return value of "ifDescr" includes the OS version. $alu->fw_mac() Use the Q-BRIDGE-MIB instead of BRIDGE-MIB $alu->fw_port() Use the Q-BRIDGE-MIB instead of BRIDGE-MIB $alu->bp_index() Work around various bugs in the BRIDGE-MIB and Q-BRIDGE-MIB implementations, by returning both "ifIndex" and "dot1dBasePort" mappings to "ifIndex" values. $alu->c_id() Returns LLDP information. $alu->c_if() Returns LLDP information. $alu->c_ip() Returns LLDP information. $alu->c_platform() Returns LLDP information. $alu->c_port() Returns LLDP information. $alu->i_duplex_admin() Returns info from MAU-MIB $alu->i_speed_admin() Returns info from MAU-MIB $alu->peth_port_ifindex() Returns the "ifIndex" value for power-ethernet ports using the OmniSwitch algorithm. Table Methods imported from SNMP::Info::Layer3 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details. Table Methods imported from SNMP::Info::MAU See documentation in "TABLE METHODS" in SNMP::Info::MAU for details. Table Methods imported from SNMP::Info::LLDP See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details. perl v5.12.4 2011-09-28 Info::Layer3::AlcatelLucent(3pm)
Man Page