beautypg.com

3 rmon enable, 4 show snmp – PLANET XGS3-24040 User Manual

Page 69

background image

XGS3 Command Guide

1-69

Usage Guide:

When user encounters problems in applying SNMP, the SNMP debugging is available to locate the problem causes.

Example:

Switch#debug snmp kernel

1.4.3 rmon enable

Command:

rmon enable

no rmon enable

Function:

Enable RMON; the “no rmon enable” command disables RMON.

Command mode:

Global Mode

Default:

RMON is disabled by default.

Example:

Enable RMON.

Switch(config)#rmon enable

Disable RMON.

Switch(config)#no rmon enable

1.4.4 show snmp

Command:

show snmp

Function:

Display all SNMP counter information.

Command mode:

Admin and Configuration Mode.

Example:

Switch#show snmp

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