Cisco Router Configuration

This guide provides a standard BGP configuration template for connecting Cisco IOS/IOS-XE devices to IXPN.

Prerequisites

  • Assigned ASN from AFRINIC or your RIR
  • IXPN IP allocation (IPv4/IPv6)
  • Physical or logical link to IXPN

Configuration Template

  1. Configure peering IP address
    interface gigabitethernet <interface-number>
      ip address <ip_address> <netmask>
      no shutdown
  1. Activate BGP routing session
    router bgp <your asn>
  1. Disable first-as enforcement to accapt update from the route server. This necessary because the route servers do not include AS-PATH sequence attribute in updates.
    no bgp enforce-first-as
  1. Establish peering with neighbor
    neighbor <neighbor_ip> remote-as <neighbor_asn>
  1. Activate address-family (IPv4/IPv6)
    address-family ipv4 | ipv6 unicast
        neighbor <neighbor_ip> activate
  1. Verify
    show bgp ipv4 | ipv6 unicast summary