Snmp-server view – Allied Telesis AT-S83 User Manual
Page 170

Chapter 8: Simple Network Management Protocol (SNMP) Commands
170
SNMP-SERVER VIEW
Syntax
snmp-server view VIEWNAME WORD include|exclude
no snmp-server view
Parameters
VIEWNAME
Specifies the name of the user.
WORD
Specifies the MIB Tree.
include
Includes users in this view.
exclude
Excludes users from this view.
Description
Use the SNMP-SERVER VIEW command to create an SNMP view and
determine if a user can access it. The MIB tree is defined by RFC 1155
Structure of Management Information. After you create a view, you can
map an SNMP group to it with the SNMP-SERVER GROUP command.
Use the no form of this command to remove an SNMP view.
Command Mode
Configuration Terminal Mode
Examples
The following command creates a view called “Internet” and allows the
users that are mapped to this OID to view the Internet:
switch#snmp-server view Internet 1.3.6.1 include
The following command creates a view called “sweng4” and excludes
users that are mapped to this OID from viewing its contents:
switch#snmp-server view sweng4 1.3.6.1.4.1 exclude
Related Commands