:lastproofread:2021-07-12

Call for Contributions

This section needs improvements, examples and explanations.

Please take a look at the Contributing Guide for our Write Documentation.

Policy

Policies are used for filtering and traffic management. With policies, network administrators could filter and treat traffic according to their needs.

There could be a wide range of routing policies. Some examples are listed below:

  • Filter traffic based on source/destination address.

  • Set some metric to routes learned from a particular neighbor.

  • Set some attributes (like AS PATH or Community value) to advertised routes to neighbors.

  • Prefer a specific routing protocol routes over another routing protocol running on the same router.

Policies, in VyOS, are implemented using FRR filtering and route maps. Detailed information of FRR could be found in http://docs.frrouting.org/

Policy Sections

Examples

Examples of policies usage: