The bestroute med-none-as-maximum command configures BGP to assign the maximum MED (4294967295) to a route without MED in route selection.
The undo bestroute med-none-as-maximum command restores the default configuration.
By default, BGP assigns 0 to a route without MED.
Usage Scenario
The bestroute med-none-as-maximum command takes effect during BGP route selection and is used only when no MED is carried by BGP routes. If no MED is carried and the bestroute med-none-as-maximum command is not run, the system cannot select the desired route as the optimal route.
Configuration Impact
During BGP route selection, if the bestroute med-none-as-maximum command is run, a route without MED is assigned the maximum MED (4294967295).