Chapter 21: SNMP Commands
– 734 –
•
Before you configure a remote user, use the
command to specify the engine ID for the remote device where the
user resides. Then use the
snmp-server user
command to specify the
user and the IP address for the remote device where the user resides.
The remote agent’s SNMP engine ID is used to compute authentication/
privacy digests from the user’s password. If the remote engine ID is not
first configured, the
snmp-server user
command specifying a remote
user will fail.
•
SNMP passwords are localized using the engine ID of the authoritative
agent. For informs, the authoritative SNMP agent is the remote agent.
You therefore need to configure the remote agent’s SNMP engine ID
before you can send proxy requests or informs to it.
E
XAMPLE
Console(config)#snmp-server user steve group r&d v3 auth md5 greenpeace priv
des56 einstien
Console(config)#snmp-server user mark group r&d remote 192.168.1.19 v3 auth
md5 greenpeace priv des56 einstien
Console(config)#
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.
S
YNTAX
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.
D
EFAULT
S
ETTING
defaultview (includes access to the entire MIB tree)
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
•
Views are used in the
command to restrict user
access to specified portions of the MIB tree.
•
The predefined view “defaultview” includes access to the entire MIB
tree.
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...