Creating Snmp Communities; Filtering Snmp Requests; Configuring Snmp Notification Receivers - Cisco Nexus 3548 Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Creating SNMP Communities

Creating SNMP Communities
You can create SNMP communities for SNMPv1 or SNMPv2c.
Command
switch(config)# snmp-server community name
group {ro | rw}

Filtering SNMP Requests

You can assign an access list (ACL) to a community to filter incoming SNMP requests. If the assigned ACL
allows the incoming request packet, SNMP processes the request. If the ACL denies the request, SNMP drops
the request and sends a system message.
Create the ACL with the following parameters:
• Source IP address
• Destination IP address
• Source port
• Destination port
• Protocol (UDP or TCP)
The ACL applies to both IPv4 and IPv6 over UDP and TCP. After creating the ACL, assign the ACL to the
SNMP community.
For more information about creating ACLs, see the NX-OS security configuration guide for the Cisco
Tip
Nexus Series software that you are using.
Use the following command in global configuration mode to assign an IPv4 or IPv6 ACL to an SNMPv3
community to filter SNMP requests:
Command
switch(config)# snmp-server community name
[use-ipv4acl ipv4acl-name] [use-ipv6acl
ipv6acl-name]
switch(config)# snmp-server community public
use-ipv4acl myacl

Configuring SNMP Notification Receivers

You can configure Cisco NX-OS to generate SNMP notifications to multiple host receivers.
You can configure a host receiver for SNMPv1 traps in a global configuration mode.
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
124
Purpose
Creates an SNMP community string.
Purpose
Assigns an IPv4 or IPv6 ACL to an SNMPv3
community to filter SNMP requests.
Configuring SNMP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents