User's Manual

Table Of Contents
88
Users Manual of CS-6306R
When the system is started, the SNMP agent will automatically run. All types of traps are activated. You can
use the command snmp-server host to specify which host will receive which kind of trap.
Some traps need to be controlled through other commands. For example, if you want SNMP link traps to be
sent when an interface is opened or closed, you need to run snmp trap link-status in interface configuration
mode to activate link traps. To close these traps, run the interface configuration command snmp trap
link-stat.
You have to configure the command snmp-server host for the host to receive the traps.
Modifying the running parameter of the trap
As an optional item, it can specify the source interface where traps originate, queue length of message or
value of resending interval for each host.
To modify the running parameters of traps, you can run the following optional commands in global
configuration mode.
Command Function
snmp-server trap-source interface
Specifies the source interface where traps originate and sets
the source IP address for the message.
snmp-server queue-length length
Creates the queue length of the message for each host that
has traps.
Default value: 10
snmp-server trap-timeoutseconds
Defines the frequency to resend traps in the resending queue.
Default value: 30 seconds
g) Configuring the SNMP binding source address
Run the following command in the global configuration mode to set the source address for the SNMP
message.
Command Function
snmp source-addr ipaddress
Sets the source address for the SNMP message.
h) Configuring SNMPv3 group
Run the following command to configure a group.
Command Function
snmp-server group [groupname {v1
| v2c |v3 [auth | noauth |
priv]}][readreadview][writewriteview]
[notifynotifyview]
[accessaccess-list]
Configures a SNMPv3 group. You can only
read all items in the subtree of the Internet by
default.