netdisco / snmp-info

Other
35 stars 31 forks source link

Cisco 6500 C6MSFC2 #111

Closed netdisco-automation closed 7 years ago

netdisco-automation commented 15 years ago

The following is the patch for SNMP::Info support of the SNMP::Info::Layer3::C6500 for C6MSFC2 sup. Patch are against the version 2.00 source code

--- /usr/share/perl5/SNMP/Info.pm~ 2008-09-15 16:09:14.000000000 +0200 +++ /usr/share/perl5/SNMP/Info.pm 2008-09-15 16:05:37.000000000 +0200 @@ -1250,6 +1250,8 @@ if ( $desc =~ /cisco/i and $desc =~ /3750/ ); $objtype = 'SNMP::Info::Layer3::C6500' if $desc =~ /(s72033_rp|s3223_rp|s222_rp)/; + $objtype = 'SNMP::Info::Layer3::C6500' + if $desc =~ /C6MSFC2/;

# HP, Foundry OEM $objtype = 'SNMP::Info::Layer3::HP9300'

#sh version Cisco Internetwork Operating System Software IOS (tm) MSFC2 Software (C6MSFC2-DSV-M), Version 12.1(23)E2, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Sun 31-Oct-04 07:04 by yiyan Image text-base: xxxx, data-base: xxxx

ROM: System Bootstrap, Version 12.1(11r)E1, RELEASE SOFTWARE (fc1) BOOTLDR: MSFC2 Software (C6MSFC2-DSV-M), Version 12.1(23)E2, RELEASE SOFTWARE (fc1)

xxxxxx uptime is 15 weeks, 2 days, 3 hours, 35 minutes System returned to ROM by power-on System restarted at xxxxxxxx System image file is "bootflash:c6msfc2-dsv-mz.121-23.E2.bin"

cisco MSFC2 (R7000) processor with 114688K/16384K bytes of memory. Processor board ID xxxx R7000 CPU at 300Mhz, Implementation 39, Rev 3.3, 256KB L2, 1024KB L3 Cache Last reset from power-on Bridging software. X.25 software, Version 3.0.0. 44 Virtual Ethernet/IEEE 802.3 interface(s) 509K bytes of non-volatile configuration memory.

16384K bytes of Flash internal SIMM (Sector size 512K). Configuration register is 0x102

$info->os_ver() ->'cisco' $info->model() -> '6KMSFC2' $info->type() -> '' $info->description() -> 'Cisco Internetwork Operating System Software IOS (tm) MSFC2 Software (C6MSFC2-DSV-M), Version 12.1(23)E2, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Sun 31-Oct-04' $info->os() & $info->os_ver() -> ios 12.1(23)E2 $info->slots() -> '' $info->serial() -> ''

Getting/setting SNMP slot port is working.

Reported by: psychiatric

Original Ticket: snmp-info/patches/42

netdisco-automation commented 15 years ago

cisco 6500 patch

Original comment by: psychiatric

netdisco-automation commented 14 years ago

Patch hasn't been integrated yet... * How are C6k MSFC2 devices classed without this patch? Generic Cisco L3? * Are there any changes in supported methods when these devices are put in the C6500 class?

Original comment by: JeroenvIS

netdisco-automation commented 12 years ago

Original comment by: ollyg

netdisco-automation commented 12 years ago

IOS 12.1 is ancient and I suspect the Model reported might well change with newer code. The chassis will be a Catalyst 6500.

I'll close this patch, but leave it open for further comment. Either someone will pipe up and say it's OK and should be applied, or else the yak was already shaved.

Original comment by: ollyg