Cisco Nexus 3548 Configuration Manual page 141

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

Advertisement

Configuring SNMP
Command
switch(config)# snmp-server host ip-address traps
version 1 community [udp_port number]
You can configure a host receiver for SNMPv2c traps or informs in a global configuration mode.
Command
switch(config)# snmp-server host ip-address {traps
| informs} version 2c community [udp_port number]
You can configure a host receiver for SNMPv3 traps or informs in a global configuration mode.
Command
switch(config)# snmp-server host ip-address {traps
| informs} version 3 {auth | noauth | priv} username
[udp_port number]
The SNMP manager must know the user credentials (authKey/PrivKey) based on the SNMP engineID of
Note
the Cisco Nexus device to authenticate and decrypt the SNMPv3 messages.
The following example shows how to configure a host receiver for an SNMPv1 trap:
switch(config)# snmp-server host 192.0.2.1 traps version 1 public
The following example shows how to configure a host receiver for an SNMPv2 inform:
switch(config)# snmp-server host 192.0.2.1 informs version 2c public
The following example shows how to configure a host receiver for an SNMPv3 inform:
switch(config)# snmp-server host 192.0.2.1 informs version 3 auth NMS
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
Configuring SNMP Notification Receivers
Purpose
Configures a host receiver for SNMPv1 traps. The
ip-address can be an IPv4 or IPv6 address. The
community can be any alphanumeric string up to 255
characters. The UDP port number range is from 0 to
65535.
Purpose
Configures a host receiver for SNMPv2c traps or
informs. The ip-address can be an IPv4 or IPv6
address. The community can be any alphanumeric
string up to 255 characters. The UDP port number
range is from 0 to 65535.
Purpose
Configures a host receiver for SNMPv2c traps or
informs. The ip-address can be an IPv4 or IPv6
address. The username can be any alphanumeric string
up to 255 characters. The UDP port number range is
from 0 to 65535.
125

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents