Difference between revisions of "Arista EOS"
From HackerNet
Helikopter (talk | contribs) |
Helikopter (talk | contribs) m (→Diverse) |
||
Line 38: | Line 38: | ||
=Diverse= | =Diverse= | ||
+ | Show the current running-config for this sub mode | ||
+ | show active | ||
===Syslog=== | ===Syslog=== |
Revision as of 21:47, 21 November 2015
EOS levereras som en image som kan köras på alla plattformar, även som virtuel maskin.
Contents
vEOS
vEOS fungerar på de flesta virtualiseringsplattformar inklusive KVM, VirtualBox, ESXi och Hyper-V. En del features saknar vEOS stöd för, t.ex. mpls och storm-control.
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
Show the current running-config for this sub mode
show active
Syslog
logging buffered 10000 notifications logging host 10.0.0.12 show logging show logg last 10 min
Slå på loggmeddelanden i SSH terminal.
terminal monitor
NTP
ntp server 10.0.0.12
DNS
ip name-server 8.8.8.8 show hosts
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>
CLI history
show history
Iperf
Iperf finns inbyggt i EOS. Dock tillåts inte tcp 5001 default.
bash sudo iptables -I INPUT -p tcp -m tcp --dport 5001 -j ACCEPT iperf -s
Klient
iperf -c 10.0.0.10
Yum
Yum finns inbyggt i EOS men det finns inga repos default.
bash sudo nano /etc/yum.repos.d/fedora.repo [fedora] name=Fedora 14 – i386 failovermethod=priority baseurl=http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/i386/os/ exclude=kernel,fedora-logos enabled=1 gpgcheck=0
sudo yum install iftop