Configuration Example 1 Block a Particular Route

In Figure 8-9, Router B is advertising four network prefixes to Router A. Router B filters the route update to Router A in order to reject the 172.16.2.0 network. Loopbacks are used on Router B to simulate the advertised networks, as shown in the following configuration.

Figure 8-9. Scenario for the Use of the neighbor distribute-list out Command

Figure 8-9. Scenario for the Use of the neighbor distribute-list out Command

^ PREVIOUS

Syntax Description:

ip-address— Neighbor's IP address.

peer-group-name— Name of the peer group. See section 8-19.

maximum-hop-count— Optional parameter with a value of 1 to 255. The default hop count is 255.

Purpose: EBGP neighbors are typically directly connected. In situations in which EBGP neighbors are not directly connected, the ebgp-multihop option must be used in order to form a neighbor relationship.

Was this article helpful?

0 0

Post a comment