---
name: "SNMP::Info::Layer2::Sixnet"
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::Layer2::Sixnet"
---

# SNMP::Info::Layer2::Sixnet(3pm)

SNMP Interface to Sixnet industrial switches

## NAME

SNMP::Info::Layer2::Sixnet - SNMP Interface to Sixnet industrial switches

## AUTHOR

Eric Miller

## SYNOPSIS

```
    my $sixnet = new SNMP::Info(
              AutoSpecify => 1,
              Debug       => 1,
              DestHost    => 'myswitch',
              Community   => 'public',
              Version     => 2
            )
    or die "Can't connect to DestHost.\n";
    my $class = $sixnet->class();
    print " Using device sub class : $class\n";
```

## DESCRIPTION

SNMP::Info::Layer2::Sixnet is a subclass of SNMP::Info that provides an interface to Sixnet industrial switches.

### Inherited Classes

- SNMP::Info::Layer2

  ### Required MIBs

- *SIXNET-MIB*

  ### Inherited MIBs

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

## GLOBALS

These are methods that return scalar value from SNMP

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

  Returns 'sixnet'

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

  Returns 'sixnet'

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

  Returns the software version returned by `"firmwareRevision"`

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

  Returns model type. Returns `"sxid"` if it exists, otherwise cross references `$sixnet`-\>**id()** with the *SIXNET-MIB*.

- $sixnet-\>**ps1\_status()**

  (`"p1status"`)

- $sixnet-\>**ps2\_status()**

  (`"p2status"`)

### Globals imported from SNMP::Info::Layer2

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

## TABLE METHODS

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

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

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