configure snmpv3 delete mib-view

configure snmpv3 delete mib-view [all-non-defaults | {[[hex hex_view_name] | view_name] {subtree object_identifier}}]

Description

Deletes a MIB view.

Syntax Description

all-non-defaults Specifies that all non-default (non-permanent) MIB views are to be deleted.
hex_view_name Specifies the MIB view to delete. The value is to be supplied as a colon separated string of hex octets.
view_name Specifies the MIB view name to delete in ASCII format.
object_identifier Specifies a MIB subtree.

Default

N/A.

Usage Guidelines

Use this command to delete a MIB view. Views which are being used by security groups cannot be deleted. Use the all-non-defaults keyword to delete all the MIB views (not being used by security groups) except for the default views. The default views are: defaultUserView, defaultAdminView, and defaultNotifyView.

Use the configure snmpv3 add mib-view command to remove a MIB view from its security group, by specifying a different view.

Example

The following command deletes all views (only the permanent views will not be deleted):

configure snmpv3 delete mib-view all-non-defaults

The following command deletes all subtrees with the view name AdminView:

configure snmpv3 delete mib-view AdminView

The following command deletes the view AdminView with subtree 1.3.6.1.2.1.2

configure snmpv3 delete  mib-view AdminView subtree 1.3.6.1.2.1.2

History

This command was first available in ExtremeXOS 10.1.

The hex_view_name parameter was added in ExtremeXOS 11.0.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5420, and 5520 series switches.