new([%args])get_permitdeny()get_field($fieldnumber)
IPDevice::CiscoRouter::AccesslistEntry
use IPDevice::CiscoRouter::AccesslistEntry; my $entry = new IPDevice::CiscoRouter::AccesslistEntry; $entry->set_permitdeny('deny'); $entry->set_field(1, '192.168.0.0/22'); $entry->set_field(2, '20'); $entry->set_field(3, 'whatever');
This module provides routines for storing informations regarding a single Cisco ACL entry.
new([%args])Object constructor. Valid arguments:
id: The ACL id. permitdeny: Valid values: permit|deny. Default is permit.
Set whether the item permits or denies something. Returns TRUE on success, otherwise FALSE.
get_permitdeny()Returns whether the item permits or denies something. ('permit'|'deny')
Set a field value. Returns TRUE on success, otherwise FALSE.
get_field($fieldnumber)Returns the value of the field with the given fieldnumber.
Copyright (c) 2004 Samuel Abels. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Samuel Abels <spam debain org>