• No results found

system logging remote configure

This command configures email logs and alerts, schedules email logs and alerts, and configures a syslog server. After you have issued the system logging remote configure command, you enter the system-config [logging-remote] mode, and then you can configure one keyword and associated parameter or associated keyword at a time in the order that you prefer.

Other event logs

source_mac_filter_logs Y or N Enables or disables logging of packets from MAC addresses that match the source MAC address filter settings.

session_limit_logs Y or N Enables or disables logging of packets that are dropped because the session limit has been exceeded.

bandwidth_limit_logs Y or N Enables or disables logging of packets that are dropped because the

bandwidth limit has been exceeded.

Step 1 Format system logging remote configure

Mode system

Step 2 Format log_identifier <identifier>

Keyword Associated

Keyword to Select

Description

email_logs_enable {Y | N}

email_server {ipaddress | domain name}

return_email <email address>

send_to_email <email address>

smtp_custom_port <number>

smtp_auth type {None | Plain {smtp_auth username <user name>}

{smtp_auth password <password>} | CRAM-MD5 {smtp_auth username <user name>} {smtp_auth password <password>}}

identd_from_smtp_server_enable {Y | N}

schedule unit {Never | Hourly | Daily {schedule time {0:00 | 1:00 | 2:00 | 3:00 | 4:00 | 5:00 | 6:00 | 7:00 | 8:00 | 9:00 | 10:00 | 11:00}} {schedule meridiem {AM | PM}} | Weekly {schedule day {Sunday | Monday | Tuesday | Wednesday |

Thursday | Friday | Saturday}} {schedule time {0:00 | 1:00 | 2:00 | 3:00 | 4:00 | 5:00 | 6:00 | 7:00 | 8:00 | 9:00 | 10:00 | 11:00}} {schedule meridiem {AM | PM}}}

syslog_server {ipaddress | domain name}

syslog_severity {LOG_EMERG | LOG_ALERT | LOG_CRITICAL |

LOG_ERROR | LOG_WARNING | LOG_NOTICE | LOG_INFO | LOG_DEBUG}

Mode system-config [logging-remote]

Keyword (might consist of two separate words)

Associated Keyword to Select or Parameter to Type

Description

Log identifier

log_identifier identifier The log identifier (alphanumeric string).

Email log configuration

email_logs_enable Y or N Enables or disables emailing of logs.

email_server ipaddress or domain name The IP address or domain name of the SMTP server.

return_email email address The email address (alphanumeric string) to which the SMTP server replies are sent.

send_to_email email address The email address (alphanumeric string) to which the logs and alerts are sent.

smtp_custom_port number The port number of the SMTP server for the outgoing email. The default port number is 25.

smtp_auth type None, Plain, or CRAM-MD5 The type of authentication for the SMTP server. If you select Plain or CRAM-MD5, you also need to configure the

smtp_auth username and smtp_auth password keywords and associated parameters.

smtp_auth username user name The user name for SMTP authentication if you have set the smtp_auth type keyword type to Plain or CRAM-MD5.

smtp_auth password password The password for SMTP

authentication if you have set smtp_auth type keyword to Plain or CRAM-MD5.

identd_from_smtp_server_enable Y or N Allows or rejects Identd protocol messages from the SMTP server.

Email log schedule

schedule unit Never, Hourly, Daily, or Weekly

The type of schedule for the emailing of logs and alerts. Note the following:

• If you select Never or Hourly, you do not need to further configure the schedule.

• If you select Daily, you also need to configure the schedule time and schedule meridiem keywords and their associated keywords.

• If you select Weekly, you also need to configure the

schedule day, schedule time, and

schedule meridiem keywords and their associated keywords.

schedule day Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, or Saturday

The scheduled day if you have set the schedule unit keyword to Weekly.

schedule time 0:00, 1:00, 2:00, 3:00, 4:00, 5:00, 6:00, 7:00, 8:00, 9:00, 10:00, or 11:00

The scheduled time if you have set the schedule unit keyword to Daily or Weekly.

schedule meridiem AM or PM The meridiem for the start time if you have set the schedule unit keyword to Daily or Weekly.

Keyword (might consist of two separate words)

Associated Keyword to Select or Parameter to Type

Description

Command example:

FVS318N> system logging remote configure

system-config[logging-remote]> log_identifier FVS318N-Bld3 system-config[logging-remote]> email_logs_enable Y

system-config[logging-remote]> email_server SMTP.Netgear.com system-config[logging-remote]> return_email [email protected] system-config[logging-remote]> send_to_email [email protected] system-config[logging-remote]> smtp_custom_port 2025

system-config[logging-remote]> smtp_auth type None system-config[logging-remote]> schedule unit Weekly system-config[logging-remote]> schedule day Sunday system-config[logging-remote]> schedule time 00 system-config[logging-remote]> schedule meridiem AM

system-config[logging-remote]> syslog_server fe80::a0ca:f072:127f:b028%21 system-config[logging-remote]> syslog_severity LOG_EMERG

system-config[logging-remote]> save

Related show command: show system logging remote setup Syslog server

syslog_server ipaddress or domain name The IP address or domain name of the syslog server.

syslog_severity LOG_EMERG, LOG_ALERT, LOG_CRITICAL,

LOG_ERROR, LOG_WARNING, LOG_NOTICE, LOG_INFO, or LOG_DEBUG

The syslog severity level. The keywords are self-explanatory.

Note: All the logs with a severity that is equal to and above the severity that you specify are logged on the specified syslog server. For example, if you select

LOG_CRITICAL as the severity, then the logs with the severities LOG_CRITICAL, LOG_ALERT, and LOG_EMERG are logged.

Keyword (might consist of two separate words)

Associated Keyword to Select or Parameter to Type

Description

6

This chapter explains the configuration commands, keywords, and associated parameters in the

dot11 mode. The chapter includes the following sections: