Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banner syslog #142

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions global_vars/global_dc_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,18 @@ p2p_uplinks_mtu: 1500
# CVP node variables
cv_collection: v3
execute_tasks: true

# Login Banner
banners:
motd: |
You shall not pass. Unless you are authorized. Then you shall pass.
EOF

# Syslog
logging:
vrfs:
- name: default
source_interface: Management0
hosts:
- name: 10.200.0.108
- name: 10.200.1.108
106 changes: 106 additions & 0 deletions sites/site_1/config_backup/s1-leaf1_post_running-config.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
! Command: show running-config
! device: s1-leaf1 (cEOSLab, EOS-4.32.0F-36401836.4320F (engineering build))
!
no aaa root
!
username arista privilege 15 role network-admin secret sha512 $6$arista$3smClffR7JwQJbMgFTq86hlg56OIEDlWYdfMmnb0gXdIfDKZLgJQCiDA/n3cidYcq29nAqu886PnvFItk4Wzo/
username arista ssh-key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDG4yA9JZzN8BUNoZEWv95xDtd7WnxdKFn8zj7EtVIuDGQy380IGT/ss7DV18pU7i2+tfdXqWfRjMATssVpz+LNiPJVgl88uaNZJjrCjH91nrL1CmEcnmR2ILe7sWRA1T65xsuWRZn/M2aYlTgUoOp7qenBM6s2vJlBw1JKJKWGDuZDkPoWkyYCM7pd1E4lGLcITqWvZbYZbyHgxMygb6RAFujXUBz01IOlVP6rbDhVo/VjMQdoBtdExABzWmDfdbSNrfprnRFWU861DIo9I4ywDOocLiFotmy2P+a+UtBTCvJeFYwCD5f9vX9+mJi+5JZ8SAMZ5+4wCkxnMh6wKCmx [email protected]
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=192.168.0.5:9910 -cvauth=token,/tmp/token -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
vlan internal order ascending range 1006 1199
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname s1-leaf1
dns domain atd.lab
!
spanning-tree mode mstp
no spanning-tree vlan-id 4094
spanning-tree mst 0 priority 16384
!
system l1
unsupported speed action error
unsupported error-correction action error
!
vlan 10
name Ten
!
vlan 4094
name MLAG_PEER
trunk group MLAG
!
management api http-commands
no shutdown
!
vrf default
no shutdown
!
aaa authorization exec default local
!
interface Port-Channel1
description MLAG_PEER_s1-leaf2_Po1
switchport mode trunk
switchport trunk group MLAG
!
interface Port-Channel2
description SPINES_Po2
switchport trunk allowed vlan 10
switchport mode trunk
mlag 2
!
interface Port-Channel4
description s1-host1
switchport access vlan 10
mlag 4
spanning-tree portfast
!
interface Ethernet1
description MLAG_PEER_s1-leaf2_Ethernet1
channel-group 1 mode active
!
interface Ethernet2
description S1-SPINE1_Ethernet2
channel-group 2 mode active
!
interface Ethernet3
description S1-SPINE2_Ethernet2
channel-group 2 mode active
!
interface Ethernet4
description s1-host1_eth1
channel-group 4 mode active
!
interface Ethernet6
description MLAG_PEER_s1-leaf2_Ethernet6
channel-group 1 mode active
!
interface Management0
description oob_management
ip address 192.168.0.12/24
!
interface Vlan4094
description MLAG_PEER
mtu 1500
no autostate
ip address 10.1.253.0/31
!
no ip routing
!
mlag configuration
domain-id RACK1
local-interface Vlan4094
peer-address 10.1.253.1
peer-link Port-Channel1
reload-delay mlag 300
reload-delay non-mlag 330
!
ip route 0.0.0.0/0 192.168.0.1
!
ntp server 192.168.0.1 iburst local-interface Management0
!
end
106 changes: 106 additions & 0 deletions sites/site_1/config_backup/s1-leaf2_post_running-config.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
! Command: show running-config
! device: s1-leaf2 (cEOSLab, EOS-4.32.0F-36401836.4320F (engineering build))
!
no aaa root
!
username arista privilege 15 role network-admin secret sha512 $6$arista$3smClffR7JwQJbMgFTq86hlg56OIEDlWYdfMmnb0gXdIfDKZLgJQCiDA/n3cidYcq29nAqu886PnvFItk4Wzo/
username arista ssh-key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDG4yA9JZzN8BUNoZEWv95xDtd7WnxdKFn8zj7EtVIuDGQy380IGT/ss7DV18pU7i2+tfdXqWfRjMATssVpz+LNiPJVgl88uaNZJjrCjH91nrL1CmEcnmR2ILe7sWRA1T65xsuWRZn/M2aYlTgUoOp7qenBM6s2vJlBw1JKJKWGDuZDkPoWkyYCM7pd1E4lGLcITqWvZbYZbyHgxMygb6RAFujXUBz01IOlVP6rbDhVo/VjMQdoBtdExABzWmDfdbSNrfprnRFWU861DIo9I4ywDOocLiFotmy2P+a+UtBTCvJeFYwCD5f9vX9+mJi+5JZ8SAMZ5+4wCkxnMh6wKCmx [email protected]
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=192.168.0.5:9910 -cvauth=token,/tmp/token -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
vlan internal order ascending range 1006 1199
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname s1-leaf2
dns domain atd.lab
!
spanning-tree mode mstp
no spanning-tree vlan-id 4094
spanning-tree mst 0 priority 16384
!
system l1
unsupported speed action error
unsupported error-correction action error
!
vlan 10
name Ten
!
vlan 4094
name MLAG_PEER
trunk group MLAG
!
management api http-commands
no shutdown
!
vrf default
no shutdown
!
aaa authorization exec default local
!
interface Port-Channel1
description MLAG_PEER_s1-leaf1_Po1
switchport mode trunk
switchport trunk group MLAG
!
interface Port-Channel2
description SPINES_Po2
switchport trunk allowed vlan 10
switchport mode trunk
mlag 2
!
interface Port-Channel4
description s1-host1
switchport access vlan 10
mlag 4
spanning-tree portfast
!
interface Ethernet1
description MLAG_PEER_s1-leaf1_Ethernet1
channel-group 1 mode active
!
interface Ethernet2
description S1-SPINE1_Ethernet3
channel-group 2 mode active
!
interface Ethernet3
description S1-SPINE2_Ethernet3
channel-group 2 mode active
!
interface Ethernet4
description s1-host1_eth2
channel-group 4 mode active
!
interface Ethernet6
description MLAG_PEER_s1-leaf1_Ethernet6
channel-group 1 mode active
!
interface Management0
description oob_management
ip address 192.168.0.13/24
!
interface Vlan4094
description MLAG_PEER
mtu 1500
no autostate
ip address 10.1.253.1/31
!
no ip routing
!
mlag configuration
domain-id RACK1
local-interface Vlan4094
peer-address 10.1.253.0
peer-link Port-Channel1
reload-delay mlag 300
reload-delay non-mlag 330
!
ip route 0.0.0.0/0 192.168.0.1
!
ntp server 192.168.0.1 iburst local-interface Management0
!
end
106 changes: 106 additions & 0 deletions sites/site_1/config_backup/s1-leaf3_post_running-config.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
! Command: show running-config
! device: s1-leaf3 (cEOSLab, EOS-4.32.0F-36401836.4320F (engineering build))
!
no aaa root
!
username arista privilege 15 role network-admin secret sha512 $6$arista$3smClffR7JwQJbMgFTq86hlg56OIEDlWYdfMmnb0gXdIfDKZLgJQCiDA/n3cidYcq29nAqu886PnvFItk4Wzo/
username arista ssh-key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDG4yA9JZzN8BUNoZEWv95xDtd7WnxdKFn8zj7EtVIuDGQy380IGT/ss7DV18pU7i2+tfdXqWfRjMATssVpz+LNiPJVgl88uaNZJjrCjH91nrL1CmEcnmR2ILe7sWRA1T65xsuWRZn/M2aYlTgUoOp7qenBM6s2vJlBw1JKJKWGDuZDkPoWkyYCM7pd1E4lGLcITqWvZbYZbyHgxMygb6RAFujXUBz01IOlVP6rbDhVo/VjMQdoBtdExABzWmDfdbSNrfprnRFWU861DIo9I4ywDOocLiFotmy2P+a+UtBTCvJeFYwCD5f9vX9+mJi+5JZ8SAMZ5+4wCkxnMh6wKCmx [email protected]
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=192.168.0.5:9910 -cvauth=token,/tmp/token -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
vlan internal order ascending range 1006 1199
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname s1-leaf3
dns domain atd.lab
!
spanning-tree mode mstp
no spanning-tree vlan-id 4094
spanning-tree mst 0 priority 16384
!
system l1
unsupported speed action error
unsupported error-correction action error
!
vlan 20
name Twenty
!
vlan 4094
name MLAG_PEER
trunk group MLAG
!
management api http-commands
no shutdown
!
vrf default
no shutdown
!
aaa authorization exec default local
!
interface Port-Channel1
description MLAG_PEER_s1-leaf4_Po1
switchport mode trunk
switchport trunk group MLAG
!
interface Port-Channel2
description SPINES_Po4
switchport trunk allowed vlan 20
switchport mode trunk
mlag 2
!
interface Port-Channel4
description s1-host2
switchport access vlan 20
mlag 4
spanning-tree portfast
!
interface Ethernet1
description MLAG_PEER_s1-leaf4_Ethernet1
channel-group 1 mode active
!
interface Ethernet2
description S1-SPINE1_Ethernet4
channel-group 2 mode active
!
interface Ethernet3
description S1-SPINE2_Ethernet4
channel-group 2 mode active
!
interface Ethernet4
description s1-host2_eth1
channel-group 4 mode active
!
interface Ethernet6
description MLAG_PEER_s1-leaf4_Ethernet6
channel-group 1 mode active
!
interface Management0
description oob_management
ip address 192.168.0.14/24
!
interface Vlan4094
description MLAG_PEER
mtu 1500
no autostate
ip address 10.1.253.0/31
!
no ip routing
!
mlag configuration
domain-id RACK2
local-interface Vlan4094
peer-address 10.1.253.1
peer-link Port-Channel1
reload-delay mlag 300
reload-delay non-mlag 330
!
ip route 0.0.0.0/0 192.168.0.1
!
ntp server 192.168.0.1 iburst local-interface Management0
!
end
Loading