1-20To do… Use the command… RemarksAllow the establishment ofeBGP connection to a nondirectly connected peer/peergrouppeer { group-name |ip-address } ebgp-max-hop[ hop-count ]OptionalNot allowed by default.The peer ebgp-max-hop command needs not be configured if the two eBGP peers are directlyconnected.Controlling Route GenerationDifferent from IGP, BGP focuses on route generation and advertisement control and optimal routeselection.There are to ways to generate BGP routes:z Configure BGP to advertise local networksz Configure BGP to redistribute routes from other routing protocols, including the default routePrerequisitesBGP connections have been created.Injecting a Local NetworkIn BGP view, you can inject a local network to allow BGP to advertise it to BGP peers. The originattribute of routes advertised in this way is IGP. You can also reference a route policy to flexibly controlroute advertisement. The network to be injected must be available in the local IP routing table.Follow these steps to inject a local network:To do… Use the command… RemarksEnter system view system-view —Enter BGP view bgp as-number —Inject a network to the BGProuting tablenetwork ip-address [ mask |mask-length ] route-policyroute-policy-nameOptionalNot injected by defaultConfiguring BGP Route RedistributionBGP does not find routes by itself. Rather, it redistributes routing information in the local AS from otherrouting protocols. During route redistribution, you can configure BGP to filter routing information fromspecific routing protocols.The origin attribute of routes redistributed using the import-route command is Incomplete.Follow these steps to configure BGP route redistribution: