![Riverstone Networks WICT1-12 User Manual Download Page 260](http://html1.mh-extra.com/html/riverstone-networks/wict1-12/wict1-12_user-manual_1466194260.webp)
16-2 Riverstone Networks RS Switch Router User Guide Release 8.0
Basic BGP Tasks
BGP Configuration Guide
16.2 BASIC BGP TASKS
This section describes the basic tasks necessary to configure BGP on the RS. Due to the abstract nature of BGP, many
BGP designs can be extremely complex. For any one BGP design challenge, there may only be one solution out of
many that is relevant to common practice.
When designing a BGP configuration, it may be prudent to refer to information in RFCs, Internet drafts, and books
about BGP. Some BGP designs may also require the aid of an experienced BGP network consultant.
Basic BGP configuration involves the following tasks:
•
Setting the autonomous system number
•
Setting the router ID
•
Creating a BGP peer group
•
Adding a BGP peer host
•
Starting BGP
•
Using AS path regular expressions
•
Using AS path prepend
•
Creating BGP confederations
•
Creating community lists
•
Using route maps
•
Using BGP accounting
16.2.1
Setting the Autonomous System Number
An autonomous system number identifies your autonomous system to other routers. To set the autonomous system
number for the RS, enter the following command in Configure mode.
The
autonomous-system
<num1>
parameter sets the AS number for the router. Specify a number from 1 to 65535.
The
loops
<num2>
parameter controls the number of times the AS may appear in the as-path. The default is 1.
16.2.2
Setting the Router ID
The router ID uniquely identifies the RS. To set the router ID to be used by BGP, enter the following command in
Configure mode.
Set the router’s autonomous system
number.
ip-router global set autonomous-system
<num1>
loops
<num2>
Set the router ID.
ip-router global set router-id
<hostname-or-IPaddr>