protocols bgp <asn> neighbor <id> med-out minimum-igp
Sets the value of the multi-exit discriminator (MED) based on the smaller IGP metric.
- asn
- Mandatory if an ASN other than the parent ASN is to be sent to the neighbor. The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- id
- The IPv4 or IPv6 address of a BGP neighbor.
Configuration mode
protocols {
bgp asn {
neighbor id {
med-out minimum-igp
}
}
}
Use the set form of this command to set the MED value that is based on the minimum value of IGP metric.The minimum IGP metric is the smallest IGP metric received by BGP from the RIB.
Use the delete form of this command to disable MED updates that is based on the IGP metric.