# Which layer is BGP?

**URL:** https://forum.networklessons.com/t/which-layer-is-bgp/12061
**Category:** BGP
**Created:** [August 17, 2020, 9:13am UTC](https://forum.networklessons.com/t/which-layer-is-bgp/12061 "2020-08-17T09:13:12Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)
#### Post date: [August 20, 2020, 7:40am UTC](https://forum.networklessons.com/t/which-layer-is-bgp/12061/5 "2020-08-20T07:40:34Z")

</div>

Hello Gareth

@rickyccnp is correct in that BGP uses TCP in order to operate and exchange information and thus it cannot be a Layer 3 protocol. However, BGP is actually considered an Application layer protocol. In the TCP/IP stack, any entity that functions above the Transport layer is considered an Application Layer protocol. BGP’s intelligence operates within a process in routing devices that sits on top of the Transport layer, and uses TCP to communicate its information between peers.

Take a look at this post for a bit more info:

> [@BGP Communities Explained](https://forum.networklessons.com/t/bgp-communities-explained/1239/40):
>
> Hello Mohamed Even though it is used to exchange routing and reachability information, which is a Layer 3 functionality, BGP itself does indeed operate at the Application layer. Because it uses TCP to actually exchange information, it is the Application layer entity of BGP that provides the data for the TCP segments. So BGP is indeed an Application layer protocol. Compare this with OPSF. It doesn’t use any functionalities above Layer 3, so OSPF is only a Layer 3 protocol. I hope this has b…

I hope this has been helpful!

Laz

---

_[View the full topic](https://forum.networklessons.com/t/which-layer-is-bgp/12061)._
