How to configure Arista switches » History » Version 3
Nico Schottelius, 07/10/2019 05:13 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> |