# snmp-server view

#### Syntax

snmp-server view viewName oidTree [ viewType ] [ storageType ]

no snmp-server view viewName oid-tree

#### Release Information

Command introduced in JunosE Release 7.1.0.

#### Description

Dynamically configures an SNMP server view. The no version removes the dynamically created view.

| Note: You must access the CLI at privilege level 15 to view or use this command.

#### Options

- viewName—SNMP dynamic view name
- oidTree—Name of the object identifier (OID) tree
- viewType—OID type
  - included—OID is included
  - excluded—OID is excluded
- storageType—Storage type
  - volatile—Loses contents on warm or cold start
  - nonvolatile—Preserves contents across warm or cold start. This is the default.

#### Mode

Global Configuration