<<

NAME

pf::Switch::Foundry - Object oriented module to access SNMP enabled Foundry switches

SYNOPSIS

The pf::Switch::Foundry module implements an object oriented interface to access SNMP enabled Foundry switches.

STATUS

Supports linkUp / linkDown and Port Security modes

Supports IP Telephony

Developed and tested on FastIron 4802 running on image version 04.0.00

BUGS AND LIMITATIONS

Port security works with an OS version of 4 or greater.

FastIron with a JetCore chipset cannot work in port-security mode (check show version)

You cannot run a network with VLAN 1 as your normal VLAN with these switches.

SNMPv3 support was not tested.

Not so sure how often the security violation traps are sent. If PacketFence misses the trap you might be out of luck. We should check with the documentation but I can't find detailed SNMP options right now.

mac-detection VLAN needs to have at least one port where it is tagged on the switch. Otherwise the VLAN doesn't show up through SNMP and we can't add ports to it.

IP Telephony support requires dual-mode support

SUBROUTINES

TODO: this list is incomplete

isDefinedVlan - returns 1 (true) if requested vlan exists or 0 (false) otherwise
getSecureMacAddresses - return all MAC addresses in security table and their VLAN for a given ifIndex

Returns an hashref with MAC => Array(VLANs)

getAllSecureMacAddresses - return all MAC addresses in security table and their VLAN

Returns an hashref with MAC => ifIndex => Array(VLANs)

authorizeMAC - authorize a MAC address and de-authorize the previous one if required
isVoIPEnabled - is Voice over IP enabled on that switch?
_setDualModeVlan - set the dual-mode of the specified ifIndex to the given VLAN

dual-mode is required when there is IP Telephony on the switch. Dual-mode allows an ifIndex to support an untagged vlan along with a tagged one (ie: voice vlan).

getVoiceVlan - in what VLAN should a VoIP device be

AUTHOR

Inverse inc. <info@inverse.ca>

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<