[racktables-users] Re: Trouble with lettercase of name interface in LiveCDP.

  • From: Mark Wilkinson <Mark.Wilkinson@xxxxxxxxxxx>
  • To: "racktables-users@xxxxxxxxxxxxx" <racktables-users@xxxxxxxxxxxxx>
  • Date: Tue, 28 Jan 2014 10:15:06 +0000

Hi Alexey,
   It sounds like Eduard has run into the case sensitive matching that I 
pointed out some time ago. While I understand your point about the shortname 
and the need for a rename button,
I think this highlights the need for case insensitive matching on the liveCDP 
tab

Regards
Mark

>

                Mark Wilkinson
                UNIX Systems Administrator/Developer

                T: 0333 240 3207
                M: 07848 016 221

                E: Mark.Wilkinson@xxxxxxxxxxx
                W: http://www.gamma.co.uk

This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of 
this email are confidential to the ordinary user of the email address to which 
it was addressed. This email is not intended to create any legal relationship. 
No one else may place any reliance upon it, or copy or forward all or any of it 
in any form (unless otherwise notified). If you receive this email in error, 
please accept our apologies, we would be obliged if you would telephone our 
postmaster on +44 (0) 808 178 9652 or email postmaster@xxxxxxxxxxx

Gamma Telecom Limited, a company incorporated in England and Wales, with 
limited liability, with registered number 04340834, and whose registered office 
is at 5 Fleet Place London EC4M 7RD and whose principal place of business is at 
Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.


-----Original Message-----
> From: racktables-users-bounce@xxxxxxxxxxxxx [mailto:racktables-users-
> bounce@xxxxxxxxxxxxx] On Behalf Of Alexey Andriyanov
> Sent: 28 January 2014 09:49
> To: racktables-users@xxxxxxxxxxxxx
> Subject: [racktables-users] Re: Trouble with lettercase of name interface in
> LiveCDP.
>
> 28.01.2014 2:11, Eduard wrote:
> > snmpwalk get "Fa0/11"
> > $ snmpwalk -v1 -c public 172.16.0.210 -On IF-MIB::ifName.10011
> > .1.3.6.1.2.1.31.1.1.1.1.10011 = STRING: Fa0/11 Why does snmpgeneric
> > plug-in must translate names of interfaces?
> > May be better "Live CDP" will to ignore case of letters?
> The problem is not about the letter case. If you inspect the output of "show
> cdp neighbor" and "show cdp neighbor detail", you would unlikely see the
> "Fa0/11" port name there.
> In my case Cisco C2960 series switch displays "Gig 0/48" in brief mode and
> "GigabitEthernet0/48" in detail mode.
>
> The RT policy is to keep shortened interface names in the database. If you do
> not do so, the features like LivePorts, LiveCDP, LiveLLDP, 802.1Q would not
> work for you.
>
> There is an idea to have a button that renames already existing ports in DB
> according to the port name convention. But is is not implemented yet.
>
> > ---
> >    Eduard
> >    racktables@xxxxxxxxxx
> >
> > On Mon, Jan 27, 2014, at 11:55 PM, Alexey Andriyanov wrote:
> >> Hi. There is a convention on port names. The port names being added
> >> via SNMP Sync tab are translated using the shortenIfName() function.
> >> It seems that snmpgeneric plug-in does not translate device port
> >> names before adding them to DB.
> >>
> >> 27.01.2014 15:36, Eduard wrote:
> >>> Racktables 0.20.6.
> >>> I added interfaces via plugin "SNMP generic"
> >>> https://github.com/RackTables/racktables-
> contribs/blob/master/snmpge
> >>> neric.php
> >>> from my Cisco WS 3560.
> >>> Example port after adding:
> >>> Local name - Fa0/11
> >>> Visible label - FastEthernet0/11
> >>>
> >>> I get error on tab "Live CDP" "No such local port fa0/11".
> >>> If I change the name from Fa0/11 to fa0/11, then the error disappears.
> >>> How can I configure to ignore the case of letters?
> >>>
> >>> ---
> >>> Eduard
> >>> mailto: racktables@xxxxxxxxxx
> >>>
> >> --
> >> Best regards,
> >> Alexey
> >>
> >>
>
>
> --
> Best regards,
> Alexey
>

Other related posts: