Cisco Cisco Packet Data Interworking Function (PDIF) Prospecto
Global Configuration Mode Commands (L-S)
▀ snmp server
▄ Cisco ASR 5x00 Command Line Interface Reference
5252
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