BGP
BGP (Border Gateway Protocol) is the standard exterior routing protocol used to exchange routing information between autonomous systems. Peresvet ST emulates BGP sessions and supports bulk prefix generation through BGP Updates.
Creating and Managing BGP Sessions
Click + Create BGP Session to add a new BGP session. Each session appears on a separate tab (Session #1, Session #2, and so on) and can be removed with the × button.
BGP Session Settings
Address Families
Each BGP session specifies the address families advertised in the OPEN message:
| Family | Description |
|---|---|
| ipv4-unicast | IPv4 unicast routing |
| ipv6-unicast | IPv6 unicast routing |
| ipv4-multicast | IPv4 multicast routing |
| ipv6-multicast | IPv6 multicast routing |
| ipv4-labeled-unicast | Labeled IPv4 (MPLS) |
| ipv6-labeled-unicast | Labeled IPv6 (MPLS) |
| ipv4-vpn-unicast | IPv4 VPN |
| ipv6-vpn-unicast | IPv6 VPN |
| evpn | Ethernet VPN (EVPN) |
BGP Session Timers
| Field | Description | Default |
|---|---|---|
| Hold time (s) | Hold time in seconds | 90 |
| TTL | TTL for BGP packets | 64 |
| ToS | IP ToS (DSCP) for BGP packets | 0 |
| Reconnect | Automatically reconnect the session | On |
| Teardown time (s) | Session teardown time in seconds | 0 |
BGP Updates (Prefix Generation)
The BGP Updates section configures automatic generation and advertisement of large numbers of BGP prefixes. Each Update block (#1, #2, and so on) defines one set of updates. Click + Add Update to add another block.
| Field | Description | Default |
|---|---|---|
| ASN | Source autonomous system number | 0 |
| Next-hop base | Base next-hop address for advertised routes | — |
| Next-hop count | Number of next-hop addresses | 1 |
| Local pref | Local Preference value | 0 |
| Label base | Base MPLS label | 0 |
| End-of-RIB | Send an End-of-RIB marker after all updates | Off |
| Base prefix | First generated prefix, for example 10.0.0.0/24 | — |
| Count | Number of generated prefixes | 10 |
After entering the parameters, click Generate. The generated prefixes appear in Prefixes (one per line).