-
Notifications
You must be signed in to change notification settings - Fork 390
/
routing_policy_6c.xml
75 lines (75 loc) · 2.19 KB
/
routing_policy_6c.xml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="utf-8"?>
<config>
<routing-policy name='basic'>
<term>
<from>
<prefix>
<prefix>1.1.1.1/32</prefix>
<type>exact</type>
</prefix>
<prefix>
<prefix>4.4.4.4/32</prefix>
</prefix>
<prefix>
<prefix>5.5.5.5/32</prefix>
<type>exact</type>
</prefix>
</from>
<then>
<update>
<local-pref>500</local-pref>
<community>
<remove><community>11:22</community></remove>
</community>
</update>
<action>accept</action>
</then>
</term>
<term>
<from>
<community>11:13</community>
</from>
<then>
<update>
<local-pref>400</local-pref>
<community>
<set><community>22:44</community></set>
</community>
</update>
</then>
</term>
<term>
<from>
<prefix>
<prefix>1.1.0.0/16</prefix>
<type>longer</type>
</prefix>
</from>
<then>
<update>
<local-pref>300</local-pref>
<community>
<remove><community>44:88</community></remove>
</community>
</update>
</then>
</term>
<term>
<from>
<prefix>
<prefix>2001:db8:85a3::/64</prefix>
<type>orlonger</type>
</prefix>
</from>
<then>
<action>reject</action>
</then>
</term>
</routing-policy>
<routing-instance name="test">
<routing-policy to="basic">
<sequence>1.0</sequence>
</routing-policy>
<vrf-target>target:1:103</vrf-target>
</routing-instance>
</config>