5-2. distance admin-distance ip-source-address ip-address-mask ip-access-list-number

Syntax Description:

  • admin-distance— Administrative distance assigned to learned routes. The value range is 1 to 255.

  • ip-source-address— IP address of the source of the routing update.

  • ip-address-maskl— Address mask for the source of the routing update.

  • ip-access-list-number— Optional standard IP access list used to apply the administrative distance to selected routes.

Purpose: To modify the administrative distance of BGP routes. When a particular route is learned via multiple routing protocols, the administrative distance is used to select the best route. The lower administrative distance is preferred. The administrative distances used for the IP routing protocols ...

Get Cisco® BGP-4 Command and Configuration Handbook (CCIE Professional Development) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.