Skip to content
TheChatArchiveThe Chat Archive
Perplexitysonar-reasoning· PerplexityHugging Face LMArena Search Arena 24K

Provide me the commands that I need to configure BGP EVPN on an Arista network switch.…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with gpt-4o-mini-search-preview’s answer.
  1. User

    Provide me the commands that I need to configure BGP EVPN on an Arista network switch. Provide the CLI commands.

  2. Perplexity Assistant

    To configure BGP EVPN on an Arista switch, use the following CLI commands. These steps cover basic EVPN setup with VXLAN encapsulation, BGP peering, and VLAN-to-VNI mapping:

    Basic BGP EVPN Configuration

    ! Enable IP routing and enter global config mode
    configure terminal
    ip routing
    
    ! Configure BGP instance and enter BGP config mode
    router bgp <as_number>
      router-id <loopback_ip>
      no bgp default ipv4-unicast
      neighbor EVPN peer-group
      neighbor EVPN remote-as <remote_as>
      neighbor EVPN update-source <loopback_interface>
      neighbor <peer_ip> peer-group EVPN
      !
      address-family evpn
        neighbor EVPN activate
        neighbor EVPN send-community extended
      exit-address-family
    

    VXLAN Configuration

    ! Configure VXLAN interface and VLAN-VNI mapping
    interface Vxlan1
      vxlan source-interface <loopback_interface>
      vxlan udp-port 4789
      vxlan vlan <vlan_id> vni <vni_number>
    

    Advanced Configuration (Optional)

    For E-Tree leaf role (per VLAN):

    vlan <vlan_id>
      e-tree role leaf
      remote leaf host drop
    

    For route distinguisher/route-target in VRF:

    router bgp <as_number>
      vrf <vrf_name>
        rd <ip:value>
        route-target both <rt_value>
    

    For multi-homing (Ethernet Segment):

    router bgp <as_number>
      address-family evpn
        evpn ethernet-segment domain local
          identifier <es_id>
          route-target import <rt_value>
    

    Verification Commands

    show bgp evpn summary
    show vxlan vtep
    show e-tree vlan
    

    Key considerations:

    • Replace <as_number>, <vlan_id>, and <vni_number> with your network values
    • Use extended communities for EVPN route distribution[7]
    • Configure VXLAN source interface (typically loopback)[1][7]
    • For MLAG configurations, add trunk group mlag-peer to relevant interfaces[7]

    For multihomed EVPN deployments, additional commands are required for Ethernet Segment Identifiers (ESI) and route-target configurations[2][5]. The exact implementation depends on your network's role (leaf/spine) and redundancy requirements.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.