[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring Point-to-Point Peering Sessions (Required)

To enable BGP traffic across one or more links, you must configure a BGP peering session with the adjacent host. Generally, such sessions are made at network exit points with neighboring hosts outside the autonomous system. Figure 78 shows a network with BGP peering sessions.

In the sample network, a Services Router in AS 17 has BGP peering sessions to a group of peers called external-peers. Peers A, B, and C reside in AS 22 and have IP addresses 10.10.10.10, 10.10.10.11, and 10.10.10.12. Peer D resides in AS 79, at IP address 10.21.7.2.

Figure 78: Typical Network with BGP Peering Sessions

Image g015032.gif

To configure the BGP peering sessions shown in Figure 78:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 137.
  3. If you are finished configuring the router, commit the configuration.
  4. Go on to one of the following procedures:

Table 137: Configuring BGP Peering Sessions

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Routing options level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Routing options, click Configure or Edit.

From the [edit] hierarchy level, enter

edit routing-options

Set the network's AS number to 17.

  1. In the AS Number box, enter 17.
  2. Click OK.

Set the AS number to 17:

set autonomous-system 17

Navigate to the Bgp level in the configuration hierarchy.

  1. On the main Configuration page next to Protocols, click Configure or Edit.
  2. Next to Bgp, click Configure or Edit.

From the [edit] hierarchy level, enter

edit protocols bgp

Create the BGP group external-peers, and add the external neighbor addresses to the group.

  1. In the Group box, click Add new entry.
  2. In the Group name box, type the name of the group of external BGP peers—external-peers in this case.
  3. In the Neighbor box, click Add new entry.
  4. In the Address box, type the IP address of an external BGP peer, in dotted decimal notation, and click OK.
  5. Repeat Step 3 and Step 4 for each BGP neighbor within the external group that you are configuring.
  1. Create the group external-peers, and add the address of an external neighbor:

    set group external-peers neighbor 10.10.10.10

  2. Repeat Step 1 for each BGP neighbor within the external peer group that you are configuring.

At the group level, set the AS number for the group external-peers to 22.

Because three of the peers in this group (peers A, B, and C) reside in one AS, you can set their AS number as a group.

  1. In the Peer as box, type the number of the AS in which most peers in the external-peers group reside.
  2. Click OK.

From the [edit protocols bgp] hierarchy level:

set group external-peers peer-as 22

At the individual neighbor level, set the AS number for peer D to 79.

Because peer D is a member of the group external-peers, it inherits the peer AS number configured at the group level. You must override this value at the individual neighbor level.

  1. Under Neighbor, in the Address column, click the IP address of peer D—10.21.7.2 in this case.
  2. In the Peer as box, type the AS number of the peer.
  3. Click OK.

From the [edit protocols bgp group external-peers] hierarchy level:

set neighbor 10.21.7.2 peer-as 79

Set the group type to external.

  1. From the Type list, select external.
  2. Click OK.

From the [edit protocols bgp group external-peers] hierarchy level:

set type external


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]