How to configure Arista switches » History » Version 2
Nico Schottelius, 07/10/2019 04:59 PM
| 1 | 1 | Nico Schottelius | h1. How to configure Arista switches |
|---|---|---|---|
| 2 | |||
| 3 | h2. Entering conf mode |
||
| 4 | |||
| 5 | <pre> |
||
| 6 | enable |
||
| 7 | conf |
||
| 8 | </pre> |
||
| 9 | |||
| 10 | h2. Setting password |
||
| 11 | |||
| 12 | <pre> |
||
| 13 | username admin secret <passwordhere> |
||
| 14 | </pre> |
||
| 15 | |||
| 16 | h2. Setting name |
||
| 17 | |||
| 18 | <pre> |
||
| 19 | hostname <NAME> |
||
| 20 | </pre> |
||
| 21 | |||
| 22 | h2. Creating a VLAN |
||
| 23 | |||
| 24 | <pre> |
||
| 25 | vlan <ID-OF-VLAN> |
||
| 26 | name <NAME-OF-VLAN> |
||
| 27 | </pre> |
||
| 28 | |||
| 29 | 2 | Nico Schottelius | h2. Putting a port into a untagged vlan |
| 30 | 1 | Nico Schottelius | |
| 31 | 2 | Nico Schottelius | <pre> |
| 32 | interface EthernetXX |
||
| 33 | switchport access vlan YY |
||
| 34 | </pre> |
||
| 35 | |||
| 36 | 1 | Nico Schottelius | h2. Creating a port channel (= LACP = bonding) |
| 37 | 2 | Nico Schottelius | |
| 38 | * go to the interface that you want to be in the port-channel |
||
| 39 | * configure it |
||
| 40 | |||
| 41 | <pre> |
||
| 42 | interface EthernetXX |
||
| 43 | channel-group XX mode active |
||
| 44 | </pre> |