User Manual Arista Networks www.arista.com Arista EOS version 4.18.1F 30 March 2017 Headquarters Support Sales 5453GreatAmericaParkway SantaClara,CA95054 USA (408)547-5502 (408)547-5501 (408)547-5500 (866)476-0000 (866)497-0000 www.arista.com [email protected] [email protected] ©Copyright2017AristaNetworks,Inc.Theinformationcontainedhereinissubjecttochange withoutnotice.AristaNetworksandtheAristalogoaretrademarksofAristaNetworks,Inc.,inthe UnitedStatesandothercountries.Otherproductorservicenamesmaybetrademarksorservice marksofothers. ii Table of Contents Chapter 1 Overview.........................................................................................................................1 Chapter 2 Initial Configuration and Recovery...............................................................................3 InitialSwitchAccess...........................................................................................................................................3 ConnectionManagement...................................................................................................................................9 ConfigureSession............................................................................................................................................10 RecoveryProcedures.......................................................................................................................................14 SessionManagementCommands...................................................................................................................18 Chapter 3 Command-Line Interface.............................................................................................47 AccessingtheEOSCLI....................................................................................................................................47 ProcessingCommands....................................................................................................................................48 Kernel-basedVirtualMachineCommandsandConfiguration..........................................................................54 SwitchPlatforms...............................................................................................................................................60 CommandModes.............................................................................................................................................72 ManagingSwitchConfigurationSettings..........................................................................................................75 OtherCommand-LineInterfaces......................................................................................................................78 CommonCriteria(CC)......................................................................................................................................79 DirectoryStructure............................................................................................................................................80 Command-LineInterfaceCommands...............................................................................................................81 Chapter 4 AAA Configuration.....................................................................................................145 Authorization,Authentication,andAccountingOverview...............................................................................145 ConfiguringtheSecurityServices..................................................................................................................147 ServerGroups................................................................................................................................................155 RoleBasedAuthorization...............................................................................................................................156 ActivatingSecurityServices...........................................................................................................................165 TACACS+ConfigurationExamples................................................................................................................168 AAACommands.............................................................................................................................................170 Chapter 5 Administering the Switch..........................................................................................227 ManagingtheSwitchName............................................................................................................................227 ManagingtheSystemClock...........................................................................................................................230 SynchronizingtheTimeSettings....................................................................................................................232 ManagingDisplayAttributes...........................................................................................................................242 EventMonitor.................................................................................................................................................244 SwitchAdministrationCommands..................................................................................................................248 Chapter 6 Booting the Switch.....................................................................................................325 BootLoader–Aboot.......................................................................................................................................325 ConfigurationFiles..........................................................................................................................................326 SupervisorRedundancy.................................................................................................................................330 SystemReset.................................................................................................................................................332 AbootShell.....................................................................................................................................................337 AbootConfigurationCommands....................................................................................................................341 SwitchBootingCommands............................................................................................................................346 Chapter 7 Upgrades and Downgrades.......................................................................................365 Upgrade/DowngradeOverview......................................................................................................................365 AcceleratedSoftwareUpgrade(ASU)............................................................................................................366 LeafSmartSystemUpgrade(LeafSSU).......................................................................................................370 StandardUpgradesandDowngrades............................................................................................................377 iii Upgrade/DowngradeCommands...................................................................................................................385 Chapter 8 Switch Environment Control.....................................................................................389 EnvironmentControlIntroduction...................................................................................................................389 EnvironmentControlOverview.......................................................................................................................389 ConfiguringandViewingEnvironmentSettings.............................................................................................391 EnvironmentCommands................................................................................................................................396 Chapter 9 Maintenance Mode.....................................................................................................409 Overview.........................................................................................................................................................410 MaintenanceModeElements.........................................................................................................................411 MaintenanceModeFeatures..........................................................................................................................416 MaintenanceModeConfiguration...................................................................................................................417 MaintenanceModeCommands......................................................................................................................433 Chapter 10 Ethernet Ports.............................................................................................................485 EthernetPortsIntroduction.............................................................................................................................485 EthernetStandards.........................................................................................................................................485 EthernetPhysicalLayer..................................................................................................................................488 Interfaces........................................................................................................................................................491 EthernetConfigurationProcedures................................................................................................................494 EthernetConfigurationCommands................................................................................................................515 Chapter 11 Port Channels and LACP...........................................................................................549 PortChannelIntroduction...............................................................................................................................549 PortChannelConceptualOverview...............................................................................................................549 PortChannelConfigurationProcedures.........................................................................................................552 LoadBalancingHashAlgorithms...................................................................................................................557 PortChannelandLACPConfigurationCommands.......................................................................................562 Chapter 12 Multi-Chassis Link Aggregation...............................................................................611 MLAGIntroduction..........................................................................................................................................611 MLAGConceptualOverview..........................................................................................................................612 MLAGMaintenance........................................................................................................................................614 ConfiguringMLAG..........................................................................................................................................617 MLAGImplementationExample.....................................................................................................................624 MLAGCommands..........................................................................................................................................633 Chapter 13 802.1x Port Security...................................................................................................651 802.1xPortSecurityIntroduction...................................................................................................................651 802.1xPortSecurityDescription....................................................................................................................652 Configuring802.1xPortSecurity....................................................................................................................657 Displaying802.1xinformation........................................................................................................................660 IEEE802.1xConfigurationCommands..........................................................................................................662 Chapter 14 DCBX and Flow Control.............................................................................................675 Introduction.....................................................................................................................................................675 DCBXandPriority-BasedFlowControlOverview..........................................................................................676 DCBXandPFCConfigurationandVerificationProcedures...........................................................................677 DCBXandFlowControlConfigurationCommands........................................................................................679 Chapter 15 LLDP............................................................................................................................693 LLDPIntroduction...........................................................................................................................................693 LLDPOverview...............................................................................................................................................693 LLDPConfigurationProcedures.....................................................................................................................695 iv LLDPConfigurationCommands.....................................................................................................................701 Chapter 16 Data Transfer..............................................................................................................719 DataTransferIntroduction..............................................................................................................................719 DataTransferMethods...................................................................................................................................720 MACAddressTable.......................................................................................................................................724 ConfiguringPorts............................................................................................................................................728 MonitoringLinks.............................................................................................................................................738 DataTransferCommandDescriptions...........................................................................................................750 Chapter 17 Tap Aggregation.........................................................................................................833 TapAggregationIntroduction.........................................................................................................................833 TapAggregationDescription..........................................................................................................................834 TapAggregationConfiguration.......................................................................................................................838 TapAggregationTrafficSteering....................................................................................................................845 TapAggregationGUI......................................................................................................................................848 KeyframeandTimestampConfiguration........................................................................................................850 TapAggregationCommandDescriptions.......................................................................................................852 Chapter 18 VLANs..........................................................................................................................889 VLANIntroduction..........................................................................................................................................889 VLANConceptualOverview...........................................................................................................................889 VLANConfigurationProcedures....................................................................................................................892 VLANConfigurationCommands....................................................................................................................900 Chapter 19 VXLAN.........................................................................................................................931 VXLANIntroduction........................................................................................................................................931 VXLANDescription.........................................................................................................................................932 VXLANConfiguration.....................................................................................................................................938 VXLANCommandDescriptions.....................................................................................................................952 Chapter 20 ACLs and Route Maps...............................................................................................971 ACL,RouteMap,andPrefixListIntroduction................................................................................................971 AccessControlLists.......................................................................................................................................972 RouteMaps....................................................................................................................................................987 PrefixLists......................................................................................................................................................992 ACL,RouteMap,andPrefixListCommands.................................................................................................996 Chapter 21 VRRP and VARP.......................................................................................................1053 VRRPandVARPConceptualOverview.......................................................................................................1053 VRRPandVARPImplementationProcedures.............................................................................................1055 VRRPandVARPImplementationExamples...............................................................................................1063 VRRPandVARPConfigurationCommands................................................................................................1068 Chapter 22 Spanning Tree Protocol...........................................................................................1095 IntroductiontoSpanningTreeProtocols......................................................................................................1095 SpanningTreeOverview..............................................................................................................................1095 ConfiguringaSpanningTree........................................................................................................................1102 STPCommands...........................................................................................................................................1117 Chapter 23 Quality of Service.....................................................................................................1185 QualityofServiceConceptualOverview......................................................................................................1185 QoSConfiguration:AradPlatformSwitches.................................................................................................1190 QoSConfiguration:JerichoPlatformSwitches.............................................................................................1201 QoSConfiguration:FM6000PlatformSwitches...........................................................................................1212 v QoSConfiguration:PetraPlatformSwitches................................................................................................1220 QoSConfiguration:TridentPlatformSwitches.............................................................................................1229 QoSConfiguration:Trident-IIandHelixPlatformSwitches..........................................................................1240 QualityofServiceConfigurationCommands................................................................................................1247 Chapter 24 IPv4............................................................................................................................1323 IPv4Addressing...........................................................................................................................................1323 IPv4Routing.................................................................................................................................................1331 IPv4MulticastCounters................................................................................................................................1336 RouteManagement......................................................................................................................................1340 IPv4RouteScale..........................................................................................................................................1345 IPSourceGuard...........................................................................................................................................1349 DHCPRelayAcrossVRF.............................................................................................................................1351 IPNAT..........................................................................................................................................................1354 IPv4CommandDescriptions........................................................................................................................1362 Chapter 25 IPv6............................................................................................................................1455 Introduction...................................................................................................................................................1455 IPv6Description...........................................................................................................................................1456 ConfiguringIPv6...........................................................................................................................................1458 IPv6CommandDescriptions........................................................................................................................1467 Chapter 26 Traffic Management.................................................................................................1513 TrafficManagementConceptualOverview..................................................................................................1513 TrafficManagementConfiguration–AradPlatformSwitches......................................................................1516 TrafficManagementConfiguration–FM6000PlatformSwitches................................................................1521 TrafficManagementConfiguration–PetraPlatformSwitches.....................................................................1529 TrafficManagementConfiguration–TridentPlatformSwitches..................................................................1532 TrafficManagementConfiguration–Trident-IIPlatformSwitches...............................................................1541 TrafficManagementConfigurationCommands............................................................................................1544 Chapter 27 Open Shortest Path First – Version 2.....................................................................1625 OSPFv2Introduction....................................................................................................................................1625 OSPFv2ConceptualOverview.....................................................................................................................1626 ConfiguringOSPFv2.....................................................................................................................................1629 OSPFv2Examples.......................................................................................................................................1645 OSPFv2Commands.....................................................................................................................................1654 Chapter 28 Open Shortest Path First – Version 3.....................................................................1719 OSPFv3Introduction....................................................................................................................................1719 OSPFv3ConceptualOverview.....................................................................................................................1720 ConfiguringOSPFv3.....................................................................................................................................1723 OSPFv3Examples.......................................................................................................................................1734 OSPFv3Commands.....................................................................................................................................1742 Chapter 29 Border Gateway Protocol (BGP).............................................................................1789 BGPConceptualOverview...........................................................................................................................1790 ConfiguringBGP...........................................................................................................................................1792 BGPExamples.............................................................................................................................................1807 BGPCommands...........................................................................................................................................1810 Chapter 30 Routing Information Protocol.................................................................................1911 RIPConceptualOverview............................................................................................................................1911 RunningRIPontheSwitch...........................................................................................................................1912 ConfiguringRIPonMultipleVRFs................................................................................................................1915 vi RIPCommands............................................................................................................................................1916 Chapter 31 IS-IS...........................................................................................................................1933 IS-ISIntroduction..........................................................................................................................................1933 IS-IS..............................................................................................................................................................1933 IS-ISCommandDescriptions.......................................................................................................................1943 Chapter 32 Multiprotocol Label Switching (MPLS)...................................................................1983 MPLS............................................................................................................................................................1983 DecapGroups..............................................................................................................................................1986 NexthopGroups...........................................................................................................................................1987 MPLSCommandDescriptions.....................................................................................................................1992 Chapter 33 Bidirectional Forwarding Detection........................................................................2009 Introduction...................................................................................................................................................2009 BFDConfiguration........................................................................................................................................2011 BFDCommandDescriptions........................................................................................................................2015 Chapter 34 Multicast Architecture..............................................................................................2029 Introduction...................................................................................................................................................2029 MulticastArchitectureDescription................................................................................................................2030 MulticastConfiguration.................................................................................................................................2032 MulticastCommands....................................................................................................................................2037 Chapter 35 IGMP and IGMP Snooping.......................................................................................2055 Introduction...................................................................................................................................................2055 IGMPProtocols............................................................................................................................................2056 ConfiguringIGMP.........................................................................................................................................2058 ConfiguringIGMPSnooping.........................................................................................................................2061 IGMPHostProxy..........................................................................................................................................2070 IGMPandIGMPSnoopingCommands........................................................................................................2073 Chapter 36 Protocol Independent Multicast..............................................................................2153 Introduction...................................................................................................................................................2153 ConfiguringPIM............................................................................................................................................2156 MulticastExample........................................................................................................................................2160 PIMCommands............................................................................................................................................2164 Chapter 37 Multicast Source Discovery Protocol.....................................................................2197 MSDPIntroduction.......................................................................................................................................2197 MSDPDescription........................................................................................................................................2198 MSDPConfiguration.....................................................................................................................................2201 MSDPCommands........................................................................................................................................2209 Chapter 38 Audio Video Bridging (AVB)....................................................................................2233 AVBOverview..............................................................................................................................................2233 AVBProtocols..............................................................................................................................................2234 AVBConfiguration........................................................................................................................................2237 AVBCommandDescriptions........................................................................................................................2241 Chapter 39 SNMP.........................................................................................................................2255 SNMPIntroduction.......................................................................................................................................2255 SNMPConceptualOverview........................................................................................................................2255 ConfiguringSNMP........................................................................................................................................2256 SNMPCommands........................................................................................................................................2263 vii Chapter 40 Latency Analyzer (LANZ).........................................................................................2295 IntroductiontoLANZ.....................................................................................................................................2295 LANZOverview............................................................................................................................................2295 ConfiguringLANZ.........................................................................................................................................2297 LANZCommands.........................................................................................................................................2307 Chapter 41 VM Tracer..................................................................................................................2337 VMTracerIntroduction.................................................................................................................................2337 VMTracerDescription..................................................................................................................................2338 VMTracerConfigurationProcedures...........................................................................................................2340 VMTracerConfigurationCommands...........................................................................................................2344 Chapter 42 Path Tracer................................................................................................................2367 PathTracerDescription................................................................................................................................2367 PathTracerConfiguration............................................................................................................................2372 PathTracerCommandDescriptions............................................................................................................2381 Chapter 43 MapReduce Tracer...................................................................................................2403 MapReduceTracerIntroduction...................................................................................................................2403 MapReduceTracerConfiguration................................................................................................................2405 DisplayingMapReduceTracerResults........................................................................................................2410 MapReduceTracerCommandDescriptions................................................................................................2415 Chapter 44 sFlow.........................................................................................................................2463 sFlowConceptualOverview.........................................................................................................................2463 sFlowConfigurationProcedures..................................................................................................................2466 sFlowConfigurationCommands..................................................................................................................2468 Chapter 45 OpenFlow..................................................................................................................2483 OpenFlowIntroduction.................................................................................................................................2483 OpenFlowDescription..................................................................................................................................2483 OpenFlowConfiguration...............................................................................................................................2491 OpenFlowCommandDescriptions...............................................................................................................2494 Chapter 46 DirectFlow.................................................................................................................2519 Introduction...................................................................................................................................................2519 DirectFlowConfiguration..............................................................................................................................2522 DirectFlowFeatureInteractions....................................................................................................................2525 DirectFlowCommandDescriptions..............................................................................................................2528 viii Command Reference Chapter 1 Overview.........................................................................................................................1 Chapter 2 Initial Configuration and Recovery...............................................................................3 domain(XMPPManagement) .........................................................................................................................19 idle-timeout(ConsoleManagement) ...............................................................................................................20 idle-timeout(SSHManagement) .....................................................................................................................21 idle-timeout(TelnetManagement) ...................................................................................................................22 managementapihttp-commands ....................................................................................................................23 managementconsole ......................................................................................................................................24 managementssh .............................................................................................................................................25 managementtelnet ..........................................................................................................................................26 managementxmpp ..........................................................................................................................................27 protocolhttp(APIManagement) ......................................................................................................................28 protocolhttps(APIManagement) ....................................................................................................................29 protocolhttpscertificate(APIManagement) ...................................................................................................30 server(XMPPManagement) ...........................................................................................................................31 sessionprivilege(XMPPManagement) ..........................................................................................................32 showinventory .................................................................................................................................................33 showxmppneighbors ......................................................................................................................................34 showxmppstatus ............................................................................................................................................35 showxmppswitch-group .................................................................................................................................36 shutdown(APIManagement) ..........................................................................................................................37 shutdown(TelnetManagement) ......................................................................................................................38 shutdown(XMPPManagement) ......................................................................................................................39 switch-group(XMPPManagement) .................................................................................................................40 username(XMPPManagement) .....................................................................................................................41 vrf(APIManagement) .....................................................................................................................................42 vrf(XMPPManagement) .................................................................................................................................43 xmppsend .......................................................................................................................................................44 xmppsession ...................................................................................................................................................45 Chapter 3 Command-Line Interface.............................................................................................47 actionbash ......................................................................................................................................................83 alias .................................................................................................................................................................84 bash .................................................................................................................................................................85 boottestmemory .............................................................................................................................................86 comment(variousconfigurationmodes) .........................................................................................................87 configure(configureterminal) ..........................................................................................................................88 ix configurenetwork ............................................................................................................................................89 copyrunning-config .........................................................................................................................................90 daemon ............................................................................................................................................................91 delay ................................................................................................................................................................92 dir .....................................................................................................................................................................93 disable .............................................................................................................................................................94 enable ..............................................................................................................................................................95 end ...................................................................................................................................................................96 entropysourcehardware .................................................................................................................................97 event-handler ...................................................................................................................................................98 exit ...................................................................................................................................................................99 fipsrestrictions(SSHManagement) ..............................................................................................................100 hostkeyclientstrict-checking(SSHManagement) ........................................................................................101 ipftpclientsource-interface ...........................................................................................................................102 iphttpclientsource-interface .........................................................................................................................103 ipsshclientsource-interface .........................................................................................................................104 iptftpclientsource-interface ..........................................................................................................................105 known-hosts(SSHManagement) ..................................................................................................................106 local(SSHManagement-Tunnel) ..................................................................................................................107 logginghost ...................................................................................................................................................108 loggingsource-interface ................................................................................................................................109 loggingtrapsystem .......................................................................................................................................110 log-level(SSHManagement) ........................................................................................................................112 managementsecurity ....................................................................................................................................113 platformaradlagmode ..................................................................................................................................114 platformsandfabricmode(7500and7500ESeries) ....................................................................................115 platformsandforwardingmode(7500and7500ESeries) ............................................................................117 pwd ................................................................................................................................................................119 remote(SSHManagement-Tunnel) ..............................................................................................................120 schedule ........................................................................................................................................................121 secrethash ....................................................................................................................................................123 sendlogmessage .........................................................................................................................................124 server-alivecount-max(SSHManagement-Tunnel) .....................................................................................125 server-aliveinterval(SSHManagement-Tunnel) ..........................................................................................126 show(variousconfigurationmodes) ..............................................................................................................127 showevent-handler .......................................................................................................................................128 showmanagementsshhostkey ....................................................................................................................129 showmodule .................................................................................................................................................130 showplatformsandcompatibility ...................................................................................................................133 showschedule ...............................................................................................................................................134 showschedulesummary ...............................................................................................................................135 showversion ..................................................................................................................................................136 shutdown(SSHManagement-Tunnel) ..........................................................................................................137 ssh .................................................................................................................................................................138 terminallength ...............................................................................................................................................140 terminalmonitor .............................................................................................................................................141 x
Description: