SNMP Commands

Command Mode

Global Configuration mode

User Guidelines

When configuring an SNMPv1 or SNMPv2 notification recipient, a notification view for that recipient is automatically generated for all the MIB.

When configuring an SNMPv1 notification recipient, the Inform option cannot be selected.

If a trap and inform are defined on the same target, and an inform was sent, the trap is not sent.

Example

The following example enables SNMP traps for host 10.1.1.1 with community string "management" using SNMPv2.

Console(config)# snmp-server host 10.1.1.1 management 2

snmp-server v3-host

The snmp-serverv3-hostGlobal Configuration mode command specifies the recipient of Simple Network Management Protocol Version 3 notifications. To remove the specified host, use the no form of this command.

Syntax

snmp-server v3-host {ip-address hostname} username [traps informs] {noauth auth priv} [udp-port port] [filter filtername] [timeout seconds] [retries retries]

no snmp-server host {ip-address hostname} username [traps informs]

Parameters

ip-address— Specifies the IP address of the host (targeted recipient).

hostname — Specifies the name of the host. (Range:1-158 characters)

username — Specifies the name of the user to use to generate the notification. (Range: 1-24)

traps — Indicates that SNMP traps are sent to this host.

informs — Indicates that SNMP informs are sent to this host.

noauth — Indicates no authentication of a packet.

Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

247

Page 263
Image 263
Intel SBCEGBESW10 CLI manual Snmp-server v3-host