home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

service snmp view <viewname> oid <oid>

Specifies a subtree to appear in the view.

set service snmp view viewname oid oid [ mask | exclude ]
delete service snmp view viewname oid oid [ mask | exclude ]
show service snmp view viewname oid oid

Not applicable

viewname
A view.
oid

Multi-node. The Object Identifier (OID) of a subtree to be included in or excluded from the view.

mask
A bit-mask that identifies a single row in a MIB table to be included or excluded. The bitmask is specified as hexadecimal digits delimited with a period (.). For example, ff.a0.
exclude
Exclude the identified subtree.

Configuration mode

service {
    snmp {
        view viewname{
            oid oid {
                mask mask
                exclude
            }
        }
    }
}

Use this command to specify a subtree to appear in the view.

Use the set form of this command to specify a subtree to appear in the view.

Use the delete form of this command to remove a specified subtree from the view.

Use the show form of this command to view a subtree configuration.