Skip to content

Defining Device Types

Javier edited this page Sep 25, 2018 · 3 revisions

Device Types

Under Device Tracking > Device Types menu

Create as many device types as you need following this instrunctions

  • Description Give this device type a meaningful description.
  • Vendor Fill in the name for the vendor of this device type.
  • Device Type

Choose the type of device. What kind of device is it? Meaning that some scanning functions will be available for some of these types only. Eg: If you set a switch/hub as "Switch/Router" you will then be able to pick an IP scanning function up when the device doesn't really supports it.

  • System Description Match Provide key information to help Device Tracking detect the type of device. The wildcard character is the % sign.

When you open a device in Cacti, you normally see the following on top of the page.

System: Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)Technical Support: http://www.cisco.com/techsupportCopyright (c) 1986-2010 by Cisco Systems, Inc.Compiled Wed 21-Apr-10 05:52 by prod_rel_team
Uptime: 3176562306
Hostname: myswitch101.com
ObjectID: .1.3.6.1.4.1.9.1.696

What you want to make Mactrack look at is something like "C2960" which quickly identify the hardware platform. Don't waste your time try to match something different or more complex like "12.2(53)SE2".

  • Vendor SNMP Object ID Match This is the SNMP OID on this format: .1.3.6.1.4.1.9.1.696
  • MAC Address Scanning Function We assume you know what you are looking for here. This function should only be set to switches L2/L3 and not Routers.
  • IP Address Scanning Function This function allows you to look at the ARP table and map IP vs MAC. There is an special function for Cisco devices called get_cisco_dhcpsnooping_table that will look at the DHCP Snooping table for switches if enabled.
  • 802.1x Scanning Function This scanning function was introduced on 4.2 version and it's only for Cisco devices.
  • Serial Number Base OID This isn't mandatory but you can specify the SNMP OID to find the serial number to the device.
  • Serial Number Collection Method How is the serial number collected for this OID. If 'SNMP Walk', we assume multiple serial numbers. If 'Get', it will be only one.
  • Low User Port Number Provide the low user port number on this switch. Leave 0 to allow the system to calculate it. Empty assumes 0
  • High User Port Number Provide the low user port number on this switch. Leave 0 to allow the system to calculate it. Empty assumes 0