Project

General

Profile

How to configure Arista switches » History » Revision 4

Revision 3 (Nico Schottelius, 07/10/2019 05:13 PM) → Revision 4/15 (Nico Schottelius, 07/10/2019 05:28 PM)

h1. How to configure Arista switches 

 {{toc}} 

 h2. Saving your changes 

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

 <pre> 
 write 
 </pre> 

 h2. Entering conf mode 

 <pre> 
 enable 
 conf 
 </pre> 

 h2. Setting password 

 <pre> 
 username admin secret <passwordhere> 
 </pre> 

 h2. Setting name 

 <pre> 
 hostname <NAME> 
 </pre> 

 h2. Creating a VLAN 

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

 h2. Putting a port into a untagged vlan 

 <pre> 
 interface EthernetXX 
    switchport access vlan YY 
 </pre> 

 h2. Creating a port channel (= LACP = bonding) 

 * go to the interface that you want to be in the port-channel 
 * configure it 

 <pre> 
 interface EthernetXX 
    channel-group XX mode active 
 </pre> 


 h2. Upgrading a switch 

 * copy the image from usb to flash 
 * change the boot config 
 * reload 

 <pre> 
 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 
 </pre>