Send netdisco-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. Troubleshooting Data Collection (Cisco Catalyst 3850) (Ben Story)
2. Re: Troubleshooting Data Collection (Cisco Catalyst 3850)
(Oliver Gorwits)
3. Re: Troubleshooting Data Collection (Cisco Catalyst 3850)
(Ben Story)
4. Re: Troubleshooting Data Collection (Cisco Catalyst 3850)
(Oliver Gorwits)
--- Begin Message ---
Are there any debug tools that I can use to help determine why the Cisco
Catalyst 3850 (IOS-XE) is not reporting a serial number to
Netdisco/SNMP::Info? It shows up correctly on the OID within the Entity
MIB using snmpget.
Thanks,
--
Ben Story
CCSP, CCNA, CCNA Wireless, CCDA
[email protected]
@ntwrk80
http://showbrain.blogspot.com
http://rand0mw0rds.blogspot.com
--- End Message ---
--- Begin Message ---
Hi Ben,
On 2014-06-09 20:54, Ben Story wrote:
Are there any debug tools that I can use to help determine why the
Cisco Catalyst 3850 (IOS-XE) is not reporting a serial number to
Netdisco/SNMP::Info? It shows up correctly on the OID within the
Entity MIB using snmpget.
In the SNMP::Info distribution tarball there's a t/test_class.pl script
which can dump this (along with other common things).
Something like:
t/test_class.pl -i -m
/Users/oliver/netdisco-mibs/rfc:/Users/oliver/netdisco-mibs/net-snmp:/Users/oliver/netdisco-mibs/cisco
-c Layer3::C6500 -s public -v 2 -d x.x.x.x
You can add -p <thing> to also dump <thing> from any loaded MIB (leaf
or table).
regards,
oliver.
--- End Message ---
--- Begin Message ---
Thanks for the quick reply. When I run that command, it too says there is
no Serial, but specifying the leaf gets me the serial under .1 and .2.
netdisco@xnettools:~/SNMP-Info-3.14$ ../bin/localenv t/test_class.pl -i -m
/home/netdisco/netdisco-mibs/rfc:/home/netdisco/netdisco-mibs/net-snmp:/home/netdisco/netdisco-mibs/cisco
-c Layer3::C6500 -s HSHS-NET -v 2 -d 10.205.22.1 -p entPhysicalSerialNum
Class SNMP::Info::Layer3::C6500 (3.14) loaded from SNMP::Info 3.14.
Dumping : entPhysicalSerialNum
Connected to 10.205.22.1.
Detected Class: SNMP::Info::Layer3::C6500
Using Class: SNMP::Info::Layer3::C6500 (-c to change)
Fetching base info...
vendor cisco
model 385048P
os ios
os_ver 15.0(1)EX1
description Cisco IOS Software, Catalyst L3 Switch Software
(CAT3K_CAA-U...
contact
location
layers 00000110
mac 0c:27:24:64:13:80
serial Does not exist.
Fetching interface info...
interfaces 65 rows.
i_type 65 rows.
i_ignore 1 rows.
i_description 65 rows.
i_mtu 63 rows.
i_speed 65 rows.
i_mac 65 rows.
i_up 65 rows.
i_up_admin 65 rows.
i_name 65 rows.
i_duplex 0 rows.
i_duplex_admin 0 rows.
i_stp_state 17 rows.
i_vlan 60 rows.
i_pvid 59 rows.
i_lastchange 65 rows.
Fetching VLAN info...
v_index 5 rows.
v_name 5 rows.
Fetching topology info...
c_if 3 rows.
c_ip 3 rows.
c_port 3 rows.
c_id 3 rows.
c_platform 3 rows.
Fetching module info...
e_descr 62 rows.
e_type 62 rows.
e_parent 62 rows.
e_name 62 rows.
e_class 62 rows.
e_pos 62 rows.
e_hwver 62 rows.
e_fwver 62 rows.
e_swver 62 rows.
e_model 62 rows.
e_serial 62 rows.
e_fru 62 rows.
entPhysicalSerialNum 62 rows.
58 :
55 :
52 :
15 :
26 :
22 :
18 :
25 :
28 :
30 :
32 :
45 :
40 :
39 :
31 :
56 :
48 :
60 :
41 :
19 :
49 :
47 :
20 :
9 :
23 :
5 :
13 : LIT12340AD
34 :
38 :
11 :
8 :
21 :
17 :
4 :
61 :
54 :
7 :
2 : FOC1234V0GB
12 :
43 :
53 :
35 :
27 :
16 :
1 : FOC1234V0GB
57 :
59 :
33 :
46 :
50 :
36 :
42 :
24 :
10 :
3 :
51 :
37 :
6 :
29 :
14 : LIT12340YR
62 :
44 :
--
Ben Story
CCSP, CCNA, CCNA Wireless, CCDA
[email protected]
@ntwrk80
http://showbrain.blogspot.com
http://rand0mw0rds.blogspot.com
"From sour-faced saints and silly devotions, good Lord, preserve us!". -- St.
Teresa of Avila
On Mon, Jun 9, 2014 at 2:58 PM, Oliver Gorwits <[email protected]> wrote:
> Hi Ben,
>
> On 2014-06-09 20:54, Ben Story wrote:
> > Are there any debug tools that I can use to help determine why the
> > Cisco Catalyst 3850 (IOS-XE) is not reporting a serial number to
> > Netdisco/SNMP::Info? It shows up correctly on the OID within the
> > Entity MIB using snmpget.
>
> In the SNMP::Info distribution tarball there's a t/test_class.pl script
> which can dump this (along with other common things).
>
> Something like:
>
> t/test_class.pl -i -m
>
> /Users/oliver/netdisco-mibs/rfc:/Users/oliver/netdisco-mibs/net-snmp:/Users/oliver/netdisco-mibs/cisco
> -c Layer3::C6500 -s public -v 2 -d x.x.x.x
>
> You can add -p <thing> to also dump <thing> from any loaded MIB (leaf
> or table).
>
> regards,
> oliver.
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>
--- End Message ---
--- Begin Message ---
On 2014-06-09 21:20, Ben Story wrote:
Thanks for the quick reply. When I run that command, it too says
there is no Serial, but specifying the leaf gets me the serial under
.1 and .2.
Thanks. Ok, so the 3850 is known by SNMP::Info as a "C6500" and that
eventually gets its serial number from SNMP/Info/Layer3.pm (by the looks
of it).
The solution is probably therefore to patch the serial() sub in
Layer3.pm to fall back to searching e_serial() which is the
entPhysicalSerialNum table. We can either assume index ->{1} contains
the serial, or walk the table by sorted keys until there's a defined
value.
Is this something you want to have a stab at and send a patch, or leave
until we have the time?
regards,
oliver.
netdisco@xnettools:~/SNMP-Info-3.14$ ../bin/localenv t/test_class.pl
[6] -i -m
/home/netdisco/netdisco-mibs/rfc:/home/netdisco/netdisco-mibs/net-snmp:/home/netdisco/netdisco-mibs/cisco
-c Layer3::C6500 -s HSHS-NET -v 2 -d 10.205.22.1 -p
entPhysicalSerialNum
Class SNMP::Info::Layer3::C6500 (3.14) loaded from SNMP::Info 3.14.
Dumping : entPhysicalSerialNum
Connected to 10.205.22.1.
Detected Class: SNMP::Info::Layer3::C6500
Using Class: SNMP::Info::Layer3::C6500 (-c to change)
Fetching base info...
vendor cisco
model 385048P
os ios
os_ver 15.0(1)EX1
description Cisco IOS Software, Catalyst L3 Switch
Software (CAT3K_CAA-U...
contact
location
layers 00000110
mac 0c:27:24:64:13:80
serial Does not exist.
Fetching interface info...
interfaces 65 rows.
i_type 65 rows.
i_ignore 1 rows.
i_description 65 rows.
i_mtu 63 rows.
i_speed 65 rows.
i_mac 65 rows.
i_up 65 rows.
i_up_admin 65 rows.
i_name 65 rows.
i_duplex 0 rows.
i_duplex_admin 0 rows.
i_stp_state 17 rows.
i_vlan 60 rows.
i_pvid 59 rows.
i_lastchange 65 rows.
Fetching VLAN info...
v_index 5 rows.
v_name 5 rows.
Fetching topology info...
c_if 3 rows.
c_ip 3 rows.
c_port 3 rows.
c_id 3 rows.
c_platform 3 rows.
Fetching module info...
e_descr 62 rows.
e_type 62 rows.
e_parent 62 rows.
e_name 62 rows.
e_class 62 rows.
e_pos 62 rows.
e_hwver 62 rows.
e_fwver 62 rows.
e_swver 62 rows.
e_model 62 rows.
e_serial 62 rows.
e_fru 62 rows.
entPhysicalSerialNum 62 rows.
58 :
55 :
52 :
15 :
26 :
22 :
18 :
25 :
28 :
30 :
32 :
45 :
40 :
39 :
31 :
56 :
48 :
60 :
41 :
19 :
49 :
47 :
20 :
9 :
23 :
5 :
13 : LIT12340AD
34 :
38 :
11 :
8 :
21 :
17 :
4 :
61 :
54 :
7 :
2 : FOC1234V0GB
12 :
43 :
53 :
35 :
27 :
16 :
1 : FOC1234V0GB
57 :
59 :
33 :
46 :
50 :
36 :
42 :
24 :
10 :
3 :
51 :
37 :
6 :
29 :
14 : LIT12340YR
62 :
44 :
--
Ben Story
CCSP, CCNA, CCNA Wireless, CCDA
[email protected] [7]
@ntwrk80
http://showbrain.blogspot.com [8]
http://rand0mw0rds.blogspot.com [9]
"From sour-faced saints and silly devotions, good Lord, preserve
us!".
-- St. Teresa of Avila
On Mon, Jun 9, 2014 at 2:58 PM, Oliver Gorwits <[email protected] [10]>
wrote:
Hi Ben,
On 2014-06-09 20:54, Ben Story wrote:
> Are there any debug tools that I can use to help determine why
the
> Cisco Catalyst 3850 (IOS-XE) is not reporting a serial number to
> Netdisco/SNMP::Info? It shows up correctly on the OID within
the
> Entity MIB using snmpget.
In the SNMP::Info distribution tarball there's a t/test_class.pl
[1] script
which can dump this (along with other common things).
Something like:
t/test_class.pl [2] -i -m
/Users/oliver/netdisco-mibs/rfc:/Users/oliver/netdisco-mibs/net-snmp:/Users/oliver/netdisco-mibs/cisco
-c Layer3::C6500 -s public -v 2 -d x.x.x.x
You can add -p <thing> to also dump <thing> from any loaded MIB
(leaf
or table).
regards,
oliver.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk
Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data
Exploration
http://p.sf.net/sfu/hpccsystems [3]
_______________________________________________
Netdisco mailing list
[email protected] [4]
https://lists.sourceforge.net/lists/listinfo/netdisco-users [5]
Links:
------
[1] http://test_class.pl
[2] http://test_class.pl
[3] http://p.sf.net/sfu/hpccsystems
[4] mailto:[email protected]
[5] https://lists.sourceforge.net/lists/listinfo/netdisco-users
[6] http://test_class.pl
[7] mailto:[email protected]
[8] http://showbrain.blogspot.com
[9] http://rand0mw0rds.blogspot.com/
[10] mailto:[email protected]
--- End Message ---
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users