Snmp-server host – Dell PowerEdge VRTX User Manual

Page 187

Advertising
background image

SNMP Commands

187

FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Plasma-ARC

2+3\new_system_mifs_ARC2_latest\SNMP.fm

D E LL CO N F I D E N T IA L – P R E L I M I N A RY 4 / 3 / 14 - F O R PR O O F O N LY

Example

The following example displays the configured SNMP filters.

snmp-server host

Use the snmp-server host Global Configuration mode command to configure

the host for SNMP notifications: (traps/informs). Use the no form of this

command to remove the specified host.

Syntax

snmp-server host

{host-ip | hostname} [traps | informs] [version {1 | 2c | 3

[auth | noauth | priv]}] community-string [udp-port port] [filter

filtername] [timeout seconds] [retries retries]

no snmp-server host

{ip-address | hostname} [traps | informs] [version {1 |

2c | 3}]

Parameters

host-ip—IP address of the host (the targeted recipient). The default is all

IP addresses. This can be an IPv4 address, IPv6 or IPv6z address. See

IPv6

Address Conventions

.

hostname—Hostname of the host (the targeted recipient). (Range: 1–158

characters. Maximum label size of each part of the host name: 63)

trap—Sends SNMP traps to this host (default).

informs—Sends SNMP informs to this host. An inform is a trap that

requires acknowledgement. Not applicable to SNMPv1.

version

1—SNMPv1 traps are used.

version

2c—SNMPv2 traps or informs are used

console# show snmp filters user-filter

Name

OID Tree

Type

------------

user-filter

user-filter

user-filter

---------------------

1.3.6.1.2.1.1

1.3.6.1.2.1.1.7

1.3.6.1.2.1.2.2.1.*.1

---------

Included

Excluded

Included

Advertising