Use this command to display all the IPv4DT (IPv4/VLAN/MAC) entries in the IPv4DT table learned on a specified interface.
Format | show ip device tracking interface if-name |
Mode | Privileged EXEC |
Parameter | Description |
---|---|
if-name | Interface name. |
The following fields are displayed in the output of this command.
Field | Description |
---|---|
IP Address | The learned IPv4 address of the device. |
MAC Address | The MAC address associated with the learned IPv4 address. |
VLAN | The VLAN ID associated with an interface on which the device is learned. |
Interface | The interface name on which the device is learned. |
Time left to inactive | The number of seconds before the reachable device is set to INACTIVE. |
Time since inactive | The number of seconds since the INACTIVE device was last reachable. |
State | Specifies the device is in ACTIVE or INACTIVE state. |
Source | Specifies the source of the device whether it is ARP, DHCP, or Static. |
Example: The following shows example CLI display output for the command.
(Switching) #show ip device tracking interface Gi1/0/1 IP Device Tracking for clients......................... Enable IP Device Tracking Probe Generation.................... Enable IP Device Tracking Probe Count......................... 3 IP Device Tracking Probe Interval.......................30 IP Device Tracking Probe Delay Interval.................30 IP Device Tracking Interface Max Entry Limit ...........No Limit ------------------------------------------------------------------------------- IP Address MAC Address Vlan Interface Time-left Time-since State Source to inactive inactive ------------------------------------------------------------------------------- 10.21.1.1 01:02:03:04:05:06 2 1/0/1 50 0 ACTIVE ARP 20.21.1.1 01:02:03:04:05:07 2 1/0/1 80 0 ACTIVE ARP