How does Huawei router change preference of BGP protocol?
BGP protocol of VRP3.10 defaults the preference is 256 and not permitted to change. BGP protocol of VRP5.10 defaults the preference is 255 and permitted to change with command. The command format under BGP view:
preference : external-preference; internal-preference' local-preference
The last three parameters means three routes can be set different preferences.
route learned from external equivalence (EBGP);
route learned from internal equivalence (IBGP);
locally created route (Local Origined).