Is there any doc to configure BGP?

  • 0
  • 1
  • Question
  • Updated 2 months ago
  • Answered
  • (Edited)
I need to configure bgp but I can ́t see a clear procedure, anybody knows a step by step document.
Photo of juan romero

juan romero

  • 400 Points 250 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Drew C.

Drew C., Community Manager

  • 40,858 Points 20k badge 2x thumb
There's no need to shout in the subject line  :)
I've edited the title back down to regular capitalization.
Photo of Ron Huygens

Ron Huygens, Employee

  • 3,370 Points 3k badge 2x thumb
I suggest that you start reading this topic in the concepts guide:
http://documentation.extremenetworks.com/exos/EXOS_21_1/BGP/t_clear-configuration-overview.shtml

Configuration Overview
  1. Configure the interfaces that will connect to BGP neighbors. For each interface, do the following:
    1. Create a VLAN.
    2. Assign one or more ports to the VLAN.
    3. Configure a VLAN IP address.
    4. Enable IP forwarding on the VLAN.

      For more information on configuring VLANs, see VLANs


  2. Configure the BGP router ID using the following command:

    configure bgp routerid router identifier


  3. Configure the AS number to which the router should belong using the following command:

    configure bgp AS-number number


  4. To add one or more IBGP neighbors, use the following command and specify the AS number to which the router belongs:

    create bgp neighbor remoteaddr remote-AS-number as-number {multi-hop}


  5. To add one or more EBGP neighbors, use the following command and specify the AS number of the remote AS (which is different from the AS to which the router belongs):

    create bgp neighbor remoteaddr remote-AS-number as-number {multi-hop}


  6. If you want to simultaneously configure BGP options for multiple neighbors, create and configure peer groups as described in Configuring BGP Peer Groups.
  7. If the BGP network will support IPv4 traffic, you can skip this step. If the BGP network will support any other address family, you must enable support for that address family on BGP neighbors with either of the following commands:

    enable bgp neighbor [all | remoteaddr] capability [ipv4-unicast | ipv4-multicast | ipv6-unicast | ipv6-multicast | vpnv4 | route-refresh]


    enable bgp peer-group peer-group-name capability [ipv4-unicast | ipv4-multicast | ipv6-unicast | ipv6-multicast | vpnv4 | route-refresh]


  8. To configure additional BGP neighbor options, see Configuring BGP Neighbors.
  9. For instructions on configuring additional BGP features, see the list under Configuring BGP.
  10. Enable BGP neighbors using the following command:

    enable bgp neighbor [remoteaddr | all]


  11. Enable BGP using the following command:

    enable bgp


Photo of boenklon2

boenklon2

  • 60 Points
hi i am trying to configure BGP in EXOS

Detail:
(vr test1) X670V-48x.51 # show version 
Switch      : 800399-00-12 1452N-43568 Rev 12.0 BootROM: 2.0.2.1    IMG: 15.1.2.12 
VIM4-40G4X-1: 800402-00-07 1515N-46925 Rev 7.0
PSU-1       : Internal PSU-1 800460-00-06 1516W-80409 
PSU-2       : Internal PSU-2 800460-00-06 1516W-80407 

Image   : ExtremeXOS version 15.1.2.12 v1512b12 by release-manager
          on Fri Apr 20 20:24:20 EDT 2012
BootROM : 2.0.2.1
Diagnostics : 5.6
(vr test1) X670V-48x.52 # show licenses 
Enabled License Level:
Core
Enabled Feature Packs:
None
(vr test1) X670V-48x.53 # enable bgp
Error: bgp is not running in VR test1.

i can't enable bgp in VR test1.

thank you for explanation
Photo of Ron Huygens

Ron Huygens, Employee

  • 3,370 Points 3k badge 2x thumb

When a user VR is created, no resources are allocated for routing protocols. You must add the routing protocols needed for your VR before you attempt to configure them. The maximum number of protocols supported is 64.

This provides for the following protocols:

  • The basic seven protocols on VR-Default (RIP, OSPF, BGP, PIM, ISIS, OSPFv3, and RIPNG)

  • 1 MPLS protocol instance on any VR (only on platforms that support MPLS)

  • 56 additional protocols for user VRs. Any combination of the 7 protocols supported on user VRs (RIP, OSPF, BGP, PIM, ISIS, OSPFv3, and RIPNG) can be assigned to user VRs, up to a maximum number of 56.

When you add a protocol to a user VR, the software starts a process to support the protocol, but it does not enable that protocol. After you add a protocol to a user VR, you must specifically enable and configure that protocol before it starts.

When you add a protocol to a VRF, a protocol process is started in the parent VR (if it is not already started) and a protocol instance is created inside that process for this VRF.


You must add, configure, and enable a protocol for a VR before you start unicast or multicast forwarding on the VR and before you configure any features (such as VLANs) to use the VR.

  • To add a protocol to a VR, use the command:configure vr vr_name [add | delete] protocol [ospf | ospf3 | rip | ripng | bgp | isis | pim]
    If you add more than the maximum number of protocols, the following message appears:
    Error: Maximum number of Protocols that can be started in the system is 64

  • To remove a protocol from a VR, use the command:configure vr vr-name delete protocol protocol-name