summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/index.rst
blob: fc1c13661d1a2ae9be22b8f1ab69255327feb288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
:lastproofread:2021-07-12

.. include:: /_include/need_improvement.txt

######
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
***************

.. toctree::
  :maxdepth: 1
  :includehidden:

  access-list
  prefix-list
  route
  route-map
  bgp-policies
  local-route

********
Examples
********

Examples of policies usage:

.. toctree::
   :maxdepth: 1
   :includehidden:
 
   examples