作者codex (错把Ross看成Boss)
看板Network
标题Re: [问题] 请问有人略知道SNMP 吗??
时间Tue Jul 4 15:42:42 2006
※ 引述《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