Home > Configuration > Snmp > setsnmpview_type

setsnmpview_type

Use this method to set include or exclude the subtree, specified by the subtree parameter, in or from this view. This setting can be useful when you have included a subtree, such as A, in an SNMPv3 view and you want to exclude a specific subtree of A, such as B, from the SNMPv3 view.
This is mandatory parameter.

Syntax



Parameters

name

The name specified in the SNMPv3 view entry. This parameter cannot be modified.
This is mandatory parameter.

subtree

A MIB subtree of the SNMPv3 view entry. This parameter cannot be modified.
This is mandatory parameter.

type

Include or exclude the subtree, specified by the subtree parameter, in or from this view. This setting can be useful when you have included a subtree, such as A, in an SNMPv3 view and you want to exclude a specific subtree of A, such as B, from the SNMPv3 view.
This is mandatory parameter.
Possible Values : included, excluded.

Return Value

Returns simpleResult

See Also