PLANET Technology Corp. |
3.16.2 SNMP trap
GRT series can generate alarm conditions to SNMP manager via SNMP traps. The following example configures trap 1 with SNMPv2c encapsulation. The SNMP manager is located at 192.168.0.254 with community “private”.
admin# admin snmp trap 1 edit 2 192.168.0.254 private
To show the setting of SNMP communities with access right, type:
admin# admin snmp trap 1 list |
|
|
| |
SNMP Trap Host Pool |
|
|
| |
No | Trap |
| IP Address | Version |
|
| |||
1 |
| private | 192.168.0.254 | 2 |
2 |
| (Empty) |
|
|
3 |
| (Empty) |
|
|
4 |
| (Empty) |
|
|
5 |
| (Empty) |
|
|
To disable the SNMP trap 1, enter the following command:
admin# admin snmp trap 1 edit disable 192.168.0.254 private
To save your changes, enter:
admin# write
3.17 Backup and Restore Configuration
Remember to backup a copy of your configuration file after you have completed configuration of GRT series so you can easily recover it when necessary.
3.17.1 Backup configuration
Use “show script” command to dump the system current configuration in script commands. The following is an example.
admin# show script
Showing System Configuration...