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
- Configure peering IP address
interface gigabitethernet <interface-number>
ip address <ip_address> <netmask>
no shutdown
- Activate BGP routing session
router bgp <your asn>
- 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
- Establish peering with neighbor
neighbor <neighbor_ip> remote-as <neighbor_asn>
- Activate address-family (IPv4/IPv6)
address-family ipv4 | ipv6 unicast
neighbor <neighbor_ip> activate
- Verify
show bgp ipv4 | ipv6 unicast summary