
Cisco::Abbrev - Translate to/from Cisco Interface Abbreviations

Version 0.03

This module converts between Cisco canonical interface names (i.e. GigabitEthernet0/1) and the abbreviated forms often output by their devices (i.e. Gi0/1).
use Cisco::Abbrev;
my $long = cisco_long_int('Gi0/1'); ## $long='GigabitEthernet0/1';
my $short = cisco_abbrev_int('GigabitEthernet0/1'); ## $short='Gi0/1';

Returns the canonical interface name for an abbreviated form. If the interface type is not recognized, returns undef.
Returns the abbreviated form of the canonical interface name. If the interface type is not recognized, returns undef.

If you find any interface types that this module does not handle correctly, please notify the author via CPAN's request system:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Cisco-Abbrev

kevin brintnall, <kbrint at rufus.net>

Copyright 2008 kevin brintnall, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.