3 commands for snmp, 1 rmon, 2 show snmp – Accton Technology ES4626 User Manual
Page 74

74
snmp-server enable traps
no snmp-server enable traps
Enable the switch to send Trap message.
This command is used for SNMP v1/v2/v3.
Command: snmp-server host
{
{v1|v2c|{v3
{NoauthNopriv|AuthNopriv|AuthPriv}}}
no snmp-server host
{
{NoauthNopriv|AuthNopriv |AuthPriv}}}
Set the host IPv4/IPv6 address which is
used to receive SNMP Trap information.
For SNMP v1/v2, this command also
configures Trap community string; for
SNMP v3, this command also configures
Trap user name and security level.
9.
Enable/Disable RMON
Command
Explanation
rmon enable
no rmon enable
Enable/disable RMON.
2.4.3 Commands for SNMP
2.4.3.1 rmon
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 1:
Enable RMON
Switch(config)#rmon enable
Example 2:
Disable RMON
Switch(config)#no rmon enable
2.4.3.2 show snmp
Command: show snmp
Function:
Display all SNMP counter information.
Command mode:
Admin Mode
Example:
Switch#show snmp
0 SNMP packets input