User's Manual

Table Of Contents
87
Users Manual of CS-6306R
You can configure one or multiple group character strings. Run no snmp-server community to remove the
specified community character string.
For how to configure the community character string, refer to the part “SNMP Commands”.
c)
Configuring the contact method of system administrator and the systems location
SysContact and sysLocation are the management variables in the MIB’s system group, respectively defining
the linkman’s identifer and actual location of the controlled node. These information can be accessed through
config. files. You can use the following commands in global configuration mode.
Command Function
snmp-server contacttext
Sets the character string for the linkman of the node.
snmp-server locationtext
Sets the character string for the node location.
d) Defining the maximum length of SNMP agent data packet
When SNMP agent receives requests or sents respons, you can configure the maximum length of the data
packet. Use the following command in global configuration mode:
Command Function
snmp-server packetsizebyte-count
Sets the maximum length of the data packet.
e) Monitoring SNMP state
You can run the following command in global configuration mode to monitor SNMP output/input statistics,
including illegal community character string items, number of mistakes and request variables.
Command Function
show snmp
Monitores the SNMP state.
f) Configuring SNMP trap
Use the following command to configure the system to send the SNMP traps (the second task is
optional):
Configuring the system to send trap
Run the following commands in global configuration mode to configure the system to send trap to a host.
Command Function
snmp-server host host community-string[trap-type]
Specifies the receiver of the trap
message.
snmp-server hosthost [traps|informs]{version {v1 | v2c | v3 {auth |
noauth | priv } }}community-string [trap-type]
Specifies the receiver, version number
and username of the trap message.
Note: For the trap of SNMPv3, you must
configure SNMP engine ID for the host before
the host is configured to receive the trap
message.