These are methods that return tables of information in the form of a reference to a hash.
Overrides
$foundry->interfaces()
Returns reference to hash of interface names to iids.
$foundry->i_ignore()
Returns reference to hash of interfaces to be ignored.
Ignores interfaces with descriptions of tunnel,loopback,null
$foundry->i_duplex()
Returns reference to hash of interface link duplex status.
Crosses $foundry->sw_duplex() with $foundry->sw_index()
$foundry->i_stp_state()
Returns the mapping of ("dot1dStpPortState") to the interface index (iid).
$foundry->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.
ENTITY-MIBInformationENTITY-MIB is supported on the Brocade NetIron XMR, NetIron MLX, MLXe, NetIron CES, NetIron CER, and
older EdgeIron series devices. For other devices which do not support it, these methods emulate Physical
Table methods using FOUNDRY-SN-AGENT-MIB. See Pseudo ENTITY-MIB information below for details on
brcd_e_* methods.
$foundry->e_index()
If the device doesn't support "entPhysicalDescr", this will try brcd_e_index().
Note that this is based on "entPhysicalDescr" due to implementation details of
SNMP::Info::Entity::e_index().
$foundry->e_class()
If the device doesn't support "entPhysicalClass", this will try brcd_e_class().
$foundry->e_descr()
If the device doesn't support "entPhysicalDescr", this will try brcd_e_descr().
$foundry->e_name()
If the device doesn't support "entPhysicalName", this will try brcd_e_name().
$foundry->e_parent()
If the device doesn't support "entPhysicalContainedIn", this will try brcd_e_parent().
$foundry->e_pos()
If the device doesn't support "entPhysicalParentRelPos", this will try brcd_e_pos().
$foundry->e_serial()
If the device doesn't support "entPhysicalSerialNum", this will try brcd_e_serial().
$foundry->e_type()
If the device doesn't support "entPhysicalVendorType", this will try brcd_e_type().
$foundry->e_vendor()
If the device doesn't support "entPhysicalMfgName", this will try brcd_e_vendor().
PseudoENTITY-MIBinformation
These methods emulate ENTITY-MIB Physical Table methods using FOUNDRY-SN-AGENT-MIB.
$foundry->brcd_e_index()
Returns reference to hash. Key: IID, Value: Integer, Indices are combined into an integer, each
index is two digits padded with leading zero if required.
$foundry->brcd_e_class()
Returns reference to hash. Key: IID, Value: General hardware type.
Returns 'stack' for the stack master in an active stack, 'chassis' for base switches that contain
modules, and 'module' for others.
$foundry->brcd_e_descr()
Returns reference to hash. Key: IID, Value: Human friendly name
("snAgentConfigModule2Description") or ("snAgentConfigModuleDescription")
$foundry->brcd_e_name()
Returns reference to hash. Key: IID, Value: Human friendly name
$foundry->brcd_e_vendor()
Returns reference to hash. Key: IID, Value: brocade
$foundry->brcd_e_serial()
Returns reference to hash. Key: IID, Value: Serial number
Serial number is $foundry->serial() for a stack master unit and ("snAgentConfigModule2SerialNumber")
or ("snAgentConfigModuleSerialNumber") for all others.
$foundry->brcd_e_type()
Returns reference to hash. Key: IID, Value: Type of component/sub-component as defined under
"snAgentConfigModule2Type" or "snAgentConfigModule2Type" in FOUNDRY-SN-AGENT-MIB.
$foundry->brcd_e_pos()
Returns reference to hash. Key: IID, Value: The relative position among all entities sharing the
same parent.
("s5ChasComSubIndx")
$foundry->brcd_e_parent()
Returns reference to hash. Key: IID, Value: The value of brcd_e_index() for the entity which
'contains' this entity. A value of zero indicates this entity is not contained in any other entity.
FoundrySwitchPortInformationTable("snSwPortIfTable")
$foundry->sw_index()
Returns reference to hash. Maps Table to Interface IID.
("snSwPortIfIndex")
$foundry->sw_duplex()
Returns reference to hash. Current duplex status for switch ports.
("snSwPortInfoChnMode")
$foundry->sw_type()
Returns reference to hash. Current Port Type .
("snSwPortInfoMediaType")
$foundry->sw_speed()
Returns reference to hash. Current Port Speed.
("snSwPortInfoSpeed")
PowerOverEthernetPortTable
These methods emulate the POWER-ETHERNET-MIB Power Source Entity (PSE) Port Table "pethPsePortTable"
methods using the FDRY-POE-MIB Power over Ethernet Port Table "snAgentPoePortTable".
$foundry->peth_port_ifindex()
Creates an index of module.port to align with the indexing of the "pethPsePortTable" with a value of
"ifIndex". The module defaults 1 if otherwise unknown.
$foundry->peth_port_admin()
Administrative status: is this port permitted to deliver power?
"pethPsePortAdminEnable"
$foundry->peth_port_status()
Current status: is this port delivering power.
$foundry->peth_port_class()
Device class: if status is delivering power, this represents the 802.3af class of the device being
powered.
$foundry->peth_port_neg_power()
The power, in milliwatts, that has been committed to this port. This value is derived from the
802.3af class of the device being powered.
$foundry->peth_port_power()
The power, in milliwatts, that the port is delivering.
PowerOverEthernetModuleTable
These methods emulate the POWER-ETHERNET-MIB Main Power Source Entity (PSE) Table "pethMainPseTable"
methods using the FDRY-POE-MIB Power over Ethernet Port Table "snAgentPoeModuleTable ".
$foundry->peth_power_watts()
The power supply's capacity, in watts.
$foundry->peth_power_status()
The power supply's operational status.
$foundry->peth_power_consumption()
How much power, in watts, this power supply has been committed to deliver.
TableMethodsimportedfromSNMP::Info::Layer3
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
TableMethodsimportedfromSNMP::Info::FDP
See documentation in "TABLE METHODS" in SNMP::Info::FDP for details.