# Route Map BGP MED-IN MED-OUT

**URL:** <https://forum.networklessons.com/t/route-map-bgp-med-in-med-out/5116>\
**Category:** BGP\
**Created:** [October 7, 2018, 8:05pm UTC](https://forum.networklessons.com/t/route-map-bgp-med-in-med-out/5116 "2018-10-07T20:05:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![u.forte](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/u.forte/32/1191_2.png) [@u.forte](https://forum.networklessons.com/u/u.forte)\
**Post date:** [October 7, 2018, 8:05pm UTC](https://forum.networklessons.com/t/route-map-bgp-med-in-med-out/5116/1 "2018-10-07T20:05:57Z")

</div>

Hi,

I have question please about this 2 commands

```
Router BGP 34567
no neighbor 134.56.78.6 route -map med- out
neighbor 134.56.78.6 route-map med-in

```

But med-in and Med -Out it’s not a cisco command but a comment  
I don’t understand this 2 commands

Thanks

---

<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:** [October 11, 2018, 11:02am UTC](https://forum.networklessons.com/t/route-map-bgp-med-in-med-out/5116/2 "2018-10-11T11:02:48Z")

</div>

Hello Ugo

The commands that you shared are commands that implement a BGP peering between the local router an the router with IP address 134.56.78.6. But this peering in these commands are subject to parameters of a route-map. In both of these commands, the argument that comes after the `route-map` keyword is the name of a route map. This is an entity that must be configured and defined by an admin. The med-out and med-in route maps must have been configured on this device. You can name route maps with whatever name you like and then reference them using that name. You can find more examples of how route maps are used in conjunction with BGP neighbor commands at the following lesson in the section called “ **BGP Route-Maps** ”.

> **[Troubleshooting BGP Route Advertisement](https://networklessons.com/bgp/troubleshooting-bgp-route-advertisement)**
>
> This lesson helps to troubleshoot missing BGP routes or prefixes that don't get installed from the BGP table into the routing table.

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![u.forte](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/u.forte/32/1191_2.png) [@u.forte](https://forum.networklessons.com/u/u.forte)\
**Post date:** [October 11, 2018, 11:31am UTC](https://forum.networklessons.com/t/route-map-bgp-med-in-med-out/5116/3 "2018-10-11T11:31:28Z")

</div>

very very thanks Lagapidies
