Administrator Guide
The community-name parameter indexes this command.
If you do not configure the snmp-server community command, you cannot query SNMP data. Only
Standard IPv4 ACL and IPv6 ACL is supported in the optional access-list-name.
The command options ipv6, security-name, and access-list-name are recursive. In other words,
each option can, in turn, accept any of the three options as a sub-option, and each of those sub-options
can accept any of the three sub-options as a sub-option, and so forth. The second Example shows the
creation of a standard IPv4 ACL called snmp-ro-acl and then assigning it to the SNMP community guest.
NOTE: For IPv6 ACLs, only IPv6 and UDP types are valid for SNMP; TCP and ICMP rules are not
valid for SNMP. In IPv6 ACLs, port rules are not valid for SNMP.
Example
Dell#config
Dell(conf)# snmp-server community public ro
Dell(conf)# snmp-server community public ro security-name guestuser
Dell(conf)#
Example
Dell(conf)# ip access-list standard snmp-ro-acl
Dell(config-std-nacl)#seq 5 permit host 10.10.10.224
Dell(config-std-nacl)#seq 10 deny any count
!
Dell(conf)#snmp-server community guest ro snmp-ro-acl
Dell(conf)#
Related
Commands
ip access-list standard — names (or selects) a standard access list to filter based on IP address.
ipv6 access-list — configures an access list based on IPv6 addresses or protocols.
show running-config — displays the current SNMP configuration and defaults.
snmp-server enable traps
Enable SNMP traps.
C9000 Series
Syntax
snmp-server enable traps [notification-type] [notification-option]
To disable traps, use the no snmp-server enable traps [notification-type]
[notification-option] command.
Parameters
notification-type
Enter the type of notification from the following list:
● bgp — Enable notification of changes in the BGP process.
● config — Enable notification of changes to startup or running configuration.
● dot1br— Enable notification of changes to DOT1BR.
● ecfm — Enable notification of changes to ECFM.
● ecmp — Enable notification of traffic imbalance in ECMP or a link bundle.
● entity —Enable notification of Entity Management Information Base (MIB)
changes.
● envmon — Enable notification when an environmental threshold is exceeded.
● ets — Enable notification of ETS changes.
● fips — Enable notification of a FIP Snooping state changes.
● hg-lbm — Enable notification of hiGig link-bundle state changes.
● isis — Enable notification of IS-IS adjacency state changes.
● pfc — Enable notification of changes to PFC.
● lacp — Enable notification of LACP state changes.
1620 Simple Network Management Protocol (SNMP) and Syslog