forked from ksator/openconfig-demo-with-juniper-devices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fabric-01.diff
41 lines (40 loc) · 872 Bytes
/
fabric-01.diff
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
[edit interfaces]
- xe-0/0/0 {
- unit 0 {
- family inet {
- address 192.168.1.1/24;
- }
- }
- }
[edit policy-options]
- policy-statement bgp-in {
- then accept;
- }
- policy-statement bgp-out {
- then accept;
- }
[edit]
- openconfig-bgp:bgp {
- neighbors {
- neighbor 192.168.1.2 {
- config {
- peer-as 110;
- peer-group OC;
- }
- }
- }
- peer-groups {
- peer-group OC {
- config {
- local-as 104;
- peer-type EXTERNAL;
- }
- apply-policy {
- config {
- import-policy bgp-in;
- export-policy bgp-out;
- }
- }
- }
- }
- }