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

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

SNMP Interface to Nortel Centillion based ATM Switches

## NAME

SNMP::Info::Layer2::Centillion - SNMP Interface to Nortel Centillion based ATM Switches

## AUTHOR

Eric Miller

## SYNOPSIS

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

## DESCRIPTION

Provides abstraction to the configuration information obtainable from a Centillion device through SNMP.

Note:  This class supports version 4.X and 5.X which are VLAN based rather than bridge group based.

### Inherited Classes

- SNMP::Info

  - SNMP::Info::Bridge

  - SNMP::Info::NortelStack

  - SNMP::Info::SONMP

  ### Required MIBs

- *CENTILLION-DOT3-EXTENSIONS-MIB*

  - *S5-COMMON-STATS-MIB*

  - *CENTILLION-VLAN-MIB*

  - *CENTILLION-CONFIG-MIB*

  - Inherited Classes' MIBs

  See "REQUIREMENTS" in SNMP::Info for its own MIB requirements.

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

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

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

## GLOBALS

These are methods that return scalar value from SNMP

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

  Returns 'nortel'

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

  Cross references `$centillion`-\>**id()** to the *SYNOPTICS-MIB* and returns the results.

  Removes `"sreg-"` from the model name

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

  Returns 'centillion'

- $centillion-\>**tftp\_action()**

  (`"sysTFTPStart"`)

- $centillion-\>**tftp\_host()**

  (`"sysTFTPIpAddress"`)

- $centillion-\>**tftp\_file()**

  (`"sysTFTPFileName"`)

- $centillion-\>**tftp\_type()**

  (`"sysTFTPFileType"`)

- $centillion-\>**tftp\_result()**

  (`"sysTFTPResult"`)

### Overrides

- $centillion-\>**index\_factor()**

  Required by SNMP::Info::SONMP.  Number representing the number of ports reserved per slot within the device MIB.  Returns 256.

- $centillion-\>**slot\_offset()**

  Required by SNMP::Info::SONMP.  Offset if slot numbering does not start at 0.  Returns 0.

### Globals imported from SNMP::Info

See documentation in "USAGE" in SNMP::Info for details.

### Globals imported from SNMP::Info::Bridge

See documentation in "GLOBALS" in SNMP::Info::Bridge for details.

### Globals imported from SNMP::Info::NortelStack

See documentation in "GLOBALS" in SNMP::Info::NortelStack for details.

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

See documentation in "GLOBALS" in SNMP::Info::SONMP for details.

## TABLE METHODS

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

### Overrides

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

  ```
      Returns reference to the map between IID and physical Port.
      Slot and port numbers on the Passport switches are determined by the
      formula:
        port = index % 256
        slot = int(index / 256)
      The physical port name is returned as slot.port.
  ```

- $centillion-\>**i\_duplex()**

  Returns reference to map of IIDs to current link duplex

- $centillion-\>**i\_duplex\_admin()**

  Returns reference to hash of IIDs to admin duplex setting

- $centillion-\>**i\_ignore()**

  Returns reference to hash of IIDs to ignore.

- $centillion-\>**fw\_mac()**

  (`"s5CmSNodeMacAddr"`)

- $centillion-\>**fw\_port()**

  (`"s5CmSNodeIfIndx"`)

- $centillion-\>**bp\_index()**

  Returns a mapping between `"ifIndex"` and the Bridge Table.

- $centillion-\>**i\_vlan()**

  Returns a mapping between `"ifIndex"` and the VLAN.

### Centillion 802.3 Extension Table ("cnDot3ExtnTable")

- $centillion-\>**centillion\_p\_index()**

  Returns reference to hash.  Maps table IIDs to Interface IIDs

  (`"cnDot3ExtnIfIndex"`)

- $centillion-\>**centillion\_p\_duplex()**

  Returns reference to hash.  Maps port operational duplexes to IIDs

  (`"cnDot3ExtnIfOperConnectionType"`)

- $centillion-\>**rc\_centillion\_p\_duplex\_admin()**

  Returns reference to hash.  Maps port admin duplexes to IIDs

  (`"cnDot3ExtnIfAdminConnectionType"`)

### Centillion VLAN Table ("cnVlanPortMemberTable")

- $centillion-\>**centillion\_i\_vlan\_index()**

  Returns reference to hash.  Key: Table entry, Value: Index

  (`"cnVlanPortMemberIfIndex"`)

- $centillion-\>**centillion\_i\_vlan()**

  Returns reference to hash.  Key: Table entry, Value: VLAN ID

  (`"cnVlanPortMemberVID"`)

- $centillion-\>**centillion\_i\_vlan\_type()**

  Returns reference to hash.  Key: Table entry, Value: VLAN Type

  (`"cnVlanPortMemberIngressType"`)

### Table Methods imported from SNMP::Info

See documentation in "USAGE" in SNMP::Info for details.

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

See documentation in "TABLE METHODS" in SNMP::Info::Bridge for details.

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

See documentation in "TABLE METHODS" in SNMP::Info::NortelStack for details.

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

See documentation in "TABLE METHODS" in SNMP::Info::SONMP for details.
