-
Notifications
You must be signed in to change notification settings - Fork 0
/
r2.cli
113 lines (101 loc) · 1.96 KB
/
r2.cli
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
111
112
113
interface ethernet-1/1 {
admin-state enable
subinterface 0 {
ipv4 {
admin-state enable
address 10.10.12.2/24 {
} } } }
interface ethernet-1/2 {
admin-state enable
subinterface 0 {
ipv4 {
admin-state enable
address 10.10.23.1/24 {
} } } }
interface ethernet-1/3 {
admin-state enable
subinterface 0 {
ipv4 {
admin-state enable
address 10.10.22.1/24 {
} } } }
interface system0 {
admin-state enable
subinterface 0 {
ipv4 {
admin-state enable
address 2.2.2.2/32 {
} } } }
network-instance default {
router-id 2.2.2.2
interface ethernet-1/1.0 {
}
interface ethernet-1/2.0 {
}
interface ethernet-1/3.0 {
}
interface system0.0 {
}
protocols {
ospf {
instance default {
admin-state enable
version ospf-v2
router-id 2.2.2.2
area 0.0.0.1 {
interface ethernet-1/1.0 {
interface-type point-to-point
}
interface ethernet-1/2.0 {
interface-type point-to-point
}
interface system0.0 {
interface-type point-to-point
passive true
}
} } } } }
routing-policy {
policy all {
default-action {
policy-result accept
} } }
network-instance default {
protocols {
bgp {
admin-state enable
autonomous-system 121
router-id 2.2.2.2
afi-safi ipv4-unicast {
admin-state enable
}
group iBGP-AS1 {
admin-state enable
export-policy all
import-policy all
next-hop-self true
peer-as 121
}
route-reflector {
cluster-id 0.0.0.1
}
neighbor 1.1.1.1 {
next-hop-self true
peer-group iBGP-AS1
route-reflector {
client true
cluster-id 0.0.0.1
} }
neighbor 3.3.3.3 {
next-hop-self true
peer-group iBGP-AS1
route-reflector {
client true
cluster-id 0.0.0.1
} }
neighbor 4.4.4.4 {
next-hop-self true
peer-group iBGP-AS1
route-reflector {
client true
cluster-id 0.0.0.1
} } } } }