#en
#config t
#logging 192.168.1.1 //(log主機)
#logging trap 4 //等級預設7(全部)
#end
#sh run
Configuring the UNIX System Logging Facility
host
logging | ||
level
logging trap | ||
facility-type
logging facility |
Configure the syslog facility. See
local7.
The default is | |
no logging host global configuration command, and specify the syslog server IP address. To disable logging to syslog servers, enter the no logging trap global configuration command.
To remove a syslog server, use the
Table 1-4 lists the UNIX system facilities supported by the software. For more information about these facilities, consult the operator’s manual for your UNIX operating system.