Operation Manual – Routing ProtocolH3C S5600 Series Ethernet Switches Chapter 5 BGP Configuration5-46[SwitchC-acl-basic-2000] quit# Create a routing policy named localpref, and specify node 10 with the permitmatching mode for the routing policy. Set the local preference value of the routematching ACL 2000 to 200[SwitchC] route-policy localpref permit node 10[SwitchC-route-policy] if-match acl 2000[SwitchC-route-policy] apply local-preference 200[SwitchC-route-policy] quit# Create a routing policy named localpref, and specify node 20 with the permitmatching mode for the routing policy. Set the local preference value of the route to100.[SwitchC] route-policy localpref permit node 20[SwitchC-route-policy] apply local-preference 100[SwitchC-route-policy] quit# Apply the routing policy localpref to the routing information from the peer 193.1.1.1.[SwitchC] bgp 200[SwitchC-bgp] peer 193.1.1.1 route-policy localpref importIn this case, because the LOCAL_PREF value of the route 1.0.0.0 learnt by Switch Cis 200, which is greater than that of the route 1.0.0.0 learnt by Switch B (Switch B doesnot configure the LOCAL_PREF attribute, the default value is 100), Switch D stillchooses the route 1.0.0.0 coming from Switch C first.5.10 Troubleshooting BGP Configuration5.10.1 BGP Peer Connection Establishment ErrorI. SymptomWhen you use the display bgp peer command to display the BGP peer information,the connection with the opposite peer cannot be established.II. AnalysisTo establish a BGP peering relationship:z Both ends need to use the 179 port to establish TCP sessions.z Both ends need to exchange Open messages correctly.III. Troubleshooting1) Use the display current-configuration command to check the AS numberconfiguration of the neighbor.2) Use the display bgp peer command to check the IP address of the neighbor.