Arista 7148S switches

From PDP/Grid Wiki
Jump to navigationJump to search

Core switches (Arista 7148S)

The 7100 series from Arista switches are different from all others. A few hints:

  • The serial port setting is 9600 8N1 with NO flow control
  • The local user is admin
  • It is not possible to configure the management part of this switch over the 10Gb fiber optics, you need to use the special RJ45 ports on the switch for this

Basic Configuration

To configure the switch with a hostname, ip, password.

enable
configure terminal
interface management 1
ip address <ip> <netmask>
ip route 0.0.0.0 0.0.0.0 <gateway>
hostname <name of switch>
username admin secret 0 <password>
end
copy running-config startup-config

Update OS

To update the system:

enable
copy http://webserver/EOS-4.2.2.swi flash:EOS-4.2.2.swi
configure terminal
boot  system flash:EOS-4.2.2.swi
write memory
reload

And now the arista switch is running EOS-4.2.2

SNMP Activation

To Activate SNMP on the switch for monitoring usage. This isn't active by default.

enable
configure terminal
snmp-server community public ro

Create Vlan

To create a vlan with a IP address and hook it up to a ethernet interface.

enable
configure terminal
vlan 2
interface vlan 2
ip address 10.x.y.z/24
interface ethernet 1
switchport access vlan 2

Create a Trunk

To create a trunk with tagged or untagged vlan's.

enable
configure terminal
int port-Channel 1
switchport mode trunk
switchport trunk allowed vlan 4,9

Or if you want a untagged trunk.

enable
configure terminal
int port-Channel 1
switchport access vlan 20

To add interfaces to this trunk:

interface ethernet <begin port number>-<end port number>
channelgroup 1 mode active