03-09-2022 06:20 AM
Hi all,
I need to find out if an IP is used or not in a particular BD, for doing this I need to ping some unused/free IPs (emerged from show endpoints) in order to know if there are some "sleeping" hosts or if I can really use those IPs. For doing this verification I need to ping from the APIC because the endpoints included in the same BD are spanned across multiple leafs and it could imply a big effort if I do this from every single leaf.
Can you tell me the exact command to do this verification?
Solved! Go to Solution.
03-09-2022 08:53 AM
First, APIC is not in the datapath, so you can't actually ping Tenant endpoints from APIC. What you can do is ping from any of the BD SVIs to the desired IPs.
You can jump onto any Leaf where the Bridge Domain is deployed and ping from there. Note this will look for the IP within a VRF, not a BD. This will test the target IP across the fabric (so you do not need to be on any specific leaf).
Syntax: iping -V [VRF_Name] [dest_IP]
(If you need your VRF name issue show vrf on the leaf.
Ex.
LEAF_1201# iping -V roberbur-tn:ssc_vrf 1.1.1.1
PING 1.1.1.1 (1.1.1.1) from 1.1.1.254: 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=64 time=0.49 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=64 time=0.275 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=64 time=0.36 ms
Robert
03-09-2022 08:53 AM
First, APIC is not in the datapath, so you can't actually ping Tenant endpoints from APIC. What you can do is ping from any of the BD SVIs to the desired IPs.
You can jump onto any Leaf where the Bridge Domain is deployed and ping from there. Note this will look for the IP within a VRF, not a BD. This will test the target IP across the fabric (so you do not need to be on any specific leaf).
Syntax: iping -V [VRF_Name] [dest_IP]
(If you need your VRF name issue show vrf on the leaf.
Ex.
LEAF_1201# iping -V roberbur-tn:ssc_vrf 1.1.1.1
PING 1.1.1.1 (1.1.1.1) from 1.1.1.254: 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=64 time=0.49 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=64 time=0.275 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=64 time=0.36 ms
Robert
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