-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathr3 .cli
111 lines (100 loc) · 1.92 KB
/
r3 .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
interface ethernet-1/1 {
admin-state enable
subinterface 0 {
ipv4 {
admin-state enable
address 10.10.23.2/24 {
} } } }
interface ethernet-1/2 {
admin-state enable
subinterface 0 {
ipv4 {
admin-state enable
address 10.10.34.1/24 {
} } } }
interface ethernet-1/3 {
admin-state enable
subinterface 0 {
ipv4 {
admin-state enable
address 10.10.33.1/24 {
} } } }
interface system0 {
admin-state enable
subinterface 0 {
ipv4 {
admin-state enable
address 3.3.3.3/32 {
} } } }
network-instance default {
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 3.3.3.3
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 3.3.3.3
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 2.2.2.2 {
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
} } } } }