3.28.1. Port Previous topic Parent topic Child topic Next topic

This optional parameter specifies the UDP port number that the SNMP Agent is to listen on. It defaults to 161. There should only rarely be any reason to change it. The argument may be either a numeric port number or an alphanumeric service name as specified in /etc/services/ (or its moral equivalent on your system). Port may contain special formatting characters. A typical use of special formatting characters is with GlobalVar and command line arguments.
# Use a non-standard port
Port 9991