SNMP comm problems with MIB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 10:31 AM - edited 10-04-2023 10:33 AM
I am trying to connect to a cbs220 switch using SNMP. The goal is to retrieve information from this switch to monitor it better. In order to do so I use Niagara and its nSNMP driver. First of all, it was really hard to find the right MIB file, if you have documentation on all these It would be helpful. The thing is that when I import the file, I get these kinds of error:
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1155-SMI.mib: line 32:
unexpected token "SMI" <IDENTIFIER_STRING>, expected "::="
SMI IpAddress
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1155-SMI.mib: line 32:
unexpected token "SMI" <IDENTIFIER_STRING>, expected "::="
SMI IpAddress
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1155-SMI.mib: line 32:
unexpected token "SMI" <IDENTIFIER_STRING>, expected "::="
SMI IpAddress
^
Error: in RFC-1212: line 70:
undefined symbol 'NetworkAddress'
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1213-MIB.mib: line 15:
undefined symbol 'mgmt'
mib-2 OBJECT IDENTIFIER ::= { mgmt 1 }
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1213-MIB.mib: line 37:
referenced value is not an object identifier
system OBJECT IDENTIFIER ::= { mib-2 1 }
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1213-MIB.mib: line 39:
referenced value is not an object identifier
interfaces OBJECT IDENTIFIER ::= { mib-2 2 }
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1213-MIB.mib: line 41:
referenced value is not an object identifier
at OBJECT IDENTIFIER ::= { mib-2 3 }
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1213-MIB.mib: line 43:
referenced value is not an object identifier
ip OBJECT IDENTIFIER ::= { mib-2 4 }
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1213-MIB.mib: line 45:
referenced value is not an object identifier
icmp OBJECT IDENTIFIER ::= { mib-2 5 }
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1213-MIB.mib: line 47:
referenced value is not an object identifier
tcp OBJECT IDENTIFIER ::= { mib-2 6 }
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1213-MIB.mib: line 49:
referenced value is not an object identifier
udp OBJECT IDENTIFIER ::= { mib-2 7 }
^
Error: in C:\Users\Julien\Downloads\MIBs_CBS220_2.0.1.5\RFC1213-MIB.mib: line 51:
referenced value is not an object identifier
egp OBJECT IDENTIFIER ::= { mib-2 8 }
Any ideas why? It seems like there lacks a sort of library or something like that?
- Labels:
-
Other Switches
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 03:42 PM
Looks like some of the MIB having issue, try normal snmpwalk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:36 PM
Hello,
Thanks for replying. What do you mean by normal snmpwalk. I do not have the option to do so. I have to add a MIB file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 07:57 PM
now sure what NMS is this ? any NMS have snmpwalk what is the outcome with that snmpwalk ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 11:19 PM
I am sorry but I do not understand by NMS. I am using the platform Niagara4 to communicate with it and it seems like it does not have a standard snmpwalk. I only have the option to walk a MIB file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2023 10:00 AM
Niagara4 this is platform you using, you need to refer their documentation how you need to configure.
