
344
SNMP Commands
Syntax
•
snmp-server filter
filter-name oid-tree
{
included | excluded
}
•
no snmp-server filter
filter-name
[
oid-tree
]
•
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 sub identifier with the asterisk (*) wildcard to specify a
subtree family; for example, 1.3.*.4. You may also identify the subtree by specifying its logical
name; for example, "IfEntry.*.1".
•
included
— Indicates that the filter type is included.
•
excluded
— Indicates that the filter type is excluded.
Default Configuration
No filter entry exists.
Command Mode
Global Configuration mode.
User Guidelines
This command can be entered multiple times for the same filter record. Later lines take precedence
when an object identifier is included in two or more lines.
Examples
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.
snmp-server host
The
snmp-server host
Global Configuration mode command specifies the recipient of Simple Network
Management Protocol Version 1 or Version 2 notifications. Use the
no
form of this command to remove
the specified host.
Console(config)#
snmp-server filter
filter-name system
included
Console(config)#
snmp-server filter
filter-name system.7
excluded
Console(config)#
snmp-server filter
filter-name ifEntry.*.1
included
book.book Page 344 Thursday, December 18, 2008 7:40 PM
Содержание PowerConnect 3500 Series
Страница 62: ...62 Command Groups book book Page 62 Thursday December 18 2008 7 40 PM ...
Страница 80: ...80 Command Modes book book Page 80 Thursday December 18 2008 7 40 PM ...
Страница 124: ...124 Address Table Commands book book Page 124 Thursday December 18 2008 7 40 PM ...
Страница 162: ...162 DHCP Snooping book book Page 162 Thursday December 18 2008 7 40 PM ...
Страница 244: ...244 Line Commands book book Page 244 Thursday December 18 2008 7 40 PM ...
Страница 266: ...266 LLDP Commands book book Page 266 Thursday December 18 2008 7 40 PM ...
Страница 276: ...276 Login Banner book book Page 276 Thursday December 18 2008 7 40 PM ...
Страница 280: ...280 PHY Diagnostics Commands book book Page 280 Thursday December 18 2008 7 40 PM ...
Страница 290: ...290 Power over Ethernet Commands book book Page 290 Thursday December 18 2008 7 40 PM ...
Страница 294: ...294 Port Channel Commands book book Page 294 Thursday December 18 2008 7 40 PM ...
Страница 298: ...298 Port Monitor Commands book book Page 298 Thursday December 18 2008 7 40 PM ...
Страница 310: ...310 QoS Commands book book Page 310 Thursday December 18 2008 7 40 PM ...
Страница 318: ...318 RADIUS Commands book book Page 318 Thursday December 18 2008 7 40 PM ...
Страница 414: ...414 Syslog Commands book book Page 414 Thursday December 18 2008 7 40 PM ...
Страница 440: ...440 TACACS Commands book book Page 440 Thursday December 18 2008 7 40 PM ...
Страница 452: ...452 TIC Commands book book Page 452 Thursday December 18 2008 7 40 PM ...
Страница 460: ...460 Tunnel book book Page 460 Thursday December 18 2008 7 40 PM ...
Страница 492: ...492 VLAN Commands book book Page 492 Thursday December 18 2008 7 40 PM ...
Страница 500: ...500 Voice VLAN book book Page 500 Thursday December 18 2008 7 40 PM ...
Страница 514: ...514 Web Server book book Page 514 Thursday December 18 2008 7 40 PM ...