Snmp-Server Host - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Network Management Protocol (SNMP) Commands
78-20269-01 Command Line Interface Reference Guide
User Guidelines
This command can be entered multiple times for the same filter record. If an object
identifier is included in two or more lines, later lines take precedence. The
command's logical key is the pair (filter-name, oid-tree).
Example
The following example creates a filter that includes all objects in the MIB-II system
group except for sysServices (System 7) and all objects for interface 1 in the
MIB-II interfaces group.
Console(config)#
snmp-server filter
Console(config)#
snmp-server filter
Console(config)#
snmp-server filter
10.7

snmp-server host

Use the snmp-server host Global Configuration mode command to specify the
recipient of a Simple Network Management Protocol notification operation. Use
the no form of this command to remove the specified host.
Syntax
{ipv4-address | ipv6-address| hostname} [traps | informs] [version
snmp-server host
{1 | 2c | 3 [auth | noauth | priv]}] community-string [udp-port port] [filter filtername]
[timeout seconds] [retries retries]
no snmp-server host
[version {1 | 2c | 3}]
Parameters
pv4-address—IPv4 address of the host (the targeted recipient).
ipv6-address—Pv6 address of the host (the targeted recipient). When the
IPv6 address is a Link Local address (IPv6Z address), the outgoing interface
name must be specified. Refer to the User Guidelines for the interface name
syntax.
hostname—Hostname of the host. (Range: 1–158 characters. Maximum
label size: 63)
trap—Sends SNMP traps to this host (default).
f1 system
f2 system.7
f3 ifEntry.*.1
{ipv4-address | ipv6-address| hostname} [traps | informs]
included
excluded
included
10
154

Advertisement

Table of Contents
loading

Table of Contents