- 论坛徽章:
- 0
|
原帖由 shijiu 于 2005-12-30 14:35 发表
请教snmp的问题!
如何将snmp服务的端口由udp:161改成tcp:161?
我需要穿越防火墙:(
agentaddress
The agentaddress directive places the agent list on the specified list of sockets instead of the default port (port 161). Multiple ports can be separated by commas. Transports can be specified by prepending the port number with the transport name (udp or tcp) followed by a colon. Finally, to bind to a particular interface, specify the address you want it to bind with.
For example:
Specifying agentaddress 161,tcp:161,9161@localhost will make the agent listen on udp port 161 for any address, tcp port 161 for any address, and upd port 9161 on only the interface associated with the localhost address.
NOTE: The -T flag changes the default transport mapping. In the example above, the default transport mapping is udp.
or
click here |
|