[rancid] Patch to srancid for improved handling of Dell PowerConnect M-Series switches

Frank Fegert fra.nospam.nk at gmx.de
Thu Oct 1 20:58:05 UTC 2015


Hello all,

i'd like to propose the attached patch to srancid for an improved hand-
ling of Dell PowerConnect M-Series switch devices. The patched version
was successfully tested against the Dell PowerConnect M6348 and M8024-k
models.
Besides some general output beautification -- additional section headers
and newlines -- it basically deals with the system uptime data in the
"show version" output. It also filters the temperature values from the
sensors in the "show system" output. For output samples of both commands
see below.
Can you please consider the provided patch for inclusion in the next
rancid release?

Thanks & best regards,

    Frank Fegert



## "show version" sample ##############################################
switch1# show version

System Description................ Dell Ethernet Switch
System Up Time.................... 90 days, 04h:48m:41s
System Contact.................... <contact email>
System Name....................... <system name>
System Location................... <location>
Burned In MAC Address............. F8B1.566E.4AFB
System Object ID.................. 1.3.6.1.4.1.674.10895.3041
System Model ID................... PCM8024-k
Machine Type...................... PowerConnect M8024-k

unit image1      image2      current-active next-active
---- ----------- ----------- -------------- --------------
1    5.1.3.7     5.1.8.2     image2         image2
2    5.1.3.7     5.1.8.2     image2         image2

## "show system" sample ###############################################
switch1# show system

System Description: Dell Ethernet Switch
System Up Time: 90 days, 04h:48m:19s
System Contact: <contact email>
System Name: <system name>
System Location: <location>
Burned In MAC Address: F8B1.566E.4AFB
System Object ID: 1.3.6.1.4.1.674.10895.3041
System Model ID: PCM8024-k
Machine Type: PowerConnect M8024-k
Temperature Sensors:

Unit     Description       Temperature    Status
                            (Celsius)
----     -----------       -----------    ------
1        System            39             Good
2        System            39             Good

Power Supplies:

Unit  Description    Status

----  -----------  -----------
NA        NA            NA
NA        NA            NA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: srancid.in.patch
Type: text/x-diff
Size: 2750 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20151001/205a6b87/attachment.patch>


More information about the Rancid-discuss mailing list