76
<user-string>
no snmp-server host
{<ipv4-addr>|<ipv6-addr>} {v1|v2c|{v3
{NoauthNopriv|AuthNopriv |AuthPriv}}}
<user-string>
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 Command 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
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