permit (ip-snmp acl)

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

Supported on the following devices:

Syntax

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

Parameters

permit [<IP/M>|any|host <IP>]
permit [<IP/M>|any|host <IP>] Configures the match criteria for this permit 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 forwarded.
  • any – Specifies the match criteria as any. Packets received from or destined for any address are forwarded.
  • host <IP> – Identifies a host by its IP address. Packets received from or destined for this host are forwarded.

Examples

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

Related Commands

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