arp: Displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP).


... 命令"arp"的示例
... "arp" 摘自 Microsoft Windows 帮助
... 重要信息,"arp"命令的提示

命令: "arp" 开启 Windows 11, 10, .. 可用

命令"arp"的示例

明白了。以下是相关示例`ARP`Windows 命令提示符中的命令带有详细注释: 示例1:显示ARP表:

ARP -a

此命令显示包含 IP 地址到物理 MAC 地址映射的 ARP 表。列出了 IP 地址和关联的 MAC 地址等信息。 示例 2:显示特定 IP 地址的 ARP 条目:

ARP -a 192.168.1.1

此处显示特定 IP 地址 192.168.1.1 的 ARP 条目。这允许检查与该 IP 地址关联的 MAC 地址。 示例 3:清除 ARP 缓存:

ARP -d

该命令会清除整个 ARP 缓存。如果您想确保所有列表均已更新并包含更新的信息,这非常有用。 示例 4:添加特定 IP 地址的 ARP 条目:

ARP -s 192.168.1.2 00-1A-2B-3C-4D-5E

这里为 IP 地址 192.168.1.2、MAC 地址 00-1A-2B-3C-4D-5E 添加手动 ARP 条目。这在某些情况下对于创建手动映射很有用。 示例 5:将 ARP 条目保存到文本文件:

ARP -a > ARP-桌子.txt

此命令将所有 ARP 条目保存到名为“ARP-table.txt”的文本文件中。这对于获取 ARP 表的快照以供以后分析很有用。 示例 6:将特定 ARP 条目保存到文本文件:

ARP -a | FIND "192.168.1." > ARP-子网.txt

这里仅存储 ARP 条目,子网“192.168.1”中的 IP 地址。包含。这对于获取有关网络上设备的特定信息非常有用。 这`ARP`该命令用于管理ARP表,对于Windows系统上的网络分析和诊断很有用。请注意,执行某些操作可能需要管理权限。

"arp" 摘自 Microsoft Windows 帮助

Microsoft Windows [Version 10.0.19045.3693]
(c) Copyright 1985-2023 Microsoft Corp.

C:\\WINDOWS>

Displays and modifies the IP-to-Physical address translation tables 
used by
address resolution protocol (ARP).

ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]

  -a            Displays current ARP entries by interrogating the 
current
                protocol data.  If inet_addr is specified, the IP and 
Physical
                addresses for only the specified computer are 
displayed.  If
                more than one network interface uses ARP, entries for 
each ARP
                table are displayed.
  -g            Same as -a.
  inet_addr     Specifies an internet address.
  -N if_addr    Displays the ARP entries for the network interface 
specified
                by if_addr.
  -d            Deletes the host specified by inet_addr. inet_addr may 
be 
                wildcarded with * to delete all hosts.
  -s            Adds the host and associates the Internet address 
inet_addr
                with the Physical address eth_addr.  The Physical 
address is
                given as 6 hexadecimal bytes separated by hyphens. The 
entry
                is permanent.
  eth_addr      Specifies a physical address.
  if_addr       If present, this specifies the Internet address of the
                interface whose address translation table should be 
modified.
                If not present, the first applicable interface will be 
used.
Example:
  > arp -s 157.55.85.212   00-aa-00-62-c6-09  .... Adds a static entry.
  > arp -a                                    .... Displays the arp 
table.

重要信息,"arp"命令的提示

处理那件事的时候`ARP`Windows命令提示符中的命令,有一些要点需要注意: 1. 管理权限: 某些 ARP 操作(例如添加或删除条目)需要管理权限。确保使用管理员权限打开命令提示符以访问所有功能。 2. 更新延迟: 对 ARP 表的更改不会立即生效。更新的信息可能需要一些时间才会显示在表中。如果网络发生快速变化,可能会导致暂时的不准确。 3. 谨慎使用手动ARP条目: 手动添加 ARP 条目应谨慎执行。不正确的分配可能会导致网络问题。确保您使用正确的 MAC 地址和 IP 地址。 4. 清除 ARP 缓存: 清除整个 ARP 缓存`ARP -d`由于必须解析新请求的地址,可能会导致临时网络中断。请谨慎使用此命令,尤其是在生产环境中。 5. ARP异常分析: ARP 表中的不规则情况可能表明网络存在问题或受到攻击。例如,ARP 欺骗攻击可能导致错误的 MAC 地址与有效的 IP 地址关联。定期监测可以帮助发现此类异常情况。 6. 注意网络分段: 在具有子网的大型网络中,不同网段可能有多个 ARP 表。确保检查特定网段的正确 ARP 表。 7. 使用正确的语法: 确保您使用正确的语法`ARP`命令来使用。命令语法错误可能会导致意外行为。 一般来说,重要的是要考虑`ARP`-理解网络行为命令并明智地使用它们。如果存在任何不确定性,可以咨询网络管理员或IT专家,以确保操作不会对网络性能产生负面影响。


Deutsch
English
Español
Français
Italiano
日本語 (Nihongo)
한국어 (Hangugeo)
汉语 (Hànyǔ)
Türkçe
Português
Português
Svenska
Norsk
Dansk
Suomi
Nederlands
Polski









Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



指挥 arp - Displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP).

HTTP: ... console/cn/073.htm
0.061
25553

Leaves on the windows desktop!

List user accounts in Windows 11!

Multiple Page Scan to PDF for all Windows OS!

Shut down the Windows PC after deleting the data!

In Tree-view is it possible to make the hover time to expand adjustable xx Seconds!

Use the search in the Windows 11 settings!



(0)