Assigning an AS-Path Access List to Inbound or Outbound Advertisements of a Neighbor

You can use the neighbor filter-list command to assign an AS-path access list to matching inbound or outbound routes.

You can use the in keyword to apply the list to inbound routes (inbound policy) and out keyword to apply the list to outbound routes (outbound policy).

You can specify an optional weight value with the weight keyword to assign a relative importance to incoming routes that match the AS-path access list. Access list values can be in the range 0–65535.

To assign an AS-path access list to matching inbound or outbound routes:

host1:vr1(config-router)#neighbor group2 filter-list list2 out

Use the no version to disassociate the access list from a neighbor.

Related Documentation