963View BGP view/BGP-VPN instance viewParameters med-value: Default MED value, in the range 0 to 4294967295.Description Use the default med command to specify a default MED value.Use the undo default med command to restore the default.By default, the default med-value is 0.Multi-exit discriminator (MED) is an external metric for routes. Different from localpreference, MED is exchanged between ASs and will stay in the AS once it entersthe AS. The route with a lower MED is preferred. When a router running BGPobtains several routes with an identical destination but different next-hops fromvarious external peers, it will select the best route depending on the MED value. Inthe case that all other conditions are the same, the system first selects the routewith the smallest MED as the best external route.Examples # In BGP view, configure the default MED as 25. system-view[Sysname] bgp 100[Sysname-bgp] default med 25# In BGP-VPN instance view, configure the default MED as 25 (the VPN has beencreated). system-view[Sysname] bgp 100[Sysname-bgp] ipv4-family vpn-instance vpn1[Sysname-bgp-vpn1] default med 25default-route imported (BGP/BGP-VPN instance view)Syntax default-route importedundo default-route importedView BGP view/BGP-VPN instance viewParameters NoneDescription Use the default-route imported command to allow default route redistributioninto the BGP routing table.Use the undo default-route imported command to disallow the redistribution.By default, default route redistribution is not allowed.Using the default-route imported command cannot redistribute default routes.To do so, use the import-route command.