deny (ip-snmp acl)

Creates a deny SNMP MIB object traffic rule. Use this command to specify the match criteria based on which SNMP traffic is denied

Supported on the following devices:

Syntax

deny [<IP/M>|any|host <IP>]

Parameters

deny [<IP/M>|any|host <IP>]
deny [<IP/M>|any|host <IP>] Configures the match criteria for this deny rule
  • <IP/M> – Specifies a network address and mask in the A.B.C.D/M format. Packets received from or destined for this network are dropped.
  • any – Specifies the match criteria as any. Packets received from or destined for any address are dropped.
  • host <IP> – Identifies a host by its IP address. Packets received from or destined for this host are dropped.

Examples

nx9500-6C8809(config-ip-snmp-acl-test)#deny 192.168.13.0/24
nx9500-6C8809(config-ip-snmp-acl-test)#show context
ip snmp-access-list test
 deny 192.168.13.0/24
nx9500-6C8809(config-ip-snmp-acl-test)#

Related Commands

no (ip-snmp acl) Removes this deny rule form the IP SNMP ACL