cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5540
Views
16
Helpful
1
Replies

Ping from APIC command

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?

1 Accepted Solution

Accepted Solutions

Robert Burns
Cisco Employee
Cisco Employee

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

View solution in original post

1 Reply 1

Robert Burns
Cisco Employee
Cisco Employee

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

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License