14 snmp-server view – CANOGA PERKINS 9175 Command Reference User Manual
Page 765
![background image](/manuals/651401/765/background.png)
CanogaOS Command Reference
44-10
Command Mode
Global configuration
Usage
Examples
The following is sample output from the snmp-server version command:
Switch(config)# snmp-server version all
Related Commands
show snmp-server version
44.14 snmp-server view
To create or update a view entry, use the snmp-server view command in global configuration mode. To
remove the specified Simple Network Management Protocol (SNMP) server view entry, use the no form
of this command.
Command Syntax
snmp-server view view-name {included | excluded} sub-tree
no snmp-server view view-name {included | excluded} sub-tree
view-name
Label for the view record that you are updating or creating. The name is used to
reference the record.
included
Configures the OID (and subtree OIDs) specified in sub-tree argument to be
included in the SNMP view.
excluded
Configures the OID (and subtree OIDs) specified in sub-tree argument to be
explicitly excluded from the SNMP view.
sub-tree
Object identifier of the ASN.1 subtree to be included or excluded from the view.
Default
No view entry exists.
Command Mode
Global configuration
Usage
Other SNMP commands require an SMP view as an argument. You use this command to create a view
to be used as arguments for other commands.
Examples
The following is sample output from the snmp-server view command:
Switch(config)# snmp-server view abc excluded 1.3.6.2