Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Nov 13, 2024
1 parent 461a3b7 commit 7f7c073
Show file tree
Hide file tree
Showing 14 changed files with 166 additions and 317 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
- [System Boot Device Configuration](#system-boot-device-configuration)
- [Monitoring](#monitoring)
- [Custom daemons](#custom-daemons)
- [Logging](#logging)
- [MCS Client Summary](#mcs-client-summary)
- [Monitor Sessions](#monitor-sessions)
- [Tap Aggregation](#tap-aggregation)
Expand Down Expand Up @@ -1160,6 +1161,93 @@ daemon random
shutdown
```

### Logging

#### Logging Servers and Features Summary

| Type | Level |
| -----| ----- |
| Console | errors |
| Buffer | warnings |
| Trap | disabled |
| Synchronous | critical |

| Format Type | Setting |
| ----------- | ------- |
| Timestamp | traditional year timezone |
| Hostname | hostname |
| Sequence-numbers | false |
| RFC5424 | True |

| VRF | Source Interface |
| --- | ---------------- |
| default | Loopback0 |
| mgt | Management0 |

| VRF | Hosts | Ports | Protocol |
| --- | ----- | ----- | -------- |
| default | 20.20.20.7 | Default | UDP |
| default | 50.50.50.7 | 100, 200 | TCP |
| default | 60.60.60.7 | 100, 200 | UDP |
| default | 2001:db8::20:7 | Default | UDP |
| default | 2001:db8::50:7 | 100, 200 | TCP |
| default | 2001:db8::60:7 | 100, 200 | UDP |
| mgt | 10.10.10.7 | Default | UDP |
| mgt | 30.30.30.7 | 100, 200 | TCP |
| mgt | 40.40.40.7 | 300, 400 | UDP |
| mgt | 2001:db8::10:7 | Default | UDP |
| mgt | 2001:db8::30:7 | 100, 200 | TCP |
| mgt | 2001:db8::40:7 | 300, 400 | UDP |
| vrf_with_no_source_interface | 1.2.3.4 | Default | UDP |
| vrf_with_no_source_interface | 2001:db8::1:2:3:4 | Default | UDP |

| Facility | Severity |
| -------- | -------- |
| AAA | warnings |
| ACL | critical |
| BGP | 0 |

#### Logging Servers and Features Device Configuration

```eos
!
logging event storm-control discards global
logging event storm-control discards interval 10
!
logging event congestion-drops interval 10
!
logging repeat-messages
logging buffered 1000000 warnings
no logging trap
logging console errors
logging synchronous level critical
logging host 20.20.20.7
logging host 50.50.50.7 100 200 protocol tcp
logging host 60.60.60.7 100 200
logging host 2001:db8::20:7
logging host 2001:db8::50:7 100 200 protocol tcp
logging host 2001:db8::60:7 100 200
logging vrf mgt host 10.10.10.7
logging vrf mgt host 30.30.30.7 100 200 protocol tcp
logging vrf mgt host 40.40.40.7 300 400
logging vrf mgt host 2001:db8::10:7
logging vrf mgt host 2001:db8::30:7 100 200 protocol tcp
logging vrf mgt host 2001:db8::40:7 300 400
logging vrf vrf_with_no_source_interface host 1.2.3.4
logging vrf vrf_with_no_source_interface host 2001:db8::1:2:3:4
logging format timestamp traditional year timezone
logging format rfc5424
logging source-interface Loopback0
logging vrf mgt source-interface Management0
logging policy match match-list molecule discard
!
logging level AAA warnings
logging level ACL critical
logging level BGP 0
!
no logging event link-status global
```

### MCS Client Summary

MCS client is enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
- [DHCP Relay Device Configuration](#dhcp-relay-device-configuration)
- [System Boot Settings](#system-boot-settings)
- [System Boot Device Configuration](#system-boot-device-configuration)
- [Monitoring](#monitoring)
- [Logging](#logging)
- [Monitor Connectivity](#monitor-connectivity)
- [Global Configuration](#global-configuration)
- [Monitor Connectivity Device Configuration](#monitor-connectivity-device-configuration)
Expand Down Expand Up @@ -293,6 +295,33 @@ dhcp relay
!
```

## Monitoring

### Logging

#### Logging Servers and Features Summary

| Type | Level |
| -----| ----- |
| Console | informational |
| Monitor | debugging |
| Buffer | - |

**Syslog facility value:** syslog

#### Logging Servers and Features Device Configuration

```eos
!
no logging repeat-messages
logging buffered 64000
logging console informational
logging monitor debugging
logging facility syslog
!
logging event link-status global
```

## Monitor Connectivity

### Global Configuration
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7f7c073

Please sign in to comment.