forked from pklimai/bgpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vMX-1.config
87 lines (87 loc) · 1.58 KB
/
vMX-1.config
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
version 18.3R1.9;
system {
login {
user lab {
uid 2000;
class super-user;
authentication {
}
}
}
root-authentication {
}
host-name vMX-1;
services {
ssh;
telnet;
netconf {
ssh;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
chassis {
fpc 0 {
lite-mode;
}
}
interfaces {
fxp0 {
unit 0 {
family inet {
address 10.254.0.41/24;
}
}
}
}
routing-options {
rib inet6.0 {
static {
route 1111::/64 reject;
route 2222::/64 reject;
}
}
static {
route 11.1.0.0/24 reject;
route 11.2.0.0/24 reject;
route 11.3.0.0/24 reject;
}
autonomous-system 65000;
}
protocols {
bgp {
group EBGP {
type external;
multihop;
export to-EBGP;
peer-as 65500;
neighbor 10.254.0.251 {
family inet {
unicast;
}
family inet6 {
unicast;
}
}
}
}
}
policy-options {
policy-statement to-EBGP {
term static {
from protocol static;
then accept;
}
}
}