Administration of the Avaya G350 Media Gateway - Avaya Support

Administration of the Avaya G350 Media Gateway - Avaya Support Administration of the Avaya G350 Media Gateway - Avaya Support

downloads.avaya.com
from downloads.avaya.com More from this publisher
13.07.2015 Views

Configuring loggingSyslog serverA Syslog server is a remote server that receives logging messages using Syslog protocol. Thisenables storage of large log files, which you can use to generate reports. You can define up tothree Syslog servers.To define and configure a Syslog server:1. To define the Syslog server, type the set logging server command, followed by the IPaddress of the server.2. To enable the Syslog server, type the set logging server enable command, followedby the IP address of the Syslog server. When you define a new Syslog server, it is definedas disabled, so you must use this command in order to enable the server.3. To define an output facility for the Syslog server, type the set logging serverfacility command, followed by the name of the output facility and the IP address of theSyslog server. (This step is optional.) The following is a list of possible facilities:auth (Authorization)daemon (Background System Process)clkd (Clock Daemon)clkd2 (Clock Daemon)mail (Electronic Mail)local0 – local7 (For Local Use)ftpd (FTP Daemon)kern (Kernel)alert (Log Alert)audi (Log Audit)ntp (NTP Subsystem)lpr (Printing)sec (Security)syslog (System Logging)uucp (Unix-to-Unix Copy Program)news (Usenet news)user (User Process)The following example defines the FTP Daemon as the output facility for Syslog reportsgenerated by the Syslog server with the IP address 168.12.1.15:set logging server facility ftpd 168.12.1.154. To limit access to the Syslog server output, type the set logging serveraccess-level command, followed by an access level (read-only, read-write, or admin).Only messages with the appropriate access level are sent to the Syslog output.To disable a Syslog server, type the set logging server disable command, followed bythe IP address of the Syslog server.66 Administration of the Avaya G350 Media Gateway

Logging fileTo delete a Syslog server from the Syslog server table, type the clear logging servercommand, followed by the IP address of the Syslog server you want to delete.To display the status of a Syslog server, use the show logging server conditioncommand, followed by the IP address of the Syslog server. If you do not specify an IP address,the command displays the status of all Syslog servers defined for the G350. This commanddisplays whether the server is enabled or disabled, and lists all filters defined on the server.The Syslog sink has the following default settings:● Severity — warning● Facility — local 7●Access level — read-writeLogging fileTo enable the logging of system messages to a log file in the flash memory, type the setlogging file enable command. To disable the logging of system messages to a log file,type the set logging file disable command.To delete the current log file and open an empty log file, type the clear logging filecontent command.To display messages in the log file, type the show logging file content command. Youcan filter this command by severity per application. See Filters and severity levels on page 68.You can also limit the number of messages to display. The following example displays the 50most recent QoS messages with a severity level of Critical or higher:show logging file content qos critical 50Logging sessionTo start the display of system messages to the terminal screen, type the set loggingsession enable command. To discontinue the display of system messages to the terminalscreen, type the set logging session disable command.To display how session logging is configured, type the show logging session conditioncommand. This command displays whether session logging is enabled or disabled, and lists allfilters defined for session logging.Issue 3 January 2005 67

Logging fileTo delete a Syslog server from <strong>the</strong> Syslog server table, type <strong>the</strong> clear logging servercommand, followed by <strong>the</strong> IP address <strong>of</strong> <strong>the</strong> Syslog server you want to delete.To display <strong>the</strong> status <strong>of</strong> a Syslog server, use <strong>the</strong> show logging server conditioncommand, followed by <strong>the</strong> IP address <strong>of</strong> <strong>the</strong> Syslog server. If you do not specify an IP address,<strong>the</strong> command displays <strong>the</strong> status <strong>of</strong> all Syslog servers defined for <strong>the</strong> <strong>G350</strong>. This commanddisplays whe<strong>the</strong>r <strong>the</strong> server is enabled or disabled, and lists all filters defined on <strong>the</strong> server.The Syslog sink has <strong>the</strong> following default settings:● Severity — warning● Facility — local 7●Access level — read-writeLogging fileTo enable <strong>the</strong> logging <strong>of</strong> system messages to a log file in <strong>the</strong> flash memory, type <strong>the</strong> setlogging file enable command. To disable <strong>the</strong> logging <strong>of</strong> system messages to a log file,type <strong>the</strong> set logging file disable command.To delete <strong>the</strong> current log file and open an empty log file, type <strong>the</strong> clear logging filecontent command.To display messages in <strong>the</strong> log file, type <strong>the</strong> show logging file content command. Youcan filter this command by severity per application. See Filters and severity levels on page 68.You can also limit <strong>the</strong> number <strong>of</strong> messages to display. The following example displays <strong>the</strong> 50most recent QoS messages with a severity level <strong>of</strong> Critical or higher:show logging file content qos critical 50Logging sessionTo start <strong>the</strong> display <strong>of</strong> system messages to <strong>the</strong> terminal screen, type <strong>the</strong> set loggingsession enable command. To discontinue <strong>the</strong> display <strong>of</strong> system messages to <strong>the</strong> terminalscreen, type <strong>the</strong> set logging session disable command.To display how session logging is configured, type <strong>the</strong> show logging session conditioncommand. This command displays whe<strong>the</strong>r session logging is enabled or disabled, and lists allfilters defined for session logging.Issue 3 January 2005 67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!