Configuring a startup policy for BGP route updates
About startup policy for BGP route updates
Perform this task to configure BGP to send route updates with the specified attributes within the specified period after reboot.
As shown in Figure 61, if Router B restarts and sends route updates before route convergence completes, traffic sent from Router A through Router B might be lost. This feature enables Router B to send route updates with the specified attribute values within the specified period after reboot, so that Router A can forward traffic through Router C.
Figure 61: Network diagram
Procedure
To configure a startup policy for BGP route updates:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter BGP instance view. | bgp as-number [ instance instance-name ] | N/A |
3. Specify the period after reboot within which the startup policy takes effect. | bgp apply-policy on-startup duration seconds | By default, the startup policy does not take effect. |
4. Specify a MED attribute. | bgp policy on-startup med med-value | By default, the MED attribute is 4294967295. |