Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-mini-2025-04-14· OpenAIHugging Face LMArena Human Preference 140K

now provide commands to configure bgp on cisco nexus 3548 switch

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Metallama-4-maverick-17b-128e-instruct’s answer.
  1. User

    now provide commands to configure bgp on cisco nexus 3548 switch

  2. Assistant

    Certainly! Below is an example of how to configure BGP EVPN on a Cisco Nexus 3548 switch. This example aligns with the Arista config style I provided earlier, with:

    • 1 Spine (Nexus 3548 acting as Spine)
    • 1 Leaf (Nexus 3548 acting as Leaf)

    Assumptions:

    DeviceHostnameASNLoopback0 IPVTEP IP (same as Loopback0)
    SpineSpine16500010.0.0.1/32N/A
    LeafLeaf16510110.0.0.2/3210.0.0.2

    Spine1 (Nexus 3548) BGP EVPN Configuration

    configure terminal
    
    ! Configure Loopback0 interface
    interface loopback0
      ip address 10.0.0.1/32
      no shutdown
    
    ! Enable feature bgp and nv overlay
    feature bgp
    feature nv overlay
    
    ! Configure BGP
    router bgp 65000
      router-id 10.0.0.1
      no bgp default ipv4-unicast
    
      neighbor LEAF1 peer-group
      neighbor LEAF1 remote-as 65101
      neighbor LEAF1 update-source loopback0
    
      neighbor 10.0.0.2 peer-group LEAF1
    
      address-family l2vpn evpn
        neighbor LEAF1 activate
      exit-address-family
    
    exit
    

    Leaf1 (Nexus 3548) BGP EVPN + VXLAN Configuration

    configure terminal
    
    ! Configure Loopback0 interface
    interface loopback0
      ip address 10.0.0.2/32
      no shutdown
    
    ! Enable features
    feature bgp
    feature nv overlay
    feature interface-vlan
    
    ! Configure VLANs and SVIs
    vlan 10
      name VLAN10
    vlan 20
      name VLAN20
    
    interface vlan10
      ip address 192.168.10.1/24
      no shutdown
    
    interface vlan20
      ip address 192.168.20.1/24
      no shutdown
    
    ! Configure NVE interface for VXLAN
    interface nve1
      no shutdown
      source-interface loopback0
      member vni 1010
        ingress-replication protocol bgp
      member vni 1020
        ingress-replication protocol bgp
    
    ! Map VLANs to VNIs
    vni 1010
      vlan 10
    vni 1020
      vlan 20
    
    ! Configure BGP
    router bgp 65101
      router-id 10.0.0.2
      no bgp default ipv4-unicast
    
      neighbor SPINE1 peer-group
      neighbor SPINE1 remote-as 65000
      neighbor SPINE1 update-source loopback0
    
      neighbor 10.0.0.1 peer-group SPINE1
    
      address-family l2vpn evpn
        neighbor SPINE1 activate
        advertise-all-vni
      exit-address-family
    
    exit
    

    Notes:

    • feature nv overlay enables VXLAN/NV overlay on Nexus 3548.
    • interface nve1 is the VXLAN Tunnel Endpoint interface.
    • BGP EVPN runs under the l2vpn evpn address-family.
    • ingress-replication protocol bgp enables BGP-based EVPN control plane for VXLAN.
    • VLAN to VNI mapping is done via vni <vni-id> under VLAN config or under interface nve1 member vni.
    • Make sure underlay routing (e.g., OSPF or static routes) is configured so loopbacks are reachable.

    If you want, I can also provide underlay routing config or multi-leaf/multi-spine examples. Just ask!

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