Cisco Cisco Packet Data Gateway (PDG)
Global Configuration Mode Commands (L-S)
snmp server ▀
Command Line Interface Reference, StarOS Release 16 ▄
5403
snmp server
Enables the SNMP server as well the configuration of the SNMP server port.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration
configure
Entering the above command sequence results in the following prompt:
[local]host_name(config)#
Syntax
snmp server [ port number ]
no snmp server
no
Restores the default SNMP port assignment.
port
number
Default: 161
Specifies the port number to use for SNMP communications.
Specifies the port number to use for SNMP communications.
number
must be an integer from 1 to 65535.
Usage
Set the SNMP port for communications when SNMP is enabled.
Important:
This will result in restarting the SNMP agent when the
no
keyword is omitted. SNMP queries as well
as notifications/traps will be blocked until the agent has restarted.
Example
snmp server port 100
no snmp server