Debian Codegraph @

tests/inputs/config.junos

raw
1 ## Last commit: 2017-02-16 10:48:24 PST by root
2 # based on https://github.com/Juniper/Intro-to-Using-Ansible-with-Junos-OS/raw/master/library/config.conf
3 version 14.2R6.5;
4 groups {
5 re0 {
6 system {
7 /* host-name be-mx480-1-re0; */
8 }
9 interfaces {
10 fxp0 {
11 /*
12 unit 0 {
13 family inet {
14 filter {
15 group 1; */
16 }
17 address **.***.*.**/22;
18 }
19 }
20 }
21 }
22 }
23 re1 {
24 system {
25 host-name be-mx480-1-re1;
26 }
27 interfaces {
28 fxp0 {
29 unit 0 {
30 family inet {
31 filter {
32 group 1;
33 }
34 address **.***.*.**/22;
35 }
36 }
37 }
38 }
39 }
40 global {
41 system {
42 domain-name ********;
43 domain-search [ ******** ];
44 backup-router **.***.*.*** destination *.*.*.*;
45 time-zone America/Los_Angeles;
46 debugger-on-panic;
47 debugger-on-break;
48 dump-on-panic;
49 authentication-order [ radius password ];
50 root-authentication {
51 encrypted-password ******
52 }
53 name-server {
54 ***.***.*.**;
55 ***.***.**.***;
56 ***.**.**.***;
57 ***.**.**.***;
58 }
59 radius-server {
60 ***.***.**.***
61 ***.***.**.**
62 }
63 login {
64 class superuser-local {
65 permissions all;
66 }
67 user labadmin {
68 uid 2003;
69 class superuser;
70 shell csh;
71 authentication {
72 encrypted-password ****
73 }
74 }
75 }
76 services {
77 finger;
78 ftp;
79 rlogin;
80 rsh;
81 ssh;
82 telnet;
83 xnm-clear-text;
84 netconf {
85 ssh;
86 }
87 }
88 syslog {
89 user * {
90 any emergency;
91 }
92 file messages {
93 any warning;
94 authorization info;
95 archive world-readable;
96 }
97 file security {
98 interactive-commands any;
99 archive world-readable;
100 }
101 }
102 processes {
103 routing enable;
104 ntp enable;
105 management enable;
106 watchdog enable;
107 snmp enable;
108 inet-process enable;
109 mib-process enable;
110 }
111 ntp {
112 boot-server ***.**.**.*;
113 server ***.**.**.*;
114 }
115 }
116 snmp {
117 location "Software lab";
118 interface fxp0.0;
119 community public {
120 authorization read-only;
121 }
122 community private {
123 authorization read-write;
124 }
125 }
126 routing-options {
127 static {
128 route 10.***.*.*/16 {
129 next-hop 10.***.*.***;
130 retain;
131 no-readvertise;
132 }
133 }
134 }
135 }
136 }
137 apply-groups [ global re0 re1 ];