3Com 5210 Telephone User Manual


 
110 APPENDIX : COMMAND LINE INTERFACE
[-p seconds]
Sets amount of time, in seconds, between polls.
Target
Follows general syntax. Note that if you omit a channel range, the command is
assumed to be targeted at the slot level. This applies as well to timeslot
designations for commands sent to T1 cards-if the timeslot is omitted, the
command will issued at the channel (span) level.
Set Trap Destination The following commands are used to define where the traps are to send there
output.
Except for the general syntax, the following trap destination-specific syntax
must appear after the target designation in the command string.
To List Current Trap Destination Entries (-q)
Use the following command:
tcmtrap target -q
To Add a Trap
Destination Entry (-a)
Use the following command, notice that the target must be supplied.
tcmtrap target [-a ipaddr trapcomm comment]
Where:
ipaddrIP address of destination device to be added.
trapcommCommunity string to supply with trap.
commentInsert a descriptive commentuse shell quoting if necessary.
To Modify a Trap
Destination Entry (-m)
Use the following command to change a current entry, where ipaddr is the IP
address of the entry to change, and the other parameters are the information
that will replace the old information.
tcmtrap target [-m ipaddr trapcomm comment]
To Delete a Trap
Destination Entry (-d)
To delete a trap destination entry, use the following command, where ipaddr is
the IP address of the entry to be deleted:
tcmtrap target [-d ipaddr]