SNMP::Info::Layer3::Huawei(3)

NAME
SNMP::Info::Layer3::Huawei - SNMP Interface to Huawei Layer 3 switches and routers.

AUTHORS
Jeroen van Ingen

SYNOPSIS
 # Let SNMP::Info determine the correct subclass for you.
 my $huawei = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          DestHost    => 'myrouter',
                          Community   => 'public',
                          Version     => 2
                        )
    or die "Can't connect to DestHost.\n";

 my $class      = $huawei->class();
 print "SNMP::Info determined this device to fall under subclass : $class\n";

DESCRIPTION
Subclass for Huawei Quidway switches

  Inherited Classes

SNMP::Info::Layer3
SNMP::Info::LLDP
SNMP::Info::IEEE802dot3ad

  Required MIBs

HUAWEI-MIB
Inherited Classes' MIBs
    See SNMP::Info::Layer3 for its own MIB requirements.

    See SNMP::Info::LLDP for its own MIB requirements.

    See SNMP::Info::IEEE802dot3ad for its own MIB requirements.

GLOBALS
These are methods that return scalar value from SNMP

$huawei->vendor()
    Returns 'Huawei'.

$huawei->os()
    Returns 'VRP' if contained in "sysDescr", 'huawei' otherwise.

$huawei->os_ver()
    Returns the software version extracted from "sysDescr".

  Globals imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details.

  Globals imported from SNMP::Info::LLDP
See documentation in SNMP::Info::LLDP for details.

TABLE ENTRIES
These are methods that return tables of information in the form of a reference to a hash.

  Overrides

$huawei->i_ignore()
    Returns reference to hash. Increments value of IID if port is to be ignored.

    Ignores InLoopback and Console interfaces

"agg_ports"
    Returns a HASH reference mapping from slave to master port for each member of a port bundle on the device. Keys are ifIndex of the slave ports, Values are ifIndex of the corresponding master ports.

  Table Methods imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details.

  Table Methods imported from SNMP::Info::LLDP
See documentation in SNMP::Info::LLDP for details.

  Table Methods imported from SNMP::Info::IEEE802dot3ad
See documentation in SNMP::Info::IEEE802dot3ad for details.