Configuring Cisco Device for Route Filtering | Cisco Service Provider Exam

Enable Filtering Routes | Cisco Service Provider Exam

Question

An engineer working for a private service provider with employee Id: 1234:56:789 is configuring a Cisco device to redistribute OSPF into BGP.

Which task enables the device to filter routes?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.

When redistributing OSPF routes into BGP, it is often necessary to filter some of the routes. The engineer can use either an access list, a route map, a prefix list, or a distribute list to filter the routes.

A. Configure an access list and reference it with the redistribute command.

This option involves configuring an access list to match the OSPF routes that should be redistributed into BGP. The engineer can then reference this access list with the redistribute command to filter the routes. This method can be effective for simple filtering requirements.

B. Configure a route map and reference it with the redistribute command.

This option involves configuring a route map that can perform more complex filtering based on various criteria, such as source, destination, or prefix length. The engineer can then reference this route map with the redistribute command to filter the routes. This method is more flexible than using an access list.

C. Configure a prefix list and associate it to the BGP peer interface.

This option involves configuring a prefix list to match the routes that should be advertised to the BGP peer. The engineer can then associate this prefix list with the BGP peer interface to filter the routes. This method can be effective if the filtering requirements are specific to the BGP peer.

D. Configure a distribute list and associate it to the BGP peer interface.

This option involves configuring a distribute list to filter the routes based on criteria such as access lists or prefix lists. The engineer can then associate this distribute list with the BGP peer interface to filter the routes. This method can be effective if the filtering requirements are more complex and require more granularity.

In summary, options A, B, C, and D are all valid methods for filtering routes when redistributing OSPF into BGP. The choice of method depends on the specific filtering requirements and the level of complexity needed. Option B using a route map is often preferred due to its flexibility and ability to perform more complex filtering.