[Edgecore SONiC] BGP Unnumbered Follow
Reference model:
- Switch model name:
- AS7726-32X
- AS7326-56X
- AS7816-64X
- AS5835-54X(T)
- AS4630-54PE
- AS9716-32D
- AS8000(Minipack)
- Wedge100BF-32X
- Edgecore SONiC version:
- Edgecore-SONiC_20201123_130028_ec202006_74
- Edgecore-SONiC_20201229_070315_ec202006_101
- Edgecore-SONiC_20201229_070315_ec202006_bfn_65(Wedge100BF-32X)
Example: Establish BGP unnumbered session
Procedure:
Step 1. Initialize FRR configuration. Please refer to FRRouting and config initialization tutorial.
Step 2. Configure IP address properly for BGP session. Please refer to Management and front port IPv4/IPv6 Address tutorial.
Step 3. Enter Vty shell.
Note: vtysh provides a combined frontend to all FRR daemons in a single combined session.
Step 4. Configuring BGP Neighbor Session with unnumbered
Note:
- AS (autonomous systems) is a unique identifier and it used to exchange routing information with other AS.
Its available pool of 16-bit AS numbers.
1 ~ 64511 reserve to the public, you need to apply for it form IANA ( Internet Assigned Numbers Authority)
64512~ 65534 reserve for private.
Since AS numbers are not enough, IANA extended the AS Number field to 32 bits in size.
131072 - 4199999999 reserve for public and 4200000000-4294967294 reserve for private. - Router ID is used to identify routers in AS(autonomous systems).
Caution: Router ID must be unique for each BGP router in the network. Otherwise, it's failed to establish BGP session. - The AS number of neighbors, you could assign the AS number of neighbors. The "external" is to eBGP and the "internal" is to iBGP.
eBGP:
sonic(config-router)# neighbor Ethernet8 interface remote-as external
iBGP:
sonic(config-router)# neighbor Ethernet8 interface remote-as internal
Step 5. Checking the BGP connection and neighbor status.
On the AS7726-32X (Switch1)
On the AS5835-54X (Switch2)
Step 6. Save the routing setting.
Comments
0 comments
Please sign in to leave a comment.