12-29-2021 09:46 AM
I'm not quite following what needs to be one with API to configure SNMP and DHCP relay on an FTD that we're just installing. I tracked down the following from https://community.cisco.com/t5/network-security/cisco-ftd-7-0-manage-by-fdm-dhcp-relay/m-p/4469376, but there are several "string" values for ip/type/version I simply don't know what to fill in. Maybe they are critical, maybe not. I've been searching through Cisco documentation and Google, but I'm not making progress. Here is the DHCP relay configuration. Can someone help me with the string values? Second question: Does anyone have a config script for SNMP? Thank you.
{
"version": "string",
"name": "dhcprelay",
"ipv4RelayTimeout": 60,
"ipv6RelayTimeout": 60,
"servers": [
{
"server": {
"id": "string",
"type": "networkobject",
"version": "string",
"name": "dhcpHost"
},
"interface": {
"id": "string",
"type": "string",
"version": "string",
"name": "servers"
},
"type": "dhcprelayserver"
}
],
"agents": [
{
"enableIpv4Relay": true,
"enableIpv6Relay": true,
"setRoute": false,
"interface": {
"id": "string,
"type": "string",
"version": "string",
"name": "aaaa"
},
"type": "dhcprelayagent"
},
...
{
"enableIpv4Relay": true,
"enableIpv6Relay": true,
"setRoute": false,
"interface": {
"id": "string",
"type": "string",
"version": "string",
"name": "ffff"
},
"type": "dhcprelayagent"
}
],
"id": "string",
"type": "dhcprelayservice",
"links": {
"self": "string"
}
}
04-18-2023 08:49 AM
ABaker, Were you able to figure out a solution? I'm having the same issue
04-18-2023 11:03 AM
Never did. I think the version in the title was in error, as we're currently on 7.0.4 code and will be moving to 7.0.5. SNMP and DHCP relay are natively supported on 7.0.4.
04-19-2023 06:49 AM
Oh, that's interesting. I've upgraded to 7.0.5-72 and don't see anything in the FTD menu. Still looks like an API is needed. Would you mind showing how you're doing it now?
04-19-2023 12:09 PM
SNMP: Devices > Platform Settings > SNMP
DHCP Relay: Devices > Device Management > Select FTD > DHCP tab. On the left, you'll see DHCP Server and DHCP Relay. Within there, configure the DHCP Servers and add the configuration to the DHCP Relay Agent.
04-20-2023 03:14 AM
Ahh, You're using an FMC to manage the devices. I was hoping someone had an answer to the original problem on the FTD itself. We aren't running enough devices to warrant a Firepower Management Center and only have the Firepower Threat Defense appliance.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide