Typical Snmp Configuration Examples - Planet XGS3-42000R User Manual

4-slot layer 3 ipv6/ ipv4 routing chassis switch
Table of Contents

Advertisement

6. Configure group
Command
Global Mode
snmp-server group <group-string>
{noauthnopriv|authnopriv|authpriv} [[read
<read-string> ] [write <write-string>] [notify
<notify-string>]] [acce ss
{<num-std>|<nam e>}] [ipv6-acce ss
{<ipv6-num -std>|<ipv6-name>}]
no snmp-server group <group-string>
{noauthnopriv|authnopriv|authpriv}
[acce ss {<num-std> |<name>}]
[ipv6-acce ss
{<ipv6-num -std>|<ipv6-name>}]
7. Configure view
Command
Global Mode
snmp-server view <view-string>
<oid-string> {include|exclude}
no snmp-server view
<view-string>[<oid-string>]
8. Configuring TRAP
Command
Global Mode
snmp-server enable traps
no snmp-server enable traps
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>
9. Enable/Disable RMON
Command
Global mode
rmon enable
no rmon enable

4.4.5 Typical SNMP Configuration Examples

Explanation
Set the group information on the Chassis Switch.
This command is used to configure VACM for SNMP
v3.
Explanation
Configure
view on the Chassis Switch. This
command is used for SNMP v3.
Explanation
Enable the switch to send Trap message. This
command is used for SNMP v1/ v2/ v3.
Set the host IP v4/IP v6 address which is used to
receive S NMP Trap information. For SNMP v1/ v2,
this command also configures Trap community
string; for S NMP v3, this command also configures
Trap user name and security level. The "no" form of
this command cancels this IP v4 or IP v6 address.
Explanation
Enable/disable RMON.
4-11

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents