User's Manual

Table Of Contents
57
Users Manual of GPL-8000
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.