-
Notifications
You must be signed in to change notification settings - Fork 390
/
config_listener_test_9.xml
44 lines (43 loc) · 1.38 KB
/
config_listener_test_9.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
<?xml version="1.0" encoding="utf-8"?>
<config>
<routing-policy name='basic_0'>
<term>
<term-match-condition>
<community>23:13</community>
<prefix>
<prefix> 1/8 </prefix>
<prefix-type> orlonger </prefix-type>
</prefix>
</term-match-condition>
<term-action-list>
<update>
<local-pref>102</local-pref>
</update>
<action>accept</action>
</term-action-list>
</term>
</routing-policy>
<routing-policy name='basic_1'>
<term>
<term-match-condition>
<community>23:11</community>
<prefix>
<prefix> 2001:db8:85a3:aaaa::b:c:d/64 </prefix>
<prefix-type> longer </prefix-type>
</prefix>
</term-match-condition>
<term-action-list>
<action>reject</action>
</term-action-list>
</term>
</routing-policy>
<routing-instance name="test">
<routing-policy to="basic_0">
<sequence>1.0</sequence>
</routing-policy>
<routing-policy to="basic_1">
<sequence>1.1</sequence>
</routing-policy>
<vrf-target>target:1:103</vrf-target>
</routing-instance>
</config>