Specifications

Using SNMP
ExtremeWare XOS 10.1 Concepts Guide 47
When you create a filter profile, you are only associating a filter profile name with a target parameter
name. The filters that make up the profile are created and associated with the profile using a different
command. To create a filter profile, use the following command:
configure snmpv3 add filter-profile {hex} <profile name> param {hex} <param name>
{volatile}
Once the profile name is created, you can associate filters with it using the following command:
configure snmpv3 add filter {hex} <profile name> subtree <object identifier>
{/<subtree mask>} type [included | excluded] {volatile}
The MIB subtree and mask are discussed in the section MIB Access Control, as filters are closely
related to MIB views. You can add filters together, including and excluding different subtrees of the MIB
until your filter meets your needs.
To display the association between parameter names and filter profiles, use the following command:
show snmpv3 filter-profile {{hex} <profile name>} {param {hex} <param name>}
To display the filters that belong a filter profile, use the following command:
show snmpv3 filter {{hex} <profile name> {{subtree} <object identifier>}
To delete a filter or all filters from a filter profile, use the following command:
configure snmpv3 delete filter [all | [{hex} <profile name> {subtree <object
identifier>}]]
To remove the association of a filter profile or all filter profiles with a parameter name, use the
following command:
configure snmpv3 delete filter-profile [all |[{hex}<profile name> {param {hex}<param
name>}]]
Notification Tags
When you create a target address, you associate a list of notification tags with the target, or by default,
the defaultNotify tag is associated with the target. When notifications are generated, only targets
associated with tags currently in an internal structure, called snmpNotifyTable, will be notified. To add an
entry to the table, use the following command:
configure snmpv3 add notify {hex} <notify name> tag {hex} <tag> {volatile}
Any targets associated with tags in the snmpNotifyTable will be notified, based on the filter profile
associated with the target.
To display the notifications that are set, use the following command:
show snmpv3 notify {{hex} <notify name>}
To delete an entry from the snmpNotifyTable, use the following command:
configure snmpv3 delete notify [{{hex} <notify name>} | all-non-defaults]
You cannot delete the default entry from the table, so any targets configured with the defaultNotify tag
will always receive notifications consistent with any filter profile specified.