Arista EOS VLAN & Switchport Config
VLAN database, SVI interfaces with VRRP, trunk and access switchport configuration for Arista switches running EOS.
What is it?
Arista EOS VLAN configuration uses Cisco IOS-compatible syntax — VLAN IDs, SVI interfaces (Vlan100), trunk/access port modes. The key difference is VRRP (Virtual Router Redundancy Protocol) for gateway redundancy on SVIs — Arista supports both VRRP and its own MLAG active-active model. In MLAG deployments, both switches share the same SVI IP (via MLAG IP sharing) so VRRP is not needed. For standalone or non-MLAG deployments, VRRP provides first-hop redundancy with a virtual gateway IP.
When to use
- ·Access and distribution layer VLAN segmentation on Arista EX/DCS switches
- ·Inter-VLAN routing with SVI gateways (replacing a separate router)
- ·Adding VRRP for gateway redundancy when two distribution switches serve the same VLANs
When NOT to use
- ·MLAG data center deployments — use MLAG IP sharing instead of VRRP; both switches can be active gateways simultaneously without VRRP
How it compares
Prerequisites
- →Management VRF and base config should be in place before adding VLANs
- →VLAN IDs agreed with upstream switches before configuration
- →VRRP virtual IP must not conflict with any physical interface IP or host address
- →For MLAG deployments: configure MLAG before adding VLANs to ensure consistency between peers
Config Generator
Verification commands
show vlanShow all VLANs, names, and member interfaces
ExpectedLists VLANs with status 'active' and member interfaces. 'Inactive' VLANs have no active ports.
show interfaces Vlan<id>Verify SVI interface is up and has correct IP
ExpectedProtocol should be 'up'. If 'down', no active ports are in the VLAN.
show vrrpShow VRRP state for all SVIs with VRRP configured
ExpectedMaster shows 'Master', backup shows 'Backup'. Both should show the virtual IP.
Debug commands
show interfaces trunkShow trunk port status and which VLANs are actually passing
Common mistakes & fixes
Further learning
Recommended books to go deeper on this topic.
CCNA 200-301 Official Cert Guide Library
Wendell Odom · Cisco Press · VLANs, trunk ports, DTP, VTP, inter-VLAN routing
CCNP Enterprise Core ENCOR 350-401 Official Cert Guide
Brad Edgeworth et al. · Cisco Press · Advanced switching — STP, RSTP, MST, PVST+