---
name: "SNMP::Info::Layer1::Asante"
section: "3pm"
platform: "linux"
package: "libsnmp-info-perl"
version: "3.972002-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SNMP::Info::Layer1::Asante"
---

# SNMP::Info::Layer1::Asante(3pm)

SNMP Interface to old Asante 1012 Hubs

## NAME

SNMP::Info::Layer1::Asante - SNMP Interface to old Asante 1012 Hubs

## AUTHOR

Max Baker

## SYNOPSIS

```
 # Let SNMP::Info determine the correct subclass for you.
 my $asante = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          DestHost    => 'myswitch',
                          Community   => 'public',
                          Version     => 2
                        )
    or die "Can't connect to DestHost.\n";
 my $class = $asante->class();
 print "SNMP::Info determined this device to fall under subclass : $class\n";
```

## DESCRIPTION

Provides abstraction to the configuration information obtainable from an Asante device through SNMP.

### Inherited Classes

- SNMP::Info::Layer1

  ### Required MIBs

- *ASANTE-AH1012-MIB*

  ### Inherited MIBs

See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.

## GLOBALS

### Overrides

- $asante-\>**os()**

  Returns 'asante'

- $asante-\>**os\_ver()**

  Culls software version from **description()**

- $asante-\>**vendor()**

  Returns 'asante'

- $asante-\>**model()**

  Cross references `$asante`-\>**id()** to the *ASANTE-AH1012-MIB* and returns the results.

### Global Methods imported from SNMP::Info::Layer1

See "GLOBALS" in SNMP::Info::Layer1 for details.

## TABLE METHODS

### Overrides

- $asante-\>**interfaces()**

  Returns reference to the map between IID and physical Port.

- $asante-\>**i\_description()**

  Description of the interface.

- $asante-\>**i\_mac()**

  MAC address of the interface.  Note this is just the MAC of the port, not anything connected to it.

- $asante-\>**i\_name()**

  Returns reference to map of IIDs to human-set port name.

- $asante-\>**i\_up()**

  Returns reference to map of IIDs to link status.  Changes the values of **asante\_up()** to 'up' and 'down'.

- $asante-\>**i\_speed()**

  Speed of the link, human format.

### Asante MIB

- $asante-\>**ati\_p\_name()**

  (`"portName"`)

- $asante-\>**ati\_up()**

  (`"linkTestLED"`)

### Table Methods imported from SNMP::Info::Layer1

See "TABLE METHODS" in SNMP::Info::Layer1 for details.
