PLANET XGS3-24040 User Manual
Page 60

Chapter 4 Basic Switch Configuration
4-11
6. Configure group
Command
Explanation
Global Mode
snmp-server group <group-string>
{noauthnopriv|authnopriv|authpriv} [[read
<read-string>] [write <write-string>] [notify
<notify-string>]] [access
{<num-std>|<name>}] [ipv6-access
{<ipv6-num-std>|<ipv6-name>}]
no snmp-server group <group-string>
{noauthnopriv|authnopriv|authpriv}
[access {<num-std>|<name>}]
[ipv6-access
{<ipv6-num-std>|<ipv6-name>}]
Set the group information on the switch. This
command is used to configure VACM for SNMP v3.
7. Configure view
Command
Explanation
Global Mode
snmp-server view <view-string>
<oid-string> {include|exclude}
no snmp-server view
<view-string>[<oid-string>]
Configure view on the switch. This command is used
for SNMP v3.
8. Configuring TRAP
Command
Explanation
Global Mode
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.
snmp-server host { <ipv4-addr> |
<ipv6-addr> } {v1 | v2c | {v3 {noauthnopriv
| authnopriv | authpriv}}} <user-string>
no snmp-server host { <ipv4-addr> |
<ipv6-addr> } {v1 | v2c | {v3 {noauthnopriv
| authnopriv | authpriv}}} <user-string>
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. The “no” form of
this command cancels this IPv4 or IPv6 address.
10. Enable/Disable RMON
Command
Explanation
Global mode
rmon enable
no rmon enable
Enable/disable RMON.