06-20-2022 06:37 AM - edited 06-20-2022 06:38 AM
Hi Team ,
How do we check for a given subnet DHCP is on the switch or on the server or on the 3rd party IPAM ?
Thank you .
06-20-2022 07:00 AM
DHCP (other than the Infra subnet) isn't managed by ACI. ACI simply relays DHCP offers if configured to do so. If you're asking if a subnet is currently defined on ACI as a Bridge Domain (BD) that's another question. Please clarify.
Robert
06-20-2022 07:08 AM
Yes , BD configured on ACI for these BD subnets ..Will there be ny configuration related to DHCP in ACI ?
06-20-2022 07:16 AM
The only 'DHCP" specific config that relates to ACI would be if you needed to implement DHCP relay for your hosts to relay their DHCP requests to a dhcp server/IPAM in a different subnet/EPG. There's plenty of guides online detailing how to setup dhcp relay on ACI. If your dhcp server/IPAM is connected to the same EPG as the clients, there's no additional configure required as they'll have L2 connectivity between client & server.
If you want to see which BD subnets are configured across the entire fabric, the quickest method is to poll the API or use CLI. From any APIC you can use:
moquery -c fvSubnet | egrep "ip|dn"
This will show you all the Subnets configured on Bridge Domains.
Robert
06-20-2022 08:24 AM
Will this command work on the leaf switch ?
06-20-2022 08:27 AM
No, its a fabric wide command. If you want something specific to the leaf, just use "show ip int brief".
Robert
06-23-2022 08:06 AM
To check DHCP relay on leaf switch you can use the following CLI-
show dhcp internal info relay address interface [leaf:interfaceVlan#]
You can find more CLI here-
Thanks,
AR
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