How to configure Arista switches » History » Version 4
Nico Schottelius, 07/10/2019 05:28 PM
1 | 1 | Nico Schottelius | h1. How to configure Arista switches |
---|---|---|---|
2 | |||
3 | 3 | Nico Schottelius | {{toc}} |
4 | |||
5 | h2. Saving your changes |
||
6 | |||
7 | If you don't enter write at the end, everything is lost after reboot. |
||
8 | |||
9 | <pre> |
||
10 | write |
||
11 | </pre> |
||
12 | |||
13 | 1 | Nico Schottelius | h2. Entering conf mode |
14 | |||
15 | <pre> |
||
16 | enable |
||
17 | conf |
||
18 | </pre> |
||
19 | |||
20 | h2. Setting password |
||
21 | |||
22 | <pre> |
||
23 | username admin secret <passwordhere> |
||
24 | </pre> |
||
25 | |||
26 | h2. Setting name |
||
27 | |||
28 | <pre> |
||
29 | hostname <NAME> |
||
30 | </pre> |
||
31 | |||
32 | h2. Creating a VLAN |
||
33 | |||
34 | <pre> |
||
35 | vlan <ID-OF-VLAN> |
||
36 | name <NAME-OF-VLAN> |
||
37 | </pre> |
||
38 | |||
39 | 2 | Nico Schottelius | h2. Putting a port into a untagged vlan |
40 | 1 | Nico Schottelius | |
41 | 2 | Nico Schottelius | <pre> |
42 | interface EthernetXX |
||
43 | switchport access vlan YY |
||
44 | </pre> |
||
45 | |||
46 | 1 | Nico Schottelius | h2. Creating a port channel (= LACP = bonding) |
47 | 2 | Nico Schottelius | |
48 | * go to the interface that you want to be in the port-channel |
||
49 | * configure it |
||
50 | |||
51 | <pre> |
||
52 | interface EthernetXX |
||
53 | channel-group XX mode active |
||
54 | </pre> |
||
55 | 4 | Nico Schottelius | |
56 | |||
57 | h2. Upgrading a switch |
||
58 | |||
59 | * copy the image from usb to flash |
||
60 | * change the boot config |
||
61 | * reload |
||
62 | |||
63 | <pre> |
||
64 | copy usb1:/EOS-4.14.4.swi flash:/EOS-4.14.4.swi |
||
65 | configure terminal |
||
66 | boot system flash:/EOS-4.14.4.swi |
||
67 | show boot-config |
||
68 | write |
||
69 | reload |
||
70 | </pre> |