SNMP Commands
4-97
4
Related Commands
snmp-server host (4-93)
show snmp engine-id
This command shows the SNMP engine ID.
Command Mode
Privileged Exec
Example
This example shows the default engine ID.
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
snmp-server view
view-name oid-tree
{
included
|
excluded
}
no snmp-server view
view-name
• view-name -
Name of an SNMP view. (Range: 1-64 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.
Default Setting
defaultview (includes access to the entire MIB tree)
Command Mode
Global Configuration
Console#show snmp engine-id
Local SNMP engineID: 8000002a8000000000e8666672
Local SNMP engineBoots: 1
Remote SNMP engineID IP address
80000000030004e2b316c54321 192.168.1.19
Console#
Table 4-22 show snmp engine-id
- display description
Field
Description
Local SNMP engineID
String identifying the engine ID.
Local SNMP engineBoots The number of times that the engine has (re-)initialized since the snmp EngineID
was last configured.
Remote SNMP engineID
String identifying an engine ID on a remote device.
IP address
IP address of the device containing the corresponding remote SNMP engine.
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......