Reference Guide

SNMP and Syslog | 1363
Related
Commands
snmp-server group
c e s
Configure a new SNMP group or a table that maps SNMP users to SNMP views.
Syntax
snmp-server group [group_name {1 | 2c | 3 {auth | noauth | priv}}] [read name] [write
name] [notify name] [access-list-name | ipv6 access-list-name | access-list-name ipv6
access-list-name]]
To remove a specified group, use the no snmp-server group [group_name {v1 | v2c | v3 {auth
| noauth | priv}}] [read name] [write name] [notify name] [access-list-name | ipv6
access-list-name | access-list-name ipv6 access-list-name]] command.
Parameters
show snmp engineID
Display SNMP engine and all remote engines that are configured on the
router
show running-config snmp Display the SNMP running configuration
group_name
Enter a text string (up to 20 characters long) as the name of the group.
Defaults: The following groups are created for mapping to read/write
community/security-names.
v1v2creadg — maps to a community/security-name with
ro
permissions
1v2cwritegmaps to a community/security-name rw
permissions
1 | 2c | 3
(OPTIONAL) Enter the security model version number (1, 2c, or 3).
1 is the least secure version
3 is the most secure of the security modes.
2c allows transmission of informs and counter 64, which allows for
integers twice the width of what is normally allowed.
Default: 1
auth (OPTIONAL) Enter the keyword auth to specify authentication of a packet
without encryption.
noauth (OPTIONAL) Enter the keyword noauth to specify no authentication of a
packet.
priv (OPTIONAL) Enter the keyword priv to specify both authentication and
then scrambling of the packet.
read name
(OPTIONAL) Enter the keyword read followed by a name (a string of up
to 20 characters long) as the read view name.
Default: GlobalView is set by default and is assumed to be every object
belonging to the Internet (1.3.6.1) OID space.
write name
(OPTIONAL) Enter the keyword write followed by a name (a string of up
to 20 characters long) as the write view name.
notify name
(OPTIONAL) Enter the keyword notify followed by a name (a string of up
to 20 characters long) as the notify view name.
access-list-name
(Optional) Enter the standard IPv4 access list name (a string up to 16
characters long).
ipv6 access-list-name (Optional) Enter the keyword ipv6 followed by the IPv6 access list name (a
string up to 16 characters long)
access-list-name ipv6
access-list-name
(Optional) Enter both an IPv4 and IPv6 access list name.