Navigate to the Routing options level in
the configuration hierarchy.
|
- In the J-Web interface, select Configuration>View
and Edit>Edit Configuration.
- 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.
|
- In the AS Number box, enter 17.
- Click OK.
|
Set the AS number to 17:
set autonomous-system 17
|
Navigate to the Bgp level in the configuration
hierarchy.
|
- On the main Configuration page next to Protocols,
click Configure or Edit.
- 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.
|
- In the Group box, click Add
new entry.
- In the Group name box, type the name of the group
of external BGP peers—external-peers in this case.
- In the Neighbor box, click Add
new entry.
- In the Address box, type the IP address of an external
BGP peer, in dotted decimal notation, and click OK.
- Repeat Step 3 and Step 4 for each BGP neighbor
within the external group that you are configuring.
|
- Create the group external-peers, and
add the address of an external neighbor:
set group external-peers neighbor 10.10.10.10
- 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.
|
- In the Peer as box, type the number of the
AS in which most peers in the external-peers group reside.
- 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.
|
- Under Neighbor, in the Address column, click
the IP address of peer D—10.21.7.2 in this case.
- In the Peer as box, type the AS number of the peer.
- 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.
|
- From the Type list, select external.
- Click OK.
|
From the [edit protocols bgp group external-peers] hierarchy
level:
set type external
|