Operation Manual – Routing ProtocolH3C S7500 Series Ethernet Switches Chapter 6 BGP Configuration6-32[SwitchC-route-policy] if-match acl 2000[SwitchC-route-policy] apply local-preference 200[SwitchC-route-policy] quit[SwitchC] route-policy localpref permit node 20[SwitchC-route-policy] apply local-preference 100[SwitchC-route-policy] quitz Apply this routing policy to the inbound traffic flows coming from BGP neighbor193.1.1.1 (Switch A).[SwitchC] bgp 200[SwitchC-bgp] peer 193.1.1.1 route-policy localpref importIn this case, because the local preference value of the route 1.0.0.0 learned by SwitchC is 200, which is greater than that of the route 1.0.0.0 learned by Switch B (Switch Bdoes not configure the local preference attribute, the default value is 100), Switch Dstill chooses the route 1.0.0.0 coming from Switch C first.6.10 Troubleshooting BGP ConfigurationSymptom 1: A BGP neighbor relationship cannot be established; that is, theconnection with the opposite peer cannot be established.Solution: The BGP neighbor establishment process requires using port 179 toestablish a TCP session and exchanging Open messages correctly. You can followthese steps to solve the problem:z Check the AS number of the neighbor.z Check the IP address of the neighbor.z For an EBGP neighbor not directly connected, verify that the peerebgp-max-hop command is used.z Use the ping command to check the TCP connection. As a router may havemore than one interface to reach the peer, you should use the ping -a ip-addressexpanded command to specify a source IP address for sending ping packets.z If you cannot ping the neighbor device successfully, verify that there is a route tothe neighbor in the routing table.z If you can ping the neighbor device successfully, verify that an ACL is configuredto inhibit TCP port 179. If yes, cancel the inhibition of port 179.Symptom 2: After you use the network command to import the routes discovered byIGP to BGP, the BGP routes cannot be successfully advertised.Solution: For a route to be successfully imported into BGP, it is required that the route(including the destination network segment and mask) should be consistent with aroute in the routing table. For example, a route to the network segment 10.1.1.0/24exists in the routing table. If a route to 10.0.0.0/8 or other similar segment is imported,an import error will occur. If OSPF is used, when you use the network command toimport a bigger network segment, the router will change the route according to the