Skip to content

Instantly share code, notes, and snippets.

View lxf1992521's full-sized avatar
🙂
life

潇湘居士 lxf1992521

🙂
life
View GitHub Profile
@lxf1992521
lxf1992521 / switch-host-linkmap.sh
Last active September 10, 2019 01:39
交换机-主机拓扑链路追踪脚本,使用 shell 语法完成
#!/bin/bash
# ============================================================
# related links:
# http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/13492-cam-snmp.html
# ============================================================
# ============ related MIB/OIDs =============================
# CISCO-CDP-MIB::cdpCacheDeviceId