Сетевой SNMP по TCP?

Лучший DLNA MediaServer и MediaRenderer реализовали, там Rygel:

https://live.gnome.org/Rygel

2
10.03.2019, 06:18
1 ответ

Я думаю, что 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:

     <transport-specifier>   <transport-address> 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.
3
27.01.2020, 22:07

Теги

Похожие вопросы