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 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
|
## Last commit: 2017-02-16 10:48:24 PST by root
# based on https://github.com/Juniper/Intro-to-Using-Ansible-with-Junos-OS/raw/master/library/config.conf
version 14.2R6.5;
groups {
re0 {
system {
/* host-name be-mx480-1-re0; */
}
interfaces {
fxp0 {
/*
unit 0 {
family inet {
filter {
group 1; */
}
address **.***.*.**/22;
}
}
}
}
}
re1 {
system {
host-name be-mx480-1-re1;
}
interfaces {
fxp0 {
unit 0 {
family inet {
filter {
group 1;
}
address **.***.*.**/22;
}
}
}
}
}
global {
system {
domain-name ********;
domain-search [ ******** ];
backup-router **.***.*.*** destination *.*.*.*;
time-zone America/Los_Angeles;
debugger-on-panic;
debugger-on-break;
dump-on-panic;
authentication-order [ radius password ];
root-authentication {
encrypted-password ******
}
name-server {
***.***.*.**;
***.***.**.***;
***.**.**.***;
***.**.**.***;
}
radius-server {
***.***.**.***
***.***.**.**
}
login {
class superuser-local {
permissions all;
}
user labadmin {
uid 2003;
class superuser;
shell csh;
authentication {
encrypted-password ****
}
}
}
services {
finger;
ftp;
rlogin;
rsh;
ssh;
telnet;
xnm-clear-text;
netconf {
ssh;
}
}
syslog {
user * {
any emergency;
}
file messages {
any warning;
authorization info;
archive world-readable;
}
file security {
interactive-commands any;
archive world-readable;
}
}
processes {
routing enable;
ntp enable;
management enable;
watchdog enable;
snmp enable;
inet-process enable;
mib-process enable;
}
ntp {
boot-server ***.**.**.*;
server ***.**.**.*;
}
}
snmp {
location "Software lab";
interface fxp0.0;
community public {
authorization read-only;
}
community private {
authorization read-write;
}
}
routing-options {
static {
route 10.***.*.*/16 {
next-hop 10.***.*.***;
retain;
no-readvertise;
}
}
}
}
}
apply-groups [ global re0 re1 ];
|