User Guidelines
•
The command logical key is the pair (ip-address/hostname, traps/informs).
•
A user and notification view are not automatically created. Use the snmp-server user, snmp-server
group and snmp-server view Global Configuration mode commands to generate a user, group and
notify group, respectively.
•
The IPv6Z address format: <ipv6-link-local-address>%<interface-name>
–
interface-name — vlan<integer> | ch<integer> | isatap<integer> | <physical-port-name> | 0
–
integer — <decimal-number> | <integer><decimal-number>
–
decimal-number — 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
–
physical-port-name — Designated port number, for example g1.
If the egress interface is not specified, the default interface is selected. Specifying interface zone=0 is
the same as not defining an egress interface.
Example
The following example configures an SNMPv3 host.
Console(config)# snmp-server v3-host 192.168.0.20 john noauth
snmp-server engineID local
The snmp-server engineID
Management Protocol (SNMP) engineID on the local device. Use the no form of this command to
remove the configured engine ID.
Syntax
•
snmp-server engineID local {engineid-string | default}
•
no snmp-server engineID local
•
engineid-string — Specifies a character string that identifies the engine ID. (Range: 5 - 32
characters)
•
default — The engine ID is created automatically based on the device MAC address.
local
Global Configuration mode command specifies the Simple Network
339
SNMP Commands