The bestroute med-none-as-maximum command configures MBGP to assign the maximum Multi Exit Discriminator (MED), 4294967295, to a route without an MED in route selection.
The undo bestroute med-none-as-maximum command restores the default configuration.
By default, MBGP assigns 0 to a route without an MED.
Usage Scenario
The bestroute med-none-as-maximum command takes effect in MBGP route selection and is used only when no MED is in the route attributes.
Configuration Impact
During MBGP route selection, if the bestroute med-none-as-maximum command is run, a route without any MED is assigned the maximum MED of 4294967295.
Precautions
If no MED is in the route attributes and the bestroute med-none-as-maximum command is not run, the system probably cannot select an optimal route.