1006 CHAPTER 72: BGP CONFIGURATION COMMANDSpreference (BGP/BGP-VPN instance view)Syntax preference { external-preference internal-preference local-preference | route-policyroute-policy-name }undo preferenceView BGP view/BGP-VPN instance viewParameters external-preference: Preference of EBGP route, in the range 1 to 255.internal-preference: Preference of IBGP route, in the range 1 to 255. An IBGP is aroute learned from another peer inside AS.local-preference: Preference of local route, in the range 1 to 255.route-policy-name: Routing policy name, a string of 1 to 19 characters. Using therouting policy can set preference for routes passing through it. For the routesfiltered out, the default value applies.Description Use the preference command to configure preferences for external, internal, andlocal routes.Use the undo preference command to restore the default.For external-preference, internal-preference and local-preference, the bigger thepreference value is, the lower the preference is, and the default values are 255,255, 130 respectively.Examples # In BGP view, configure preferences for EBGP, IBGP and local routes as 20, 20 and200. system-view[Sysname] bgp 100[Sysname-bgp] preference 20 20 200# In BGP-VPN instance view, configure preferences for EBGP, IBGP and local routesas 20, 20 and 200 (the VPN has been created). system-view[Sysname] bgp 100[Sysname-bgp] ipv4-family vpn-instance vpn1[Sysname-bgp-vpn1] preference 20 20 200reflect between-clients (BGP view)Syntax reflect between-clientsundo reflect between-clientsView BGP view