Juniper J2300 User Manual page 367

J-series services router
Hide thumbs Also See for J2300:
Table of Contents

Advertisement

Table 125: Configuring BGP Peering Sessions
Task
Navigate to the Routing-options level
in the configuration hierarchy.
Set the network's AS number to 17.
Navigate to the Bgp level in the
configuration hierarchy.
Create the BGP group external-peers,
and add the external neighbor addresses
to the group.
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.
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.
Set the group type to external.
J-Web Configuration Editor
In the configuration editor hierarchy,
select Routing-options.
1.
In the AS Number box, enter 17.
2.
Click OK.
In the configuration editor hierarchy,
select Protocols>Bgp.
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.
In the Peer as box, type the number
of the AS in which most peers in
the external-peers group reside.
2.
Click OK.
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.
1.
From the Type drop-down menu,
select external.
2.
Click OK.
Configuring BGP Networks with a Configuration Editor
Configuring BGP Sessions
CLI Configuration Editor
From the top of the configuration
hierarchy, enter
edit routing-options
Set the AS number to 17:
set autonomous-system 17
From the top of the configuration
hierarchy, enter
edit protocols bgp
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.
From the [edit protocols bgp] hierarchy
level:
set group external-peers peer-as 22
From the [edit protocols bgp group
external-peers] hierarchy level:
set neighbor 10.21.7.2 peer-as 79
From the [edit protocols bgp group
external-peers] hierarchy level:
set type external
337

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

J2350J2320J4300J6300J6350J4350

Table of Contents