10G Core Routing Switch User Manual
陈泽科技有限公司
- - 84 - -
www.stephen-tele.com
Configure SNMP
The main configuration of SNMP includes:
Set community Name
Set the Destination Address of Trap
Set Trap parameters
Setting Community Name
SNMP V1 and SNMPV2C adopt the community name authentication scheme. The SNMP message incompliant with the
community name accepted by the device will be discarded. SNMP Community is named with a character string, which
is called Community Name. The various communities can have read-only or read-write access mode. The community
with read-only authority can only query the device information, whereas the community with read-write authority can
also configure the device.
Beginning in privileged EXEC mode, follow these steps to set Community Name.
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
snmp community
[readonly| readwrite ]
string
Set community string.
Step 3
exit
Return to privileged EXEC mode.
Step 4
show snmp community
-string
Verify your entries.
Step 5
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.
Setting the Destination Address of Trap and Trap Parameters
You can use the following commands to set or delete the destination address and parameters of the trap.
Beginning in privileged EXEC mode, follow these steps to set the Destination Address of Trap.
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
snmp trapreceiver [add |
delete]
Host
ip-address
version
[v1 | v2c] [Community | cr]
string
Set the destination address of trap.
Step 3
exit
Return to privileged EXEC mode.
Step 4
show snmp trapreceiver
Verify your entries.
Step 5
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.