beautypg.com

Show snmp – LevelOne GTL-2691 User Manual

Page 831

background image

C

HAPTER

25

| SNMP Commands

General SNMP Commands

– 831 –

E

XAMPLE

Console(config)#snmp-server location WC-19

Console(config)#

R

ELATED

C

OMMANDS

snmp-server contact (830)

show snmp

This command can be used to check the status of SNMP communications.

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Normal Exec, Privileged Exec

C

OMMAND

U

SAGE

This command provides information on the community access strings,

counter information for SNMP input and output protocol data units, and

whether or not SNMP logging has been enabled with the snmp-server

enable traps command.

E

XAMPLE

Console#show snmp

SNMP Agent : Enabled

SNMP Traps :

Authentication : Enabled

Link-up-down : Enabled

SNMP Communities :

1. public, and the access level is read-only

2. private, and the access level is read/write

0 SNMP packets input

0 Bad SNMP version errors

0 Unknown community name

0 Illegal operation for community name supplied

0 Encoding errors

0 Number of requested variables

0 Number of altered variables

0 Get-request PDUs

0 Get-next PDUs

0 Set-request PDUs

0 SNMP packets output

0 Too big errors

0 No such name errors

0 Bad values errors

0 General errors

0 Response PDUs

0 Trap PDUs

SNMP Logging: Disabled

Console#