<<

NAME

pf::Switch::Netgear::FSM7328S - Object oriented module to access and configure enabled Netgear FSM7328S switches.

STATUS

Port-security

- Developped and tested on a FSM7328S using firmware (Software version) 7.3.1.7

- VoIP configuration not tested

Link up/down

- Can't work in this mode since up/down traps are parts of the port-security process

BUGS AND LIMITATIONS

forceDeauthOnLinkDown

The MAC address needs to be unauthorized from the port otherwise this MAC will stay authorized on the VLAN and no more traps will show up.

METHODS

authorizeMAC

Add a new MAC to the list of secure MACs for the ifIndex and remove the existing MAC from the list of secured ones. Returns 1 on success 0 on failure.

forceDeauthOnLinkDown

Force a MAC address deauthorization from the port sending the linkdown trap. Always returns 1.

See bugs and limitations.

getAllSecureMacAddresses Fetch all secure MAC addresses from the agentPortSecurityTable. Returns only those addresses for interfaces where PortSecurityMode is enabled.

Returns a hashref where the key is an authorized MAC and the value is an arrayref of vlan ids. From a practical point of view, we expect to only ever have one element in the list. This is to maintain backwards compatibility with existing implementations of this method.

getSecureMacAddresses

Fetch all secure MAC addresses from the agentPortSecurityStaticMACs for the ifIndex.

Returns a hashref where the key is an authorized MAC and the value is an arrayref of vlan ids. From a practical point of view, we expect to only ever have one element in the list. This is to maintain backwards compatibility with existing implementations of this method.

isPortSecurityEnabled

parseTrap

_setVlan

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.

<<