Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wing/Extreme/Zebra/Motorola devices #369

Open
jacobghattas opened this issue Oct 4, 2019 · 10 comments
Open

Wing/Extreme/Zebra/Motorola devices #369

jacobghattas opened this issue Oct 4, 2019 · 10 comments

Comments

@jacobghattas
Copy link

Greetings :)

I have got an issue with Extreme devices on my network, getting discovered...
I am not even sure whether I am posting this in the right place...

I read a few threads about it and I missing the point...
While using netdisco, lots of devices (~1300 Access points) get discovered as vendor unknow with the oid of the vedor being:
388.11.1.2
388.11.1.4
388.15
388.50.1.1.3
388.50.1.1.40
Al of these belong nowadays to Extreme, though Identified also as their previous acquisitions (Symbol, Motorola, Zebra...)
each of these devices have a mib file, containing the same enterprise identifier 388..
I added the files to netdisco-mibs/motorola and followed the adding mibs procedure.
Still, few errors (because of the 388 being identified in more than one mib file I guess...

The question I have is there anything I can do for identifying those devices correctly or should it be a feature request...

10xs in advance for your response.
And for a Great project!!!

Jacob

@jacobghattas
Copy link
Author

Adding the output of ~/bin/netdisco-do show for one of the devices...

[netdisco@netlogdbgsrv ~]$ ~/bin/netdisco-do show -d 10.250.192.31 -e specify -DIQ
[12374] 2019-10-05 18:17:32 info App::Netdisco version 2.044002 loaded.
SELECT me.version, me.installed
FROM dbix_class_schema_versions me
WHERE 1 = 0
SELECT me.version
FROM dbix_class_schema_versions me
ORDER BY installed DESC
LIMIT '1'
SELECT me.ip, me.alias, me.subnet, me.port, me.dns, me.creation
FROM device_ip me
WHERE me.alias = '10.250.192.31' AND me.ip = '10.250.192.31'
SELECT me.ip, me.creation, me.dns, me.description, me.uptime, me.contact, me.name, me.location, me.layers, me.ports, me.mac, me.serial, me.model, me.ps1_type, me.ps2_type, me.ps1_status, me.ps2_status, me.fan, me.slots, me.vendor, me.os, me.os_ver, me.log, me.snmp_ver, me.snmp_comm, me.snmp_class, me.vtp_domain, me.last_discover, me.last_macsuck, me.last_arpnip, to_char( me.creation, 'YYYY-MM-DD HH24:MI' ), to_char( me.last_arpnip, 'YYYY-MM-DD HH24:MI' ), to_char( me.last_discover, 'YYYY-MM-DD HH24:MI' ), to_char( me.last_macsuck, 'YYYY-MM-DD HH24:MI' ), extract( epoch
FROM age( now( ), me.creation ) ), extract( epoch
FROM age( now( ), me.last_arpnip ) ), extract( epoch
FROM age( now( ), me.last_discover ) ), extract( epoch
FROM age( now( ), me.last_macsuck ) ), replace( age( timestamp 'epoch' + me.uptime / 100 * interval '1 second', timestamp '1970-01-01 00:00:00-00' ) ::text, 'mon', 'month' )
FROM device me
WHERE me.ip = '10.250.192.31'
[12374] 2019-10-05 18:17:33 info show: [10.250.192.31]/specify started at Sat Oct 5 21:17:33 2019
[12374] 2019-10-05 18:17:33 debug show: running with timeout 600s
[12374] 2019-10-05 18:17:33 debug => running workers for phase: check
[12374] 2019-10-05 18:17:33 debug -> run worker check/base/0
[12374] 2019-10-05 18:17:33 debug Show is able to run
[12374] 2019-10-05 18:17:33 debug => running workers for phase: main
[12374] 2019-10-05 18:17:33 debug -> run worker main/base/100
[12374] 2019-10-05 18:17:33 debug snmp reader cache warm: [10.250.192.31]
SELECT me.ip, me.snmp_comm_rw, me.snmp_auth_tag_read, me.snmp_auth_tag_write
FROM community me
WHERE me.ip = '10.250.192.31'
SELECT me.ip, me.snmp_comm_rw, me.snmp_auth_tag_read, me.snmp_auth_tag_write
FROM community me
WHERE me.ip = '10.250.192.31'
SELECT me.ip, me.snmp_comm_rw, me.snmp_auth_tag_read, me.snmp_auth_tag_write
FROM community me
WHERE me.ip = '10.250.192.31'
[12374] 2019-10-05 18:17:33 debug [10.250.192.31:161] try_connect with ver: 2, class: SNMP::Info::Layer3, comm:
SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
BEGIN WORK
COMMIT
BEGIN WORK
COMMIT
SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0
SNMP::Info 3.68
SNMP::Info::device_type() layers:01001111 id:388 sysDescr:"AP7532 Access Point, Version 5.9.2.6-006R MIB=01a"
SNMP::Info 3.68
SNMP::Info::device_type() layers:01001111 id:388 sysDescr:"AP7532 Access Point, Version 5.9.2.6-006R MIB=01a"
SNMP::Info::specify() - Changed Class to SNMP::Info::Layer3.
SNMP::Info::_validate_autoload_method(_data_printer) Unable to resolve method.
SNMP::Info::Layer3 {
Parents SNMP::Info::PowerEthernet, SNMP::Info::IPv6, SNMP::Info::Entity, SNMP::Info::EtherLike, SNMP::Info::Bridge, SNMP::Info::AdslLine, SNMP::Info::LLDP, SNMP::Info::DocsisHE, SNMP::Info, Exporter
Linear @isa SNMP::Info::Layer3, SNMP::Info::PowerEthernet, SNMP::Info, Exporter, SNMP::Info::IPv6, SNMP::Info::Entity, SNMP::Info::EtherLike, SNMP::Info::Bridge, SNMP::Info::AdslLine, SNMP::Info::LLDP, SNMP::Info::DocsisHE
public methods (11) : at_index, at_netaddr, at_paddr, i_duplex, i_name, interfaces, isis_peers, model, root_ip, serial, vendor
private methods (0)
internals: {
args {
AutoSpecify 0,
BulkRepeaters 20,
BulkWalk 1,
Community "public",
Debug 1,
DebugSNMP 0,
DestHost "10.250.192.31",
IgnoreNetSNMPConf 1,
MibDirs [
[0] "/home/netdisco/netdisco-mibs/3com",
[1] "/home/netdisco/netdisco-mibs/adtran",
[2] "/home/netdisco/netdisco-mibs/aerohive",
[3] "/home/netdisco/netdisco-mibs/alcatel",
[4] "/home/netdisco/netdisco-mibs/allied",
[5] "/home/netdisco/netdisco-mibs/apc",
[6] "/home/netdisco/netdisco-mibs/arista",
[7] "/home/netdisco/netdisco-mibs/aruba",
[8] "/home/netdisco/netdisco-mibs/asante",
[9] "/home/netdisco/netdisco-mibs/avaya",
[10] "/home/netdisco/netdisco-mibs/bluecoat",
[11] "/home/netdisco/netdisco-mibs/bluesocket",
[12] "/home/netdisco/netdisco-mibs/brother",
[13] "/home/netdisco/netdisco-mibs/cabletron",
[14] "/home/netdisco/netdisco-mibs/ceragon",
[15] "/home/netdisco/netdisco-mibs/checkpoint",
[16] "/home/netdisco/netdisco-mibs/ciena",
[17] "/home/netdisco/netdisco-mibs/cisco",
[18] "/home/netdisco/netdisco-mibs/ciscosb",
[19] "/home/netdisco/netdisco-mibs/citrix",
[20] "/home/netdisco/netdisco-mibs/colubris",
[21] "/home/netdisco/netdisco-mibs/cyclades",
[22] "/home/netdisco/netdisco-mibs/d-link",
[23] "/home/netdisco/netdisco-mibs/dell",
[24] "/home/netdisco/netdisco-mibs/eaton",
[25] "/home/netdisco/netdisco-mibs/enterasys",
[26] "/home/netdisco/netdisco-mibs/etherwan",
[27] "/home/netdisco/netdisco-mibs/exinda",
[28] "/home/netdisco/netdisco-mibs/EXTRAS",
[29] "/home/netdisco/netdisco-mibs/extreme",
[30] "/home/netdisco/netdisco-mibs/extricom",
[31] "/home/netdisco/netdisco-mibs/f5",
[32] "/home/netdisco/netdisco-mibs/force10",
[33] "/home/netdisco/netdisco-mibs/fortinet",
[34] "/home/netdisco/netdisco-mibs/foundry",
[35] "/home/netdisco/netdisco-mibs/gigamon",
[36] "/home/netdisco/netdisco-mibs/h3c",
[37] "/home/netdisco/netdisco-mibs/hirschmann",
[38] "/home/netdisco/netdisco-mibs/hp",
[39] "/home/netdisco/netdisco-mibs/hpe",
[40] "/home/netdisco/netdisco-mibs/huawei",
[41] "/home/netdisco/netdisco-mibs/ibm",
[42] "/home/netdisco/netdisco-mibs/juniper",
[43] "/home/netdisco/netdisco-mibs/lancom",
[44] "/home/netdisco/netdisco-mibs/lantronix",
[45] "/home/netdisco/netdisco-mibs/lenovo",
[46] "/home/netdisco/netdisco-mibs/liebert",
[47] "/home/netdisco/netdisco-mibs/mediant",
[48] "/home/netdisco/netdisco-mibs/meraki",
[49] "/home/netdisco/netdisco-mibs/meru",
[50] "/home/netdisco/netdisco-mibs/microsens",
[51] "/home/netdisco/netdisco-mibs/mikrotik",
[52] "/home/netdisco/netdisco-mibs/moser-baer",
[53] "/home/netdisco/netdisco-mibs/motorola",
[54] "/home/netdisco/netdisco-mibs/nateks",
[55] "/home/netdisco/netdisco-mibs/net-snmp",
[56] "/home/netdisco/netdisco-mibs/netapp",
[57] "/home/netdisco/netdisco-mibs/netgear",
[58] "/home/netdisco/netdisco-mibs/netonix",
[59] "/home/netdisco/netdisco-mibs/netscreen",
[60] "/home/netdisco/netdisco-mibs/nexans",
[61] "/home/netdisco/netdisco-mibs/nortel",
[62] "/home/netdisco/netdisco-mibs/northerndesign",
[63] "/home/netdisco/netdisco-mibs/oneaccess",
[64] "/home/netdisco/netdisco-mibs/opengear",
[65] "/home/netdisco/netdisco-mibs/packetfront",
[66] "/home/netdisco/netdisco-mibs/paloalto",
[67] "/home/netdisco/netdisco-mibs/pica8",
[68] "/home/netdisco/netdisco-mibs/pulsesecure-gateway",
[69] "/home/netdisco/netdisco-mibs/rad",
[70] "/home/netdisco/netdisco-mibs/redlionram",
[71] "/home/netdisco/netdisco-mibs/rfc",
[72] "/home/netdisco/netdisco-mibs/rittal",
[73] "/home/netdisco/netdisco-mibs/riverbed",
[74] "/home/netdisco/netdisco-mibs/ruckus",
[75] "/home/netdisco/netdisco-mibs/schleifenbauer",
[76] "/home/netdisco/netdisco-mibs/sentry",
[77] "/home/netdisco/netdisco-mibs/siemens",
[78] "/home/netdisco/netdisco-mibs/sixnet",
[79] "/home/netdisco/netdisco-mibs/sonicwall",
[80] "/home/netdisco/netdisco-mibs/teleste",
[81] "/home/netdisco/netdisco-mibs/tplink",
[82] "/home/netdisco/netdisco-mibs/trapeze",
[83] "/home/netdisco/netdisco-mibs/vmware",
[84] "/home/netdisco/netdisco-mibs/xirrus"
],
NonIncreasing 0,
RemotePort 161,
Retries 0,
Session SNMP::Session,
Timeout 3000000,
Version 2
},
BulkRepeaters 20,
BulkWalk 1,
class "SNMP::Info::Layer3",
debug 1,
funcs {
adsl_atuc_crc_block_len "adslAtucChanCrcBlockLength",
adsl_atuc_curr_tx_rate "adslAtucChanCurrTxRate",
adsl_atuc_interleave_delay "adslAtucChanInterleaveDelay",
adsl_atuc_prev_tx_rate "adslAtucChanPrevTxRate",
adsl_atur_crc_block_len "adslAturChanCrcBlockLength",
adsl_atur_curr_tx_rate "adslAturChanCurrTxRate",
adsl_atur_interleave_delay "adslAturChanInterleaveDelay",
adsl_atur_prev_tx_rate "adslAturChanPrevTxRate",
at_index "ipNetToMediaIfIndex",
at_netaddr "ipNetToMediaNetAddress",
at_paddr "ipNetToMediaPhysAddress",
bgp_peer_addr "bgpPeerRemoteAddr",
bgp_peer_as "bgpPeerRemoteAs",
bgp_peer_fsm_est_trans "bgpPeerFsmEstablishedTransitions",
bgp_peer_id "bgpPeerIdentifier",
bgp_peer_in_tot_msgs "bgpPeerInTotalMessages",
bgp_peer_in_upd "bgpPeerInUpdates",
bgp_peer_in_upd_el_time "bgpPeerInUpdateElapsedTime",
bgp_peer_out_tot_msgs "bgpPeerOutTotalMessages",
bgp_peer_out_upd "bgpPeerOutUpdates",
bgp_peer_state "bgpPeerState",
bgp_peers "bgpPeerLocalAddr",
bp_index "dot1dBasePortIfIndex",
bp_port "dot1dBasePortCircuit",
bs_mac "dot1dStaticAddress",
bs_port "dot1dStaticReceivePort",
bs_status "dot1dStaticStatus",
bs_to "dot1dStaticAllowedToGoTo",
c_addr6_index "cIpAddressIfIndex",
c_addr6_pfx "cIpAddressPrefix",
c_addr6_type "cIpAddressType",
c_inet_phys_addr "cInetNetToMediaPhysAddress",
c_inet_phys_state "cInetNetToMediaState",
c_inet_phys_type "cInetNetToMediaType",
c_pfx_origin "cIpAddressPfxOrigin",
docs_cmts_cm_down_channel_if_index "docsIfCmtsCmStatusDownChannelIfIndex",
docs_cmts_cm_up_channel_if_index "docsIfCmtsCmStatusUpChannelIfIndex",
docs_if_cmts_cm_status_inet_address "docsIfCmtsCmStatusInetAddress",
docs_if_cmts_cm_status_inet_address_type "docsIfCmtsCmStatusInetAddressType",
docs_if3_cmts_cm_status_md_if_index "docsIf3CmtsCmRegStatusMdIfIndex",
e_alias "entPhysicalAlias",
e_class "entPhysicalClass",
e_descr "entPhysicalDescr",
e_fru "entPhysicalIsFRU",
e_fwver "entPhysicalFirmwareRev",
e_hwver "entPhysicalHardwareRev",
e_id "entPhysicalAssetID",
el_chipset "dot3StatsEtherChipSet",
el_coll_excess "dot3StatsExcessiveCollisions",
el_coll_freq "dot3CollFrequencies",
el_coll_late "dot3StatsLateCollisions",
el_coll_mult "dot3StatsMultipleCollisionFrames",
el_coll_single "dot3StatsSingleCollisionFrames",
el_duplex "dot3StatsDuplexStatus",
el_error_alignment "dot3StatsAlignmentErrors",
el_error_cs "dot3StatsCarrierSenseErrors",
el_error_fcs "dot3StatsFCSErrors",
el_error_frame "dot3StatsFrameTooLongs",
el_error_mac_rec "dot3StatsInternalMacReceiveErrors",
el_error_mac_xmit "dot3StatsInternalMacTransmitErrors",
el_error_sqe "dot3StatsSQETestErrors",
el_error_symbol "dot3StatsSymbolErrors",
el_index "dot3StatsIndex",
el_xmit_defer "dot3StatsDeferredTransmissions",
e_map "entAliasMappingIdentifier",
e_model "entPhysicalModelName",
e_name "entPhysicalName",
e_parent "entPhysicalContainedIn",
e_pos "entPhysicalParentRelPos",
e_serial "entPhysicalSerialNum",
e_swver "entPhysicalSoftwareRev",
e_type "entPhysicalVendorType",
e_vendor "entPhysicalMfgName",
fw_mac "dot1dTpFdbAddress",
fw_port "dot1dTpFdbPort",
fw_status "dot1dTpFdbStatus",
i_alias "ifAlias",
i_bad_proto_in "ifInUnknownProtos",
i_description "ifDescr",
i_discards_in "ifInDiscards",
i_discards_out "ifOutDiscards",
i_errors_in "ifInErrors",
i_errors_out "ifOutErrors",
i_index "ifIndex",
i_lastchange "ifLastChange",
i_mac "ifPhysAddress",
i_mtu "ifMtu",
i_name "ifName",
interfaces "ifIndex",
i_octet_in "ifInOctets",
i_octet_in64 "ifHCInOctets",
i_octet_out "ifOutOctets",
i_octet_out64 "ifHCOutOctets",
ip_addr6_index "ipAddressIfIndex",
ip_addr6_pfx "ipAddressPrefix",
ip_addr6_type "ipAddressType",
ip_broadcast "ipAdEntBcastAddr",
i_pkts_bcast_in "ifInBroadcastPkts",
i_pkts_bcast_in64 "ifHCInBroadcastPkts",
i_pkts_bcast_out "ifOutBroadcastPkts",
i_pkts_bcast_out64 "ifHCOutBroadcastPkts",
i_pkts_multi_in "ifInMulticastPkts",
i_pkts_multi_in64 "ifHCInMulticastPkts",
i_pkts_multi_out "ifOutMulticastPkts",
i_pkts_multi_out64 "ifHCOutMulticastPkts",
i_pkts_nucast_in "ifInNUcastPkts",
i_pkts_nucast_out "ifOutNUcastPkts",
i_pkts_ucast_in "ifInUcastPkts",
i_pkts_ucast_in64 "ifHCInUcastPkts",
i_pkts_ucast_out "ifOutUcastPkts",
i_pkts_ucast_out64 "ifHCOutUcastPkts",
ip_n2p_phys_addr "ipNetToPhysicalPhysAddress",
ip_n2p_phys_state "ipNetToPhysicalState",
ip_n2p_phys_type "ipNetToPhysicalType",
ip_pfx_origin "ipAddressPrefixOrigin",
ipr_age "ipRouteAge",
ipr_dest "ipRouteNextHop",
ipr_if "ipRouteIfIndex",
ipr_info "ipRouteInfo",
ipr_mask "ipRouteMask",
ipr_proto "ipRouteProto",
ipr_route "ipRouteDest",
ipr_type "ipRouteType",
ipr_1 "ipRouteMetric1",
ipr_2 "ipRouteMetric2",
ipr_3 "ipRouteMetric3",
ipr_4 "ipRouteMetric4",
ipr_5 "ipRouteMetric5",
i_qlen_out "ifOutQLen",
is_edgeport_admin "dot1dStpPortAdminEdgePort",
is_edgeport_oper "dot1dStpPortOperEdgePort",
isis_adj "isisISAdjIPAddrAddress",
isis_adj_id "isisISAdjNeighSysID",
isis_adj_ip_type "isisISAdjIPAddrType",
isis_adj_state "isisISAdjState",
isis_adj_type "isisISAdjNeighSysType",
isis_adj_usage "isisISAdjUsage",
isis_circ_admin "isisCircAdminState",
isis_circ_if_idx "isisCircIfIndex",
isis_circ_level_type "isisCircLevelType",
isis_circ_type "isisCircType",
i_specific "ifSpecific",
i_speed "ifSpeed",
i_speed_high "ifHighSpeed",
i_stack_status "ifStackStatus",
i_type "ifType",
i_up "ifOperStatus",
i_up_admin "ifAdminStatus",
i6_addr_pfxlen "ipv6AddrPfxLength",
i6_n2p_phys_addr "ipv6NetToMediaPhysAddress",
i6_n2p_phys_state "ipv6IfNetToMediaState",
i6_n2p_phys_type "ipv6NetToMediaType",
lldp_lman_addr "lldpLocManAddrIfId",
lldp_rem_asset "lldpXMedRemAssetID",
lldp_rem_cap_spt "lldpRemSysCapSupported",
lldp_rem_desc "lldpRemPortDesc",
lldp_rem_fw_rev "lldpXMedRemFirmwareRev",
lldp_rem_hw_rev "lldpXMedRemHardwareRev",
lldp_rem_id "lldpRemChassisId",
lldp_rem_id_type "lldpRemChassisIdSubtype",
lldp_rem_media_cap "lldpXMedRemCapCurrent",
lldp_rem_media_cap_spt "lldpXMedRemCapSupported",
lldp_rem_model "lldpXMedRemModelName",
lldp_rem_pid "lldpRemPortId",
lldp_rem_pid_type "lldpRemPortIdSubtype",
lldp_rem_serial "lldpXMedRemSerialNum",
lldp_rem_sw_rev "lldpXMedRemSoftwareRev",
lldp_rem_sys_cap "lldpRemSysCapEnabled",
lldp_rem_sysdesc "lldpRemSysDesc",
lldp_rem_sysname "lldpRemSysName",
lldp_rem_vendor "lldpXMedRemMfgName",
lldp_rman_addr "lldpRemManAddrIfSubtype",
new_ip_index "ipAddressIfIndex",
new_ip_prefix "ipAddressPrefix",
new_ip_type "ipAddressType",
n2p_lastupdate "ipNetToPhysicalLastUpdated",
n2p_paddr "ipNetToPhysicalPhysAddress",
n2p_pstate "ipNetToPhysicalState",
n2p_pstatus "ipNetToPhysicalRowStatus",
n2p_ptype "ipNetToPhysicalType",
old_at_index "atIfIndex",
old_at_netaddr "atNetAddress",
old_at_paddr "atPhysAddress",
old_ip_index "ipAdEntIfIndex",
old_ip_netmask "ipAdEntNetMask",
old_ip_table "ipAdEntAddr",
ospf_if_admin "ospfIfAdminStat",
ospf_if_area "ospfIfAreaId",
ospf_if_dead "ospfIfRtrDeadInterval",
ospf_if_hello "ospfIfHelloInterval",
ospf_if_ip "ospfIfIpAddress",
ospf_if_state "ospfIfState",
ospf_if_type "ospfIfType",
ospf_ip "ospfHostIpAddress",
ospf_peer_id "ospfNbrRtrId",
ospf_peer_state "ospfNbrState",
ospf_peers "ospfNbrIpAddr",
peth_port_admin "pethPsePortAdminEnable",
peth_port_class "pethPsePortPowerClassifications",
peth_port_status "pethPsePortDetectionStatus",
peth_power_consumption "pethMainPseConsumptionPower",
peth_power_status "pethMainPseOperStatus",
peth_power_threshold "pethMainPseUsageThreshold",
peth_power_watts "pethMainPsePower",
qb_cv_egress "dot1qVlanCurrentEgressPorts",
qb_cv_stat "dot1qVlanStatus",
qb_cv_untagged "dot1qVlanCurrentUntaggedPorts",
qb_fw_port "dot1qTpFdbPort",
qb_fw_status "dot1qTpFdbStatus",
qb_i_vlan "dot1qPvid",
qb_i_vlan_in_flt "dot1qPortIngressFiltering",
qb_i_vlan_type "dot1qPortAcceptableFrameTypes",
qb_v_egress "dot1qVlanStaticEgressPorts",
qb_v_fbdn_egress "dot1qVlanForbiddenEgressPorts",
qb_v_name "dot1qVlanStaticName",
qb_v_stat "dot1qVlanStaticRowStatus",
qb_v_untagged "dot1qVlanStaticUntaggedPorts",
stp_i_mac "dot1dBaseBridgeAddress",
stp_i_ntop "dot1dStpTopChanges",
stp_i_priority "dot1dStpPriority",
stp_i_root "dot1dStpDesignatedRoot",
stp_i_root_port "dot1dStpRootPort",
stp_i_time "dot1dStpTimeSinceTopologyChange",
stp_p_bridge "dot1dStpPortDesignatedBridge",
stp_p_cost "dot1dStpPortPathCost",
stp_p_id "dot1dStpPort",
stp_p_port "dot1dStpPortDesignatedPort",
stp_p_priority "dot1dStpPortPriority",
stp_p_root "dot1dStpPortDesignatedRoot",
stp_p_state "dot1dStpPortState",
v_name "dot1qVlanStaticName"
},
globals {
bgp_id "bgpIdentifier.0",
bgp_local_as "bgpLocalAs.0",
b_mac "dot1dBaseBridgeAddress",
b_ports "dot1dBaseNumPorts",
b_type "dot1dBaseType",
contact "sysContact",
description "sysDescr",
id "sysObjectID",
ipforwarding "ipForwarding",
layers "sysServices",
lldp_sys_cap "lldpLocSysCapEnabled",
lldp_sysdesc "lldpLocSysDesc",
lldp_sysname "lldpLocSysName",
location "sysLocation",
mac "ifPhysAddress.1",
name "sysName",
ports "ifNumber",
qb_next_vlan_index "dot1qNextFreeLocalVlanIndex",
qb_vlans "dot1qNumVlans",
qb_vlans_max "dot1qMaxSupportedVlans",
router_ip "ospfRouterId.0",
serial1 ".1.3.6.1.4.1.9.3.6.3.0",
stp_priority "dot1dStpPriority",
stp_root "dot1dStpDesignatedRoot",
stp_root_port "dot1dStpRootPort",
stp_time "dot1dStpTimeSinceTopologyChange",
stp_ver "dot1dStpProtocolSpecification",
uptime "sysUpTime"
},
IgnoreNetSNMPConf 1,
init \ 1,
mibdirs var{args}{MibDirs},
mibs {
ADSL-LINE-MIB "adslLineType",
BGP4-MIB "bgpIdentifier",
BRIDGE-MIB "dot1dBaseBridgeAddress",
CISCO-IETF-IP-MIB "cInetNetToMediaNetAddress",
DOCS-IF-MIB "docsIfMib",
DOCS-IF3-MIB "docsIf3Mib",
ENTITY-MIB "entPhysicalSerialNum",
EtherLike-MIB "etherMIB",
IF-MIB "ifIndex",
IP-MIB "ipNetToMediaIfIndex",
IPV6-MIB "ipv6IfTableLastChange",
ISIS-MIB "isisSysID",
LLDP-EXT-DOT1-MIB "lldpXdot1MIB",
LLDP-EXT-DOT3-MIB "lldpXdot3MIB",
LLDP-EXT-MED-MIB "lldpXMedMIB",
LLDP-MIB "lldpLocSysCapEnabled",
OSPF-MIB "ospfRouterId",
POWER-ETHERNET-MIB "pethPsePortDetectionStatus",
Q-BRIDGE-MIB "dot1qPvid",
RSTP-MIB "dot1dStpPortOperEdgePort",
SNMPv2-MIB "sysObjectID"
},
munge {
at_paddr sub { ... },
b_mac var{munge}{at_paddr},
bs_mac var{munge}{at_paddr},
c_inet_phys_addr sub { ... },
el_duplex sub { ... },
e_type sub { ... },
fw_mac var{munge}{at_paddr},
i_mac var{munge}{at_paddr},
i_octet_in64 sub { ... },
i_octet_out64 var{munge}{i_octet_in64},
i_pkts_bcast_in64 var{munge}{i_octet_in64},
i_pkts_bcast_out64 var{munge}{i_octet_in64},
i_pkts_multi_out64 var{munge}{i_octet_in64},
i_pkts_mutli_in64 var{munge}{i_octet_in64},
i_pkts_ucast_in64 var{munge}{i_octet_in64},
i_pkts_ucast_out64 var{munge}{i_octet_in64},
ip_n2p_phys_addr var{munge}{at_paddr},
i_speed sub { ... },
i_speed_high sub { ... },
i_up sub { ... },
ip sub { ... },
i6_n2p_phys_addr var{munge}{at_paddr},
layers sub { ... },
lldp_rem_asset sub { ... },
lldp_rem_cap_spt sub { ... },
lldp_rem_fw_rev var{munge}{lldp_rem_asset},
lldp_rem_hw_rev var{munge}{lldp_rem_asset},
lldp_rem_media_cap var{munge}{lldp_rem_cap_spt},
lldp_rem_media_cap_spt var{munge}{lldp_rem_cap_spt},
lldp_rem_model var{munge}{lldp_rem_asset},
lldp_rem_port_desc var{munge}{lldp_rem_asset},
lldp_rem_serial var{munge}{lldp_rem_asset},
lldp_rem_sw_rev var{munge}{lldp_rem_asset},
lldp_rem_sys_cap var{munge}{lldp_rem_cap_spt},
lldp_rem_sysdesc var{munge}{lldp_rem_asset},
lldp_rem_sysname var{munge}{lldp_rem_asset},
lldp_rem_vendor var{munge}{lldp_rem_asset},
lldp_sys_cap var{munge}{lldp_rem_cap_spt},
lldp_sysdesc var{munge}{lldp_rem_asset},
lldp_sysname var{munge}{lldp_rem_asset},
mac var{munge}{at_paddr},
n2p_paddr var{munge}{at_paddr},
old_at_paddr var{munge}{at_paddr},
qb_cv_egress sub { ... },
qb_cv_untagged var{munge}{qb_cv_egress},
qb_v_egress var{munge}{qb_cv_egress},
qb_v_fbdn_egress var{munge}{qb_cv_egress},
qb_v_untagged var{munge}{qb_cv_egress},
stp_i_mac var{munge}{at_paddr},
stp_i_root sub { ... },
stp_p_bridge var{munge}{stp_i_root},
stp_p_port sub { ... },
stp_p_root var{munge}{stp_i_root},
stp_root var{munge}{stp_i_root}
},
nosuch 1,
sess var{args}{Session},
snmp_comm "public",
snmp_user "initial",
snmp_ver 2,
store {}
}
}
[12374] 2019-10-05 18:17:34 info show: finished at Sat Oct 5 21:17:34 2019
[12374] 2019-10-05 18:17:34 info show: status done: Showed specify response from 10.250.192.31

@zoeloe
Copy link

zoeloe commented Oct 11, 2019

We have some new Extreme devices and they are not yet recognized:
ExtremeXOS (X460G2-48p-G4) as extremeProduct.217
VSP-7400-48Y-8C as extremeProduct.325

Support would be nice indeed. TIA

@zoeloe
Copy link

zoeloe commented Oct 27, 2019

On an added note: Extreme hardware: Software version 7.6.2.303 on a Ethernet Routing Switch 4950GTS-PWR+ identifies as model "303". Before that version (possibly up to 7.6.2.217 (not sure), the switch is correctly identified.

@inphobia
Copy link
Member

We have some new Extreme devices and they are not yet recognized:
ExtremeXOS (X460G2-48p-G4) as extremeProduct.217
VSP-7400-48Y-8C as extremeProduct.325

Support would be nice indeed. TIA

this is most likely due to outdated mibs. since i'm no extreme customer (yet, since i am an aerohive user which extreme recently bought) i'm having a hard time finding their most recent mibs. if you can provide those mibs to us we will update them & things will most likely work.

@inphobia
Copy link
Member

Al of these belong nowadays to Extreme, though Identified also as their previous acquisitions (Symbol, Motorola, Zebra...)
each of these devices have a mib file, containing the same enterprise identifier 388..
I added the files to netdisco-mibs/motorola and followed the adding mibs procedure.
Still, few errors (because of the 388 being identified in more than one mib file I guess...

The question I have is there anything I can do for identifying those devices correctly or should it be a feature request...

first of it would be handy that we somehow get those mibs first, this will allow us to check if any snmp::info class has provisions for them. thx

@zoeloe
Copy link

zoeloe commented Oct 30, 2019

Hi inphobia, I hope that MIBS are in the public space. See attachment, hope this helps. versions seems to be 7.6.1 for the mibs, they came with 7.6.3 software I think.
Ethernet_Routing_Switch_4900_MIBs_7.6.1.zip
This is for the 4900 series switches. normally the other indentifiers should be in there !?

@inphobia
Copy link
Member

excellent, at first glance these seem to include the required mapping in S5-REG-MIB.mib and/or SYNOPTICS-ROOT-MIB.mib.

they do however include mibs from all over the place (makes sense since extreme seems to be buying everything that's for sale in the network world atm), so it will take some time to work through this to see what's the best option to get this in.

the also include a lot of iana & such mibs. this could be just so they can offer a complete package (which makes it easy to use for most customers). this could also be because they made changes to them, which would be crap.

bottom line: this seems to be the stuff we need, getting it sorted and merged could take a bit of time. i've taken a liking to the mib stuff lately, regretfully my schedule hasn't.

you can always have a go yourself, our docs are here: https://github.com/netdisco/netdisco-mibs/wiki/Updating-MIBs
but if it's your first time this might could be a very confusing mib package to start with. hit is up on irc or here if you need support. i'll put it on my radar but can't commit to when it will get done.

@inphobia inphobia self-assigned this Oct 30, 2019
@Joon
Copy link

Joon commented Nov 12, 2019

Hi @inphobia , I need to get Extreme support added (for their BOSS and EXOS OS switches), so I have forked the MIBS repo and will have a go at following the instructions to add new MIBs that I got from Extreme directly. Can you please let me know how to access the IRC?

@inphobia
Copy link
Member

our channel is netdisco on freenode.net

you can either use an irc client like mirc (windows) or xchat (unix), or use a web interface:
https://webchat.freenode.net/?randomnick=1&prompt=1&channels=%23netdisco

@ollyg ollyg added this to the Issue Bucket milestone Aug 4, 2022
@ollyg ollyg removed this from the Issue Bucket milestone Aug 4, 2022
@inphobia
Copy link
Member

according to your report and recent report these devices are classified under snmp::info::layer3 since no specific module has been written for them. if all you need is showing model & vendor than this might work for you:

netdisco/netdisco-mibs#212 (comment)

the netdiso-mibs are up to date so if sysObjectID points to an actual product it can be resolved, and for vendor you can get the use strip everything after .1.3.6.1.4.1.xxx from sysobjectid & translate that. everything more advanced requires knowing the layout of a specific mib and thus needs a device specific module.

i see how at least trying to get the vendor & model can be usefull, but figuring out which mibs to load to translate them is not trivial, and loading all the mibs is expensive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

5 participants