bgp policy on-startup med
Use bgp policy on-startup med to set the MED attribute value in the startup policy.
Use undo bgp policy on-startup med to restore the default.
Syntax
bgp policy on-startup med med-value
undo bgp policy on-startup med
Default
The MED attribute value in the startup policy is 4294967295.
Views
BGP instance view
Predefined user roles
network-admin
Parameters
med-value: Specifies the MED attribute value in the startup policy, in the range of 0 to 4294967295.
Examples
# In BGP instance view, set the MED attribute value in the startup policy to 100.
<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp-default] bgp policy on-startup med 100
Related commands
bgp apply-policy on-startup