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 in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

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