# BGP Labs: Session Templates

DevFeed: [BGP Labs: Session Templates](<https://devfeed.tech/articles/bgp-labs-session-templates-10945.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2024/02/bgp-labs-session-templates/>)

Published: 2024-02-14T06:35:00Z

Content type: tutorial

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [BGP](<https://devfeed.tech/topics/bgp.md>), [Template](<https://devfeed.tech/topics/template.md>)

Tags: [bgp](<https://devfeed.tech/tags/bgp.md>), [feature](<https://devfeed.tech/tags/feature.md>), [interface](<https://devfeed.tech/tags/interface.md>), [netlab](<https://devfeed.tech/tags/netlab.md>), [password](<https://devfeed.tech/tags/password.md>), [route](<https://devfeed.tech/tags/route.md>)

## AI overview

A BGP lab exercise introduces session templates for grouping IBGP route-reflector neighbor parameters, such as the remote AS number, IP addresses or interface, community propagation, and an MD5 password.

## Source excerpt

Configuring an IBGP session on a route reflector takes a half-dozen parameters, starting with the remote BGP AS number (equal to the local one), remote IP address, and the source IP address or interface. You might have to specify the propagation of BGP communities and an MD5 password, and you will definitely have to specify that the BGP neighbor is a route reflector client. Wouldn't it be nice if you could group those parameters into a template and apply the template to a neighbor? Most BGP implementations have something along those lines. That feature could be called a session template or a peer group, and you can practice it in the next BGP lab exercise. Read more ...