Re: [問題] 請問有人略知道SNMP 嗎??
※ 引述《seehakoo (師公)》之銘言:
: 請問一下
: snmp 算是一種的通訊連線方式嗎 ?
: 還有 就是我大略知道 switch 上的snmp 功能
: 能做很多事情 例如 能用snmpset 設定特定port 的開啟或關閉
: 可是能設定 某port 流向某ip 嗎?
: 是只有 router 才可以做到 ?
: 謝謝了
SNMP 雖然有"管理"這個字眼,
不過它基本上只是個monitoring protocol.
Excerpted from http://www.net-snmp.org/:
"Simple Network Management Protocol (SNMP) is a widely used protocol
for monitoring the health and welfare of network equipment (eg. routers),
computer equipment and even devices like UPSs. Net-SNMP is a suite of
applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both
IPv4 and IPv6. "
像Net-SNMP 這樣的suite 一般會提供generic MIBs, 但是像一些其它的網路設備
如Cisco, Foundry switches/routers, 這些廠商會提供自己的private MIBs.
snmpset這樣的指令是針對某一OID 寫入值,
而不是用snmpset 去設定特定port 的開啟或關閉 or 設定 某port 流向某ip;
除非,
該設備的private MIBs 提供,
特定port 的開啟或關閉
or
設定 某port 流向某ip 的OIDs
為1 or whatever values, 則switch/router 會啟動該功能,
則snmpset 可以做這樣的設定.
cheers,
--
Self-Pity
I never saw a wild thing
sorry for itself.
A small bird will drop frozen dead from a bough
without ever having felt sorry for itself. ~ D. H. Lawrence
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.132.95.140
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 7 篇):