Snmp-server view – Allied Telesis AT-S100 User Manual
Page 241
AT-S100 Management Software User’s Guide
Section II: Advanced Configuration
241
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. You use object identifiers (OIDs) to
specify MIB modules that are included or excluded in a view. 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 commands create a view called “Internet” and allows the
users that are mapped to this Object Identifier (OID) to view the Internet:
switch#configure terminal
switch(config)#snmp-server view Internet 1.3.6.1
include
The following commands create a view called “sweng4” and excludes
users that are mapped to this OID from viewing its contents:
switch#configure terminal
switch(config)#snmp-server view sweng4 1.3.6.1.4.1
exclude