Project

General

Profile

Actions

How to configure Arista switches » History » Revision 6

« Previous | Revision 6/15 (diff) | Next »
Nico Schottelius, 07/10/2019 06:04 PM


How to configure Arista switches

Saving your changes

If you don't enter write at the end, everything is lost after reboot.

write

Entering conf mode

enable
conf

Setting password

username admin secret <passwordhere>

Setting name

hostname <NAME>

Creating a VLAN

vlan <ID-OF-VLAN>
name <NAME-OF-VLAN>

Putting a port into a untagged vlan

interface EthernetXX
   switchport access vlan YY

Creating a port channel (= LACP = bonding)

  • go to the interface that you want to be in the port-channel
  • configure it
interface EthernetXX
   channel-group XX mode active

Upgrading a switch

  • copy the image from usb to flash
  • change the boot config
  • don't forget to write
  • reload
copy usb1:/EOS-4.14.4.swi flash:/EOS-4.14.4.swi
configure terminal
boot system flash:/EOS-4.14.4.swi
show boot-config
write
reload

Configuring MLAG

  • Create a port channel for communication
  • Configure the mlag over it
mlag configuration
   domain-id MLAGLOCALDOMAIN
   local-interface VlanXX
   peer-address 10.3.4.4
   peer-link Port-ChannelYY

Configuring BGP

  • XX = ip suffix
router bgp 209898
   router-id 0.0.0.XX
   bgp default ipv6-unicast
   maximum-paths 4
   bgp listen range 2a0a:e5c0:1:8::/64 peer-group ungleich remote-as 209898
   neighbor ungleich peer-group
   neighbor ungleich maximum-routes 12000 

Updated by Nico Schottelius almost 5 years ago · 6 revisions