Difference between revisions of "Arista EOS"
From HackerNet
Helikopter (talk | contribs) m |
Helikopter (talk | contribs) m (SSH-nyckel) |
||
Line 8: | Line 8: | ||
=Konfiguration= | =Konfiguration= | ||
− | Grundkonfiguration | + | Grundkonfiguration |
+ | hostname vEOS-01 | ||
+ | username wizkid privilege 15 secret <password> | ||
+ | show user-account | ||
+ | |||
+ | Management interface | ||
+ | interface Management1 | ||
+ | ip address 10.0.0.10/24 | ||
+ | no shut | ||
===SSH=== | ===SSH=== | ||
− | + | SSH är påslaget default | |
− | SSH är påslaget default | ||
management ssh | management ssh | ||
idle-timeout 1800 | idle-timeout 1800 | ||
+ | Autentisering med SSH-nyckel | ||
+ | copy scp:user@jumphost/home/user/.ssh/id_rsa.pub flash: | ||
+ | username user sshkey file flash:id_rsa.pub | ||
===Management VRF=== | ===Management VRF=== | ||
Line 23: | Line 33: | ||
vrf forwarding MGMT | vrf forwarding MGMT | ||
ip address 10.0.0.10 255.255.255.0 | ip address 10.0.0.10 255.255.255.0 | ||
+ | |||
+ | =Diverse= | ||
===Syslog=== | ===Syslog=== |
Revision as of 13:12, 26 October 2015
EOS levereras som en image som kan köras på alla plattformar, även som virtuel maskin. EOS fungerar på de flesta virtualiseringsplattformar inklusive KVM, VirtualBox, ESXi och Hyper-V.
Contents
Installation
För nyare vEOS (4.15) vill man ha 2GB RAM.
VMware
https://eos.arista.com/running-veos-on-esxi-5-5/
Konfiguration
Grundkonfiguration
hostname vEOS-01 username wizkid privilege 15 secret <password> show user-account
Management interface
interface Management1 ip address 10.0.0.10/24 no shut
SSH
SSH är påslaget default
management ssh idle-timeout 1800
Autentisering med SSH-nyckel
copy scp:user@jumphost/home/user/.ssh/id_rsa.pub flash: username user sshkey file flash:id_rsa.pub
Management VRF
vrf definition MGMT rd 100:100
Första porten är Ma1
interface ma1 vrf forwarding MGMT ip address 10.0.0.10 255.255.255.0
Diverse
Syslog
logging buffered 10000 notifications logging host 10.0.0.12 show logging
Slå på loggmeddelanden i SSH terminal.
terminal monitor
NTP
ntp server 10.0.0.12
DNS
ip name-server 8.8.8.8
Port mirroring
monitor session 1 source interface <interface> [ rx | tx | both ] monitor session 1 destination <interface>
Begränsa på IP vad som ska speglas.
monitor session 1 ip access-group <ACL name>