SNMP Commands
snmp-server filter
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 341
26

An SNMP EngineID has to be defined to add SNMP users to the device. Changing
or removing the SNMP EngineID value deletes SNMPv3 users from the device’s
database.
The remote engineid designates the remote management station and should be
defined to enable the device to receive informs.
Example
The following example configures an SNMPv3 user named ‘John’ in a group called
‘user-group’.
Console(config)# snmp-server user John user-group
snmp-server filter
The snmp-server filter Global Configuration mode command creates or updates a
Simple Network Management Protocol (SNMP) server filter entry. Use the no form
of this command to remove the specified SNMP server filter entry.
Syntax
snmp-server filter

filter-name oid-tree

{included | excluded}
no snmp-server filter

filter-name

[

oid-tree

]
Parameters

filter-name

— Specifies the label for the filter record that is being updated
or created. The name is used to reference the record. (Range: 1-30
characters)

oid-tree

— Specifies the object identifier of the ASN.1 subtree to be
included or excluded from the view. To identify the subtree, specify a text
string consisting of numbers, such as 1.3.6.2.4, or a word, such as system.
Replace a single subidentifier with the asterisk (*) wildcard to specify a
subtree family; for example, 1.3.*.4.
included — Indicates that the filter type is included.
excluded — Indicates that the filter type is excluded.