Re: [cricket-users] Lucent P550 and interface names

From: Jeff R. Allen (jallen@cs.hmc.edu)
Date: Fri Jan 21 2000 - 17:15:29 PST


From: "Jeff R. Allen" <jallen@cs.hmc.edu>

Greg Redder wrote:
> I'm having trouble monitoring a Lucent P550 Layer 3 switch. The problem
> is that the interface descriptions show up something like this:
>
> Module 3, Port 1

It should be possible to edit list-interfaces to remap commas by
editing this line (or adding others near it):

        $target =~ s/[\/\s:]/\_/g;

I would suggest perhaps adding "$target =~ s/,//" after it, so that
the comma just disappears, leaving "Module_3_Port_1".

--
Jeff R. Allen            |   jeff.allen@acm.org (personal)
HMC Alum, Class of '96   |   http://www.munitions.com/~jra

--------------------------- ONElist Sponsor ----------------------------

Independent contractors: Find your next project gig through JobSwarm! You can even make money by referring friends. <a href=" http://clickme.onelist.com/ad/jobswarm2 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:11 PST