How to verify if MED attribute value is advertised correctly to a BGP peer

How to verify if MED attribute value is advertised correctly to a BGP peer

17650
Created On 07/27/19 02:33 AM - Last Modified 08/21/20 01:51 AM


Objective


Med is an attribute used in BGP to influence path selection. When configured, this value is not displayed in GUI.
 
GUI:  Network > Virtual Routers > More Runtime Stats > BGP > RIB Out
 
 
User-added image


Environment


  • PAN-OS
  • All Firewalls


Procedure


MED attribute advertisement can be verified on the local firewall  using the CLI command show routing protocol bgp rib-out-detail.
 
admin@PA-VM-196> show routing protocol bgp rib-out-detail


VIRTUAL ROUTER: default (id 1)
  ==========
  ----------
  Prefix:                        172.21.101.0/24
  Nexthop:                       10.46.198.101
  Peer:                          to197 (id 1)
  Advertise status:              advertised
  Aggregation status:            no aggregate
  Originator ID:                 0.0.0.0
  AS Path:                       196
  Origin:                        N/A
  MED:                           200  
  Local Preference:              0
  Atomic aggregate:              no
  Aggregator AS:                 0
  Aggregator ID:                 0.0.0.0

 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000PMUuCAO&lang=en_US%E2%80%A9&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language