net snmp linux,linux – TCP上的Net-SNMP?

我认为snmpget也支持这一点. snmpcmd(1M)手册页中描述了一些常见功能,它们不会在所有单个命令页面上重复.

Agent Specification

The agent specification (see SYNOPSIS) takes the form:

[transport-specifier:]transport-address

At its simplest, the agent specification consists of a host-

name or an IPv4 address in the standard, "dotted quad" nota-

tion. In this case, communication will be attempted using

UDP/IPv4 to port 161 of the given host. Otherwise, the

transport-address part of the specification is parsed

according to the following table:

format

udp hostname[:port]

Note that transport-specifier strings are case-insensitive

so that, for example, "tcp" and "TCP" are equivalent. Here

are some examples, along with interpretations:

myhost:161

Perform query using UDP/IPv4 datagrams sent to myhost on

port 161. The :161 is redundant here because that is the

default SNMP port.

udp:myhost

Identical to the previous specification. The udp: is redun-

dant here because UDP/IPv4 is the default transport.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值