blob: 47658f449bcacb83c5079cbab26dd08b8aeba49a (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
---
merged:
before: []
commands:
- set policy route-map test1 rule 1 description test
- set policy route-map test1 rule 1 action permit
- set policy route-map test1 rule 1 continue 2
- set policy route-map test3 rule 1 action permit
- set policy route-map test3 rule 1 set local-preference 4
- set policy route-map test3 rule 1 set metric 5
- set policy route-map test3 rule 1 set metric-type type-1
- set policy route-map test3 rule 1 set origin egp
- set policy route-map test3 rule 1 set originator-id 192.0.2.34
- set policy route-map test3 rule 1 set tag 5
- set policy route-map test3 rule 1 set weight 4
- set policy route-map test3 rule 1 match metric 1
- set policy route-map test3 rule 1 match peer 192.0.2.32
after:
- route_map: "test3"
entries:
- sequence: 1
action: "permit"
match:
metric: 1
peer: "192.0.2.32"
set:
local_preference: "4"
metric: "5"
metric_type: "type-1"
origin: egp
originator_id: "192.0.2.34"
tag: "5"
weight: "4"
- route_map: "test1"
entries:
- sequence: 1
description: "test"
action: "permit"
continue_sequence: 2
replaced:
commands:
- delete policy route-map test3 rule 1 set ip-next-hop 192.0.2.33
- set policy route-map test3 rule 1 set local-preference 6
- set policy route-map test3 rule 1 set metric 4
- set policy route-map test3 rule 1 set tag 4
- delete policy route-map test3 rule 1 set community internet
- set policy route-map test3 rule 1 match metric 3
- set policy route-map test3 rule 1 match peer 192.0.2.35
after:
- route_map: test2
entries:
- sequence: 1
description: "test"
action: permit
- sequence: 1
action: permit
on_match:
goto: 4
- route_map: test3
entries:
- sequence: 1
action: permit
match:
metric: 3
peer: 192.0.2.35
set:
local_preference: 6
metric: 4
metric_type: "type-1"
origin: egp
originator_id: 192.0.2.34
tag: 4
weight: 4
overridden:
commands:
- delete policy route-map test2
- delete policy route-map test3 rule 1 set ip-next-hop 192.0.2.33
- set policy route-map test3 rule 1 set local-preference 6
- set policy route-map test3 rule 1 set metric 4
- set policy route-map test3 rule 1 set tag 4
- delete policy route-map test3 rule 1 set community internet
- set policy route-map test3 rule 1 match metric 3
- set policy route-map test3 rule 1 match peer 192.0.2.35
after:
- route_map: test3
entries:
- sequence: 1
action: permit
match:
metric: 3
peer: 192.0.2.35
set:
local_preference: 6
metric: 4
metric_type: "type-1"
origin: egp
originator_id: 192.0.2.34
tag: 4
weight: 4
deleted:
commands:
- delete policy route-map test2
- delete policy route-map test3
after: []
|