Snmp-Server View - Edge-Core ECS4120-28F Reference Manual

28/52-port layer 2+ gigabit ethernet switch
Hide thumbs Also See for ECS4120-28F:
Table of Contents

Advertisement

Example

snmp-server view

This command adds an SNMP view which controls user access to the MIB. Use the
no form to remove an SNMP view.
Syntax
Default Setting
defaultview (includes access to the entire MIB tree)
Command Mode
Global Configuration
Command Usage
Examples
This view includes MIB-2.
This view includes the MIB-2 interfaces table, ifDescr. The wild card is used to select
all the index values in this table.
need to configure the remote agent's SNMP engine ID before you can send
proxy requests or informs to it.
Console(config)#snmp-server user steve r&d v3 auth md5 greenpeace priv des56
einstien
Console(config)#snmp-server engine-id remote 192.168.1.19 9876543210
Console(config)#snmp-server user mark r&d remote 192.168.1.19 v3 auth md5
greenpeace priv des56 einstien
Console(config)#
snmp-server view view-name oid-tree {included | excluded}
no snmp-server view view-name
view-name - Name of an SNMP view. (Range: 1-32 characters)
oid-tree - Object identifier of a branch within the MIB tree. Wild cards can be
used to mask a specific portion of the OID string. (Refer to the examples.)
included - Defines an included view.
excluded - Defines an excluded view.
Views are used in the
specified portions of the MIB tree.
The predefined view "defaultview" includes access to the entire MIB tree.
Console(config)#snmp-server view mib-2 1.3.6.1.2.1 included
Console(config)#
– 191 –
snmp-server group
command to restrict user access to
Chapter 5
| SNMP Commands
SNMPv3 Commands

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ecs4120-28f-iEcs4120-28tEcs4120-28pEcs4120-52t

Table of Contents