Net::Cisco::ObjectGroup

Generate Cisco ACL object groups
Download

Net::Cisco::ObjectGroup Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Oliver Gorwits
  • Publisher web site:
  • http://search.cpan.org/~oliver/

Net::Cisco::ObjectGroup Tags


Net::Cisco::ObjectGroup Description

Generate Cisco ACL object groups Net::Cisco::ObjectGroup is a Perl module to manage the presentation of Cisco PIX or FWSM Object Groups. Group entries are pushed into the object in a simple parmaterized fashion, and you can then dump the content in a format that is parsable by Cisco devices.SYNOPSIS use Net::Cisco::ObjectGroup; my $og = Net::Cisco::ObjectGroup->new({ type => 'icmp' name => 'friendly_icmp', description => 'ICMP types we like', # optional pretty_print => 1, # optional }); $g->push({icmp_type => 8}); # this is an echo request $g->push({group_object => $another_objectgroup_object}); print $g->dump, " "; # prints the object-group configuration commands to STDOUT, something like: object-group icmp friendly_icmp description ICMP types we like icmp-object echo group-object other_icmp_types Requirements: · Perl


Net::Cisco::ObjectGroup Related Software