Configuring a Logging Server Group
In the ACI fabric, one or more logging server-groups can be configured with one or more logging destination servers.
Procedure
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure Example:
|
Enters global configuration mode. |
Step 2 |
logging server-group server-group-name Example:
|
Configure a grouping of servers for monitoring. |
Step 3 |
[no] description text Example:
|
Specifies |
Step 4 |
[no] console [severity {alerts | critical | emergencies}] Example:
|
Enables logging to the console (only for switches) and optionally sets the minimum severity level for logging. |
Step 5 |
[no] logfile [severity {alerts | critical | debugging | emergencies | errors | information | notifications | warnings}] Example:
|
Enables logging to the logfile and optionally sets the minimum severity level for logging. |
Step 6 |
[no] server ip-address-or-hostname [facility local-level] [severity severity-level] [mgmtepg {inb | oob}] [port port-number] Example:
|
Adds a destination logging server and optionally sets the minimum severity level for logging.
|
Examples
This example shows how to configure a syslog destination server group.
apic1# configure
apic1(config)# logging server-group myLoggingGroup
apic1(config-logging)# logging description "This is my logging server group"
apic1(config-logging)# console severity critical
apic1(config-logging)# logfile severity critical
apic1(config-logging)# server reach.example.com level local4 mgmtepg inb port 514
What to do next
Configure syslog with this logging server group as the logging destination.