IP デバイストラッキングの設定およびテーブルエントリを表示するには、特権 EXEC モードで show ip device tracking コマンドを使用します。
構文
show ip device tracking {all | interface interface-id | ip ip-address| mac mac-address}
パラメータ
-
all:グローバル設定と IP デバイス トラッキング テーブル全体を表示します。
-
interface interface-id:指定したインターフェイスの IP デバイストラッキング設定と、このインターフェイスで学習されたエントリを表示します。
-
ip ip-address:指定した IP アドレスに基づいて、グローバルレベル設定と特定のエントリを表示します。
-
mac mac-address:指定した MAC アドレスに基づいて、グローバルレベル設定と特定のエントリを表示します。
例
例 1。次の例では、IP デバイストラッキングのグローバル設定とすべてのテーブルエントリを示します。
switchxxxxxx# show ip device tracking all
Global IP Device Tracking for clients = Enabled
Global IP Device Tracking Probe Count = 5
Global IP Device Tracking Probe Interval = 35
Global IP Device Tracking Probe Delay Interval = 0
IP Device Tracking Probe Auto Source = Disabled
IP Address MAC Address Vlan Interface Probe-Timeout State Source
----------- -------------- ---- ------- --------- ------ -----
10.2.13.10 68:05:ca:21:28:e6 13 gi1 30 Active arp
10.2.14.20 68:05:ca:21:28:d5 14 gi2 30 Active arp
Total number interfaces enabled: 2
Enabled interfaces:
gi1, gi2
例 2。次の例では、インターフェイス gi1 の IP デバイストラッキング設定とエントリを示します。
switchxxxxxx# show ip device tracking interface gi1
Interface gi1 is: STAND ALONE
IP Device Tracking = Enabled
IP Device Tracking Probe Count = 3 (Global)
IP Device Tracking Probe Interval = 30 (Global)
IP Device Tracking Enabled Features:
HOST_TRACK_CLIENT_SM
IP Address MAC Address Vlan Interface Probe-Timeout State Source
----------- -------------- ---- ------- --------- ------ -----
10.2.13.10 68:05:ca:21:28:e6 13 gi1 30 Active arp
例 3。次の例では、単一の IP デバイス トラッキング エントリを示します。エントリは、エントリの IP アドレスを使用して識別されます。
switchxxxxxx# show ip device tracking ip 10.2.14.20
Global IP Device Tracking for clients = Enabled
Global IP Device Tracking Probe Count = 5
Global IP Device Tracking Probe Interval = 35
Global IP Device Tracking Probe Delay Interval = 0
IP Address MAC Address Vlan Interface Probe-Timeout State Source
----------- -------------- ---- ------- --------- ------ -----
10.2.14.20 68:05:ca:21:28:d5 14 gi2 30 Active arp
Total number interfaces enabled: 2
Enabled interfaces:
gi1, gi2
例 4。次の例では、単一の IP デバイス トラッキング エントリを示します。エントリは、エントリの MAC アドレスを使用して識別されます。
switchxxxxxx# show ip device tracking mac 68:05:ca:21:28:d5
Global IP Device Tracking for clients = Enabled
Global IP Device Tracking Probe Count = 5
Global IP Device Tracking Probe Interval = 35
Global IP Device Tracking Probe Delay Interval = 0
IP Address MAC Address Vlan Interface Probe-Timeout State Source
----------- -------------- ---- ------- --------- ------ -----
10.2.14.20 68:05:ca:21:28:d5 14 gi2 30 Active arp
Total number interfaces enabled: 2
Enabled interfaces:
gi1, gi2