LoginSignup
1
0

More than 5 years have passed since last update.

SNMP サービスにバインドされているポート番号を変更する

Posted at

net-snmpなど他のSNMPサービスと共存する環境で使用する場合、ポートのバッティングを避けるため標準SNMPサービスのポートを変更する。

環境

  • Windows 7 Professional SP1 64bit

設定ファイル変更

以下のフォルダにある

C:\Windows\System32\drivers\etc\

servicesというファイルを編集

servies
   # Copyright (c) 1993-2004 Microsoft Corp.
   #
   # This file contains port numbers for well-known services as defined by
   # RFC 1060 (Assigned Numbers).
   #
   # Format:
   #
   # <service name>  <port number>/<protocol>  [aliases...]   [#<comment>]
   #

   snmp     165/udp  snmp
   snmp-trap   166/udp  snmp

snmp 165/udp snmp

の部分を変更したいポート番号に変更する。

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0