Cisco Systems OL-5742-01 Network Router User Manual


 
C-121
Cisco Signaling Gateway Manager User Guide
OL-5742-01
Appendix C SGM Command Reference
sgm trapaccess
The list of allowed ITP IP addresses is contained in the trapaccess.conf file. By
default, when you first install SGM, the trapaccess.conf file does not exist and
SGM allows all IP addresses to send traps to the SGM server. To create the
trapaccess.conf file and work with the list of allowed client IP addresses, specify
one of the following keywords:
add—Add the specified IP address to the trapaccess.conf file. If the file does
not already exist, this command creates the file containing the first entry.
clear—Remove all IP addresses from the trapaccess.conf file, and allow traps
from any SGM client IP address.
edit—Open and edit the trapaccess.conf file directly. If the trapaccess.conf
file does not already exist, this command creates an empty file.
list—List all IP addresses currently in the trapaccess.conf file. If no IP
addresses are listed (that is, the list is empty), traps from any SGM IP address
are allowed.
rem—Remove the specified IP address from the trapaccess.conf file.
sample—Print out a sample trapaccess.conf file.
Any changes you make take effect when you restart the SGM server.
See the “Limiting Traps by IP Address (Solaris Only)” section on page 19-40 for
more information about using this command.
You must be logged in as the root user or as a super user to use this command.
List of SGM Commands
SGM Command Reference, page C-1.