snmp-server engineID
Configure the name for both the local and remote SNMP engines on the router.
C-Series, E-Series, S-Series, Z-Series
Syntax
snmp-server engineID [local engineID] [remote ip-address udp-
port port-number engineID]
To return to the default, use the no snmp-server engineID [local engineID]
[remote
ip-address udp-port port-number engineID] command.
Parameters
local
engineID
Enter the keyword local followed by the engine ID number that
identifies the copy of the SNMP on the local device.
Format (as specified in RFC 3411): 12 octets.
• The first four octets are set to the private enterprise number.
• The remaining eight octets are the MAC address of the
chassis.
remote
ip-
address
Enter the keyword remote followed by the IP address that identifies
the copy of the SNMP on the remote device.
udp-port
port-
number engineID
Enter the keywords udp-port followed by the user datagram
protocol (UDP) port number on the remote device. The range is 0 to
65535. The default is
162.
Defaults As above.
Command Modes CONFIGURATION
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
E-Series legacy
command
Usage
Information
Changing the value of the SNMP Engine ID has important side effects. A user's password
(entered on the command line) is converted to an message digest algorithm (MD5) or secure
hash algorithm (SHA) security digest. This digest is based on both the password and the local
Engine ID. The command line password is then destroyed, as required by RFC 2274. Because of
this deletion, if the local value of the Engine ID changes, the security digests of SNMPv3 users
will be invalid and the users will have to be reconfigured.
For the remote Engine ID, the host IP and UDP port are the indexes to the command that are
matched to either overwrite or remove the configuration.
Related
Commands
show snmp engineID – displays the SNMP engine and all the remote engines that are
configured on the router.
1369