Connectivity Guide
snmp-server engineID
Congures the local and remote SNMP engine IDs.
Syntax
snmp-server engineID [local engineID] [remote ip-address {[udp-port port-
number] remote-engineID}]
Parameters
• local engineID — Enter the engine ID that identies the local SNMP agent on the switch as an octet
colon-separated number. A maximum of 27 characters.
• remote ip-address — Enter the IPv4 or IPv6 address of a remote SNMP device that accesses the local
SNMP agent.
•
udp-port port-number — Enter the UDP port number on the remote device, from 0 to 65535.
• remote-engineID — Enter the engine ID that identies the SNMP agent on a remote device, 0x followed
by a hexadecimal string).
Defaults The local engine ID is generated using the MAC address of the management Ethernet interface.
Command Mode CONFIGURATION
Usage Information
The local engine ID is used to generate the localized keys for the authentication and privilege passwords. These
passwords authenticate SNMP users and encrypt SNMP messages. If you recongure the local Engine ID, the
localized keys also change. The existing values are no longer valid and a warning message is displayed. As a result,
you must recongure SNMP users with new localized password keys.
In addition, if you change the congured engine ID for a remote device, you must recongure the authentication
and privacy passwords for the remote user.
To display the current local engine ID, use the show snmp engineID local command. The no version of this
command resets the default engine ID values.
Example
OS10(config)# snmp-server engineID local 80:00:02:b8:04:61:62:63
OS10(config)# snmp-server engineID local 80:00:02:b8:04:61:62:63
% Warning: Localized passwords need to be regenerated for local user.
OS10(config)# snmp-server engineID remote 1.1.1.1 0xaaffcc
OS10(config)# snmp-server engineID remote 1.1.1.2 udp-port 432 0xabeecc
Supported Releases 10.4.2.0 or later
snmp-server group
Congures the views allowed for the users in an SNMP group.
Syntax
snmp-server group group-name {v1 | v2c | v3 security-level} [access acl-name]
[read view-name] [write view-name] [notify view-name]
Parameters
• group-name — Enter the name of the group. A maximum of 32 alphanumeric characters.
• v1 — SNMPv1 provides no user authentication or privacy protection. SNMP messages are sent in plain text.
• v2c — SNMPv2c provides no user authentication or privacy protection. SNMP messages are sent in plain
text.
112 System management