Comprehensive and Detailed Step-by-Step Explanation:
1. Overview of AS_Path Attribute Modification:
The apply as-path command in a route-policy is used to modify the AS_Path attribute of routes. This is often required to influence the selection of routes or to adjust routing policies for incoming or outgoing BGP updates.
2. Parameters of the apply as-path Command:
Option A: Delete
Correct.
The delete parameter removes specific AS numbers from the AS_Path attribute. This is used to simplify or manipulate the AS_Path for specific routing policies.
Option B: Additive
Correct.
The additive parameter appends an AS number to the existing AS_Path attribute, instead of overwriting it. This is useful when you want to prepend AS numbers to influence route selection without removing the original AS_Path.
Option C: Copy
Incorrect.
The copy parameter is not supported in the apply as-path command for modifying AS_Path attributes.
Option D: Overwrite
Correct.
The overwrite parameter replaces the existing AS_Path with a new one. This provides complete control over the AS_Path attribute but removes the original AS_Path entirely.
3. Summary:
The valid parameters for the apply as-path command are delete, additive, and overwrite.
Huawei HCIA-Datacom Study Guide, Chapter "BGP Route Policies."
BGP Attribute Modification in Huawei Documentation.
Submit