[rancid] IBM BNT Layer 2/3 Copper Gigabit Ethernet Switch no config collected

Alexander R aleromex at gmail.com
Mon Dec 12 09:01:24 UTC 2016


Hi,

my configuration:
centos 7 x86_64
i've issue in rancid 3.5.1 and 3.6.0

i've issue to collect configs from switch modules "BNT Layer 2/3 Copper
Gigabit Ethernet Switch Module for IBM BladeCenter (5.2.8 (FLASH image1))",
it has IP 192.168.1.11

It's cisco-like CLI, so i've created my own "ibm" type in rancid.types.conf:

# cat /etc/rancid/rancid.types.conf
ibm;script;rancid -t ibm
ibm;login;clogin
ibm;module;ios
ibm;inloop;ios::inloop
ibm;command;ios::WriteTerm;show running-config

It's working fine with other switch module  "IBM Networking OS Virtual
Fabric 10Gb Switch Module for IBM BladeCenter (7.8.3 (FLASH image1))" and
it have IP 192.168.1.12, but not with "BNT Layer 2/3 Copper Gigabit
Ethernet Switch Module for IBM BladeCenter (5.2.8 (FLASH image1))"

Fail device:
# rancid -t ibm -d 192.168.1.11
loadtype: device type ibm
loadtype: found device type ibm in /etc/rancid/rancid.types.conf
executing clogin -t 90 -c"show running-config" 192.168.1.11
PROMPT MATCH: sw11#
HIT COMMAND:sw11#show running-config
    In WriteTerm: sw11#show running-config
192.168.1.11: End of run not found
end

In 192.168.1.11.raw i see config issued by "show run..."

Ok device:
# rancid -t ibm -d 192.168.1.12
loadtype: device type ibm
loadtype: found device type ibm in /etc/rancid/rancid.types.conf
executing clogin -t 90 -c"show running-config" 192.168.1.12
PROMPT MATCH: sw12#
HIT COMMAND:sw12#show running-config
    In WriteTerm: sw12#show running-config
192.168.1.12: End of run not found
end

ps. 192.168.1.11 has NO words "exit" in config, because interface isn't
configured (such a configuration plan).
192.168.1.12 has words "exit", because interfaces is configured.

Could you help me?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20161212/19cb907e/attachment.html>


More information about the Rancid-discuss mailing list