The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

CISCO-INTF - Cisco Interface Manager

SYNOPSIS

cisco-intf [options] host [...]

DESCRIPTION

Retrieve interface information or admin up/down interfaces on Cisco devices.

ARGUMENTS

host             The Cisco device to manage.

OPTIONS

-c <snmp_rw>     SNMP read/write community.
--community      DEFAULT:  (or not specified) 'private'.

-d               Admin down interface.
--down           DEFAULT:  (or not specified) [show info].

-i IF            Interfaces to operate on.
--interfaces     
                 IF can be number meaning ifIndex.  Range can be 
                 provided.  Range uses , and - for individual and 
                 all inclusive.  Example:
                   2-4,11
                 
                 IF can be interface name(s).  If multiple, use 
                 quotes to surround the list and spaces to separate.
                 Example:
                   "gig0/0/1 serial1/0 f0/1"

                 DEFAULT:  (or not specified) [all].

-m [m1 [m2]...]  Metrics to return.  Use double quotes to delimit 
--metrics        multiple.  Valid metrics are:
                   Multicasts
                   Broadcasts
                   Octets

                 DEFAULT:  (or not specified) [show info].

-r               Repeat utilization polling (if -U) indefinitely.
--repeat         Use Ctrl-C to stop.
                 DEFAULT:  (or not specified) [Poll once].

-u               Admin up interface.
--up             DEFAULT:  (or not specified) [show info].

-U [#]           Return interface utilization instead of raw 
--Utilization    metrics.  Optional number denotes polling 
                 interval.
                 DEFAULT:  (or not specified) 10.

LICENSE

This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.

AUTHOR

Copyright (C) Michael Vincent 2010

http://www.VinsWorld.com

All rights reserved