Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一台主机的 Mac 地址。我想知道这个主机连接到思科交换机的哪个接口。我使用 snmp 来完成这项工作。
我想创建一个脚本来做到这一点。那么我该怎么做呢?我应该知道vlan吗?
问候
您需要以下内容:
show ip arp <ip address> show mac-address-table address <mac address> show cdp neighbors <interface> detail
享受