通过命令行发现连接到计算机的设备?
我想查看网络中的所有设备。我想使用命令行来完成此操作。
是否有可能,请给我指示有助于实现目的的工具名称。
I would like to look at all the devices in my network . I would like to do it using the command line .
Is it possible , Please give me directions the name of the tool that would help achieve the purpose .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可能想将其发布到:
超级用户网站
StackOverflow 更适合编程,而超级用户更适合诸如“我可以使用什么命令行工具来执行 xxx?”之类的问题。
You might want to post that on:
superuser.com
StackOverflow is more geared toward programming, whereas superuser is more geared toward questions such as 'What commandline tool can I use to do xxx?'
常用工具有两种,可用于linux、windows等平台。
对于第二个,您可以尝试将 snmpget 发送到您的本地广播地址、社区 public 和 oid SysName 或 SysDescr。
There are two common tools, available for linux, windows and other platform.
For the second, you can try to send a snmpget to your local broadcast address, community public and oid SysName or SysDescr.
您需要详细说明“外观”和“网络”的含义。网络可以是任何东西。您的意思是与您位于同一子网的设备吗?可能在同一条以太网电缆上?
有些扫描器可以扫描您的子网并输出响应 ICMP 回显 (Ping) 的 IP 地址列表。
如果您想获取有关这些设备的更多信息,您也可以查看“nmap”。
You need to elaborate on what you mean by 'look' and 'network'. A network could be anything. Do you mean devices on the same subnet as yours? Probably on the same Ethernet cable?
There are scanners that can scan your subnet and spew out a list of IP addresses that respond to an ICMP echo (Ping).
You could take a look at 'nmap' too if you want to get additional information about these devices.