System Logging Feature
Catalyst SD-WANConfigure logging to disk and/or to a remote logging server.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| feature_ | Class | feature_ | No |
feature_profiles (sdwan)
Section titled “feature_profiles (sdwan)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| system_profiles | List | system_profiles | No |
system_profiles (sdwan.feature_profiles)
Section titled “system_profiles (sdwan.feature_profiles)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| logging | Class | logging | No |
logging (sdwan.feature_profiles.system_profiles)
Section titled “logging (sdwan.feature_profiles.system_profiles)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[^&<>! "]{1,128}$ | No | logging |
| description | String | No | ||
| disk_file_size | Integer | min: 1, max: 20 | No | |
| disk_ | String | Regex: ^[. | No | |
| disk_ | Integer | min: 1, max: 10 | No | |
| disk_ | String | Regex: ^[. | No | |
| ipv4_servers | List | ipv4_servers | No | |
| ipv6_servers | List | ipv6_servers | No | |
| tls_profiles | List | tls_profiles | No |
logging (sdwan.feature_profiles.system_profiles)
Section titled “logging (sdwan.feature_profiles.system_profiles)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[^&<>! "]{1,128}$ | No | logging |
| description | String | No | ||
| disk_file_size | Integer | min: 1, max: 20 | No | |
| disk_ | String | Regex: ^[. | No | |
| disk_ | Integer | min: 1, max: 10 | No | |
| disk_ | String | Regex: ^[. | No | |
| ipv4_servers | List | ipv4_servers | No | |
| ipv6_servers | List | ipv6_servers | No | |
| tls_profiles | List | tls_profiles | No |
ipv4_servers (sdwan.feature_profiles.system_profiles.logging)
Section titled “ipv4_servers (sdwan.feature_profiles.system_profiles.logging)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| hostname_ip | IP | No | ||
| hostname_ | String | Regex: ^[. | No | |
| severity | Choice | informational, debugging, notice, warn, error, critical, alert, emergency | No | |
| severity_ | String | Regex: ^[. | No | |
| source_ | String | Regex: ^(GigabitEthernet| | No | |
| source_ | String | Regex: ^[. | No | |
| tls_enable | Boolean | true, false | No | |
| tls_ | String | Regex: ^[. | No | |
| tls_ | Boolean | true, false | No | |
| tls_ | String | Regex: ^[. | No | |
| tls_ | String | min: 1 | No | |
| tls_ | String | Regex: ^[. | No | |
| vpn_id | Integer | min: 0, max: 65530 | No | |
| vpn_id_variable | String | Regex: ^[. | No |
ipv4_servers (sdwan.feature_profiles.system_profiles.logging)
Section titled “ipv4_servers (sdwan.feature_profiles.system_profiles.logging)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| hostname_ip | IP | No | ||
| hostname_ | String | Regex: ^[. | No | |
| severity | Choice | informational, debugging, notice, warn, error, critical, alert, emergency | No | |
| severity_ | String | Regex: ^[. | No | |
| source_ | String | Regex: ^(GigabitEthernet| | No | |
| source_ | String | Regex: ^[. | No | |
| tls_enable | Boolean | true, false | No | |
| tls_ | String | Regex: ^[. | No | |
| tls_ | Boolean | true, false | No | |
| tls_ | String | Regex: ^[. | No | |
| tls_ | String | min: 1 | No | |
| tls_ | String | Regex: ^[. | No | |
| vpn_id | Integer | min: 0, max: 65530 | No | |
| vpn_id_variable | String | Regex: ^[. | No |
ipv6_servers (sdwan.feature_profiles.system_profiles.logging)
Section titled “ipv6_servers (sdwan.feature_profiles.system_profiles.logging)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| hostname_ip | IP | No | ||
| hostname_ | String | Regex: ^[. | No | |
| severity | Choice | informational, debugging, notice, warn, error, critical, alert, emergency | No | |
| severity_ | String | Regex: ^[. | No | |
| source_ | String | Regex: ^(GigabitEthernet| | No | |
| source_ | String | Regex: ^[. | No | |
| tls_enable | Boolean | true, false | No | |
| tls_ | String | Regex: ^[. | No | |
| tls_ | Boolean | true, false | No | |
| tls_ | String | Regex: ^[. | No | |
| tls_ | String | min: 1 | No | |
| tls_ | String | Regex: ^[. | No | |
| vpn_id | Integer | min: 0, max: 65530 | No | |
| vpn_id_variable | String | Regex: ^[. | No |
ipv6_servers (sdwan.feature_profiles.system_profiles.logging)
Section titled “ipv6_servers (sdwan.feature_profiles.system_profiles.logging)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| hostname_ip | IP | No | ||
| hostname_ | String | Regex: ^[. | No | |
| severity | Choice | informational, debugging, notice, warn, error, critical, alert, emergency | No | |
| severity_ | String | Regex: ^[. | No | |
| source_ | String | Regex: ^(GigabitEthernet| | No | |
| source_ | String | Regex: ^[. | No | |
| tls_enable | Boolean | true, false | No | |
| tls_ | String | Regex: ^[. | No | |
| tls_ | Boolean | true, false | No | |
| tls_ | String | Regex: ^[. | No | |
| tls_ | String | min: 1 | No | |
| tls_ | String | Regex: ^[. | No | |
| vpn_id | Integer | min: 0, max: 65530 | No | |
| vpn_id_variable | String | Regex: ^[. | No |
tls_profiles (sdwan.feature_profiles.system_profiles.logging)
Section titled “tls_profiles (sdwan.feature_profiles.system_profiles.logging)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| cipher_suites | List | Choice[aes-128-cbc-sha, aes-256-cbc-sha, dhe-aes-cbc-sha2, dhe-aes-gcm-sha2, ecdhe-ecdsa-aes-gcm-sha2, ecdhe-rsa-aes-cbc-sha2, ecdhe-rsa-aes-gcm-sha2, rsa-aes-cbc-sha2, rsa-aes-gcm-sha2] | No | |
| cipher_ | String | Regex: ^[. | No | |
| name | String | min: 1 | No | |
| name_variable | String | Regex: ^[. | No | |
| tls_version | Choice | TLSv1.1, TLSv1.2 | No | |
| tls_ | String | Regex: ^[. | No |
tls_profiles (sdwan.feature_profiles.system_profiles.logging)
Section titled “tls_profiles (sdwan.feature_profiles.system_profiles.logging)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| cipher_suites | List | Choice[aes-128-cbc-sha, aes-256-cbc-sha, dhe-aes-cbc-sha2, dhe-aes-gcm-sha2, ecdhe-ecdsa-aes-gcm-sha2, ecdhe-rsa-aes-cbc-sha2, ecdhe-rsa-aes-gcm-sha2, rsa-aes-cbc-sha2, rsa-aes-gcm-sha2] | No | |
| cipher_ | String | Regex: ^[. | No | |
| name | String | min: 1 | No | |
| name_variable | String | Regex: ^[. | No | |
| tls_version | Choice | TLSv1.1, TLSv1.2 | No | |
| tls_ | String | Regex: ^[. | No |
Examples
Section titled “Examples”Example-1: This example is showing a basic logging to two Syslog servers. It is logging informational level and below. It is using in-band management VPN and a loopback interface as a source.
sdwan: feature_profiles: system_profiles: - name: system1 description: this is test system profile logging: name: logging description: "Base Logging template; no TLS" ipv4_servers: - hostname_ip: 172.16.0.11 severity: information source_interface: Loopback511 vpn_id: 511 - hostname_ip: 172.16.0.12 severity: information source_interface: Loopback511 vpn_id: 511