Show snmp engine-id, Show snmp engine- id – Microsens MS453490M Management Guide User Manual

Page 567

Advertising
background image

C

HAPTER

22

| SNMP Commands

– 567 –

C

OMMAND

U

SAGE

Views are used in the

snmp-server group

command to restrict user

access to specified portions of the MIB tree.

The predefined view “defaultview” includes access to the entire MIB

tree.

E

XAMPLES

This view includes MIB-2.

Console(config)#snmp-server view mib-2 1.3.6.1.2.1 included

Console(config)#

This view includes the MIB-2 interfaces table, ifDescr. The wild card is used

to select all the index values in this table.

Console(config)#snmp-server view ifEntry.2 1.3.6.1.2.1.2.2.1.*.2 included

Console(config)#

This view includes the MIB-2 interfaces table, and the mask selects all

index entries.

Console(config)#snmp-server view ifEntry.a 1.3.6.1.2.1.2.2.1.1.* included

Console(config)#

show snmp engine-

id

This command shows the SNMP engine ID.

C

OMMAND

M

ODE

Privileged Exec

E

XAMPLE

This example shows the default engine ID.

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 54: 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.

Advertising