8-12. neighbor {ip-address | peer-group-name} filter-list as-path-list-number weight weight

Syntax Description:

  • ip-address— Neighbor's IP address.

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

  • as-path-list-number— IP AS path list number.

  • weight— 1 to 65535. This value is applied to the weight attribute of incoming routes matching the conditions in the AS path filter list.

Purpose: Routes learned from BGP neighbors have the weight attribute set to 0. This form of the filter-list command allows you to set the weight attribute of selected routes received from a particular neighbor. This command applies only to incoming route updates. The operation of the filter list is identical for both IBGP and EBGP neighbors.

Cisco IOS Software Release: ...

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.