• Introduction to Managing EOS Devices – Configuration Example

 
 
Print Friendly, PDF & Email

Note: This article is part of the Introduction to Managing EOS Devices series:

https://eos.arista.com/introduction-to-managing-eos-devices/ 

 

 

Annex A – Configuration Example

 

This section provides an example of switch configuration file. It retrieves many of the management settings covered in the series Introduction to Managing EOS Devices, grouped here for convenience, but it is not exhaustive.

 

!
username <Username> secret <User_password>
no logging console
logging format timestamp high-resolution
logging facility local6
!
hostname <Hostname>
ip name-server <DNSHost_Address>
ip name-server <DNSHost_Address>
ip domain-name <Company_DomainName>
!
ntp source Management1
ntp server <NTPHost_Address-1> prefer
ntp server <NTPHost_Address-2
!
snmp-server contact "Enterprise Network Operations xxx-xxx-xxxx"
snmp-server location <bldg/floor/room/rack>
snmp-server source-interface Management1
snmp-server community <SNMP-community> ro RO-SNMP-ACL
snmp-server host <SNMPHost_Address> traps version 2c <SNMP-community>
snmp-server enable traps entity
snmp-server enable traps lldp
snmp-server enable traps snmp
!
tacacs-server key <TacacsServer-key>
tacacs-server host <TacacsServer-1>
ip tacacs source-interface Management1
!
aaa authentication login default group tacacs+ local
aaa authentication enable default group tacacs+ local
aaa authorization console
aaa authorization exec default group tacacs+ none
aaa authorization commands 1,15 default group tacacs+ none
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
!
no aaa root
!
banner login
This system is privately owned and operated. Access
to this system is restricted to authorized users
only. Criminal and civil laws prohibit unauthorized
use. Violators will be prosecuted. You must disconnect
immediately if you are not an authorized user.
EOF
!
management api http-commands
  no shutdown
!

 

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: