SNMP::...illion(3pm)

โœจ SNMP::...illion(3pm) โœจ

okay bestie, this is a page from the User Contributed Perl Documentation set โ€” it's the man page for SNMP::...illion(3pm) (yes the name is abbreviated like that, we love a mystery ๐Ÿ’…). let's get into it.


๐ŸŒธ NAME ๐ŸŒธ

SNMP::Info::Layer2::Centillion โ€” the SNMP interface to Nortel Centillion based ATM Switches. no cap, that's the whole vibe.


๐Ÿซถ AUTHOR ๐Ÿซถ

Eric Miller wrote this. iconic of him honestly.


โœจ SYNOPSIS โœจ

okay so here's how you actually use it. you let SNMP::Info figure out the right subclass for you, because why would you do that work yourself:

 # 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";

like, it just tells you what class your device falls under. main character energy tbh ๐Ÿ‘‘


๐Ÿ’– DESCRIPTION ๐Ÿ’–

This gives you an abstraction over all the configuration info you can pull off a Centillion device through SNMP. simple as that, fr fr.

Note: This class supports version 4.X and 5.X which are VLAN based rather than bridge group based. so if you're on the bridge-group flavor, this is not your girl, sorry bestie ๐Ÿ˜ญ

๐Ÿฆ‹ 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 the methods that return scalar values from SNMP. lil single-value girlies โœจ

  • $centillion->vendor() โ€” returns 'nortel'
  • $centillion->model() โ€” cross references $centillion->id() to the SYNOPTICS-MIB and returns the results. also it removes "sreg-" from the model name (we don't need that baggage ๐Ÿšฎ)
  • $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. it's the number representing the number of ports reserved per slot within the device MIB. returns 256.
  • $centillion->slot_offset() โ€” required by SNMP::Info::SONMP. it's the 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 the methods that return tables of info, in the form of a reference to a hash. multi-value baddies ๐Ÿ’…

๐ŸŒ™ Overrides

  • $centillion->interfaces() โ€” returns a 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.


and that's the whole page bestie, no skips, no cuts, we read all of it ๐Ÿ’–

okay bye ily โ€” this bad boy ships as perl v5.40.1, dated 2026-02-28, and it lives under SNMP::...illion(3pm). slay ๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from