The task is to configure an AOS-CX switch to send logs to a SIEM Syslog server at IP address 10.4.13.15 using TCP port 514, with logs for events at the "warning" severity level or above (i.e., warning, error, critical, alert, emergency). The initial command entered is:
AOS-CX(config)# logging 10.4.13.15 tcp vrf default
This command configures the switch to send logs to the Syslog server at 10.4.13.15 using TCP (port 514 is the default for TCP Syslog unless specified otherwise) and the default VRF. However, this command alone does not specify the severity level of the logs to be sent, which is a requirement of the task.
Severity Level Configuration: AOS-CX switches allow you to specify the severity level for logs sent to a Syslog server. The severity levels, in increasing order of severity, are: debug, informational, notice, warning, error, critical, alert, and emergency. The requirement is to send logs at the "warning" level or above, meaning warning, error, critical, alert, and emergency logs should be sent, but debug, informational, and notice logs should not.
Option A, "Specify the ‘warning’ severity level for the logging server," is correct. To meet the requirement, you need to add the severity level to the logging configuration for the specific Syslog server. The command to do this is:
AOS-CX(config)# logging 10.4.13.15 severity warning
This command ensures that only logs with a severity of warning or higher are sent to the Syslog server at 10.4.13.15. Since the initial command already specified TCP and the default VRF, this additional command completes the configuration.
Option B, "Add logging categories at the global level," is incorrect. Logging categories (e.g., system, security, network) are used to filter logs based on the type of event, not the severity level. The requirement is about severity ("warning" or above), not specific categories, so this step is not necessary to meet the stated criteria.
Option C, "Ask for the Syslog password and configure it on the switch," is incorrect. Syslog servers typically do not require a password for receiving logs, and AOS-CX switches do not have a configuration option to specify a Syslog password. Authentication or encryption for Syslog (e.g., using TLS) is not mentioned in the requirements.
Option D, "Configure logging as a debug destination," is incorrect. Configuring a debug destination (e.g., using the debug command) is used to send debug-level logs to a destination (e.g., console, buffer, or Syslog), but the requirement is to send logs at the "warning" level or above, not debug-level logs. Additionally, the logging command already specifies the Syslog server as the destination.
The HPE Aruba Networking AOS-CX 10.12 System Management Guide states:
"To configure a Syslog server on an AOS-CX switch, use the logging [tcp | udp] [vrf ] command to specify the server’s IP address, protocol, and VRF. To filter logs by severity, add the severity option to the logging command. For example, logging 10.4.13.15 tcp severity warning sends logs with a severity of warning or higher (warning, error, critical, alert, emergency) to the Syslog server at 10.4.13.15 using TCP. The default port for TCP Syslog is 514." (Page 89, Syslog Configuration Section)
Additionally, the guide notes:
"Severity levels for logging on AOS-CX switches are, in increasing order: debug, informational, notice, warning, error, critical, alert, emergency. Specifying a severity level of ‘warning’ ensures that only logs at that level or higher are sent to the configured destination." (Page 90, Logging Severity Levels Section)
[References:, HPE Aruba Networking AOS-CX 10.12 System Management Guide, Syslog Configuration Section, Page 89., HPE Aruba Networking AOS-CX 10.12 System Management Guide, Logging Severity Levels Section, Page 90.===========]