
70
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the
display snmp-agent local-engineid
command to display the local SNMP engine ID.
The local SNMP engine ID uniquely identifies the SNMP engine of the SNMP agent in an SNMP domain.
Every SNMP agent has one SNMP engine to provide services for sending and receiving messages,
authenticating and encrypting messages, and controlling access to managed objects.
Examples
# Display the local SNMP engine ID.
<Sysname> display snmp-agent local-engineid
SNMP local EngineID: 800007DB7F0000013859
display snmp-agent mib-view
Syntax
display snmp-agent mib-view
[
exclude
|
include
|
viewname
view-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
exclude
: Displays the subtrees excluded from any MIB view.
include
: Displays the subtrees included in any MIB view.
viewname
view-name
: Displays information about the specified MIB view.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the
display snmp-agent mib-view
command to display MIB view information.
If you do not specify any option, the command displays all MIB views.
Examples
# Display all SNMP MIB views of the device.
<Sysname> display snmp-agent mib-view
View name:ViewDefault