Skip to main content
CloudEnterprise

Techincal Information

Cisco Catalyst Center to NetBox Object Mapping

This document provides a comprehensive mapping of Cisco Catalyst Center object types to their corresponding NetBox object types, based on the integration implementation.

Object Type Mapping Table

Cisco Catalyst Center ObjectNetBox Object TypeKey Fields MappedMapping Details
Network DeviceDevicehostnamename
platformIddevice_type.model
serialNumberserial
reachabilityStatusstatus
managementIpAddressprimary_ip4/primary_ip6Maps device hostname, platform, serial number, and operational status. Management IP is set as primary IP based on IPv4/IPv6 detection.
Device PlatformDeviceTypeplatformIdmodel
manufacturerCiscoCreates device types based on platform ID with Cisco as the manufacturer.
Device LocationSitelocationNamename
locationname
snmpLocationnameMaps device location to NetBox sites. Falls back to "Default Site" if no location specified.
Device RoleDeviceRolerolenameMaps Catalyst Center device roles to NetBox roles. Defaults to "Network Device".
Device Platform/OSPlatformsoftwareType + softwareVersionnameCombines software type and version to create platform names.
Network InterfaceInterfaceportNamename
portTypetype
adminStatusenabled
mtumtu
speedspeed
duplexduplex
portModemode
descriptiondescription
macAddressprimary_mac_addressMaps interface properties including name, type, status, MTU, speed, duplex, mode, description, and MAC address.
IP AddressIPAddressipv4Address + ipv4Maskaddress
addresses[].address.ipAddressaddress
addresses[].address.ipMaskaddressMaps IPv4 addresses with subnet masks to CIDR notation. Supports both direct IPv4 fields and nested address arrays.
MAC AddressMACAddressmacAddressmac_addressMaps interface MAC addresses to NetBox MAC address objects.
ManufacturerManufacturerCisconameAlways set to "Cisco" for all Catalyst Center devices.

Field Mapping Details

Device Status Mapping

Catalyst Center StatusNetBox Status
Reachableactive
Unreachableoffline
Any other valueoffline

Interface Type Mapping

Catalyst Center Port Type/NameNetBox Interface Type
Contains "vlan" or starts with "vlan"virtual
Contains "loopback" or starts with "lo"virtual
Contains "port-channel" or starts with "po"lag
Contains "tengig" or starts with "te"10gbase-t
Contains "gigabit" or starts with "gi"1000base-t
Contains "fast" or starts with "fa"100base-tx
Contains "ethernet" or "eth"1000base-t
Default fallbackvirtual

Interface Mode Mapping

Catalyst Center Port ModeNetBox Interface Mode
accessaccess
Any other valueNone

Interface Duplex Mapping

Catalyst Center DuplexNetBox Duplex
full, fdxfull
half, hdxhalf
auto, a-full, a-half, auto-full, auto-halfauto
Any other valueauto

Speed Parsing

The integration parses speed values from various formats:

  • Numeric values: Direct conversion (e.g., 10000001000000)
  • Gbps values: Multiplied by 1,000,000 (e.g., 1G1000000)
  • Mbps values: Multiplied by 1,000 (e.g., 100M100000)
  • Kbps values: Direct conversion (e.g., 1000K1000)

Data Flow

  1. Authentication: Uses username/password to obtain API token
  2. Device Discovery: Fetches all devices from Catalyst Center API
  3. Interface Discovery: For each device, fetches associated interfaces
  4. Entity Building: Creates NetBox entities for each discovered object
  5. Relationship Mapping: Establishes relationships between devices, interfaces, IPs, and MAC addresses
  6. Data Ingestion: Sends entities to NetBox via Diode for processing

Tags and Metadata

All objects created by the integration are tagged with:

  • cisco
  • catalyst-center
  • discovered

Additional device-specific tags from Catalyst Center are preserved and added to the tag list.

Notes

  • Site Creation: Sites are created automatically based on device location information
  • Duplicate Handling: The integration handles duplicate IP addresses by reusing existing entities
  • Fallback Values: Default values are provided for missing or invalid data
  • MAC Address Normalization: MAC addresses are converted to uppercase format
  • IP Address Validation: Only valid IP addresses are processed and mapped
Related Topics