Create a new Interface
Creates an SNMP ifTable entry for a host. These are typically created by SNMP discovery, but can also be created manually.
Request body
SNMP ifAdminStatus values per IF-MIB RFC 2863
Remote management IP from CDP (cdpCacheAddress)
Remote device ID from CDP (typically hostname, locally unique)
Remote platform from CDP (e.g., "Cisco IOS")
Remote port ID from CDP
Bridge FDB: learned MAC addresses on this switch port. Single-MAC ports can be resolved to neighbor links server-side. Multi-MAC ports indicate uplinks where LLDP/CDP is the better source.
SNMP ifAlias - user-configured description
SNMP ifDescr - interface description (e.g., GigabitEthernet0/1)
SNMP ifIndex - stable identifier within device
SNMP ifName - short interface name (e.g., Gi1/0/1)
SNMP ifType - IANAifType integer (6=ethernet, 24=loopback, etc.)
FK to IPAddress entity - this port's IP assignment (must be on same host). Old daemons send this as "interface_id".
Remote management IP from LLDP neighbor (lldpRemManAddr)
Remote port description from LLDP neighbor (lldpRemPortDesc)
Remote system description from LLDP neighbor (lldpRemSysDesc) - platform info
Remote system name from LLDP neighbor (lldpRemSysName)
MAC address from SNMP ifPhysAddress - immutable once set
Native/untagged VLAN entity ID on this port (resolved from Q-BRIDGE dot1qPvid)
SNMP ifOperStatus values per IF-MIB RFC 2863
Interface speed from ifSpeed/ifHighSpeed in bits per second
Tagged VLAN entity IDs on this port (resolved from Q-BRIDGE dot1qVlanCurrentEgressPorts)
Response
If entry created successfully
Example response
{
"meta": {
"api_version": 1,
"server_version": "0.17.7"
}
}