Skip to content

Instantly share code, notes, and snippets.

@rendoaw
Created August 23, 2016 13:34
Show Gist options
  • Save rendoaw/580f923a82b2fe3a2b54d6170f6bcc66 to your computer and use it in GitHub Desktop.
Save rendoaw/580f923a82b2fe3a2b54d6170f6bcc66 to your computer and use it in GitHub Desktop.
northstar junosvm sample config
system {
host-name northstar_junosvm;
root-authentication {
encrypted-password <encrypted password>; ## SECRET-DATA
}
login {
user northstar {
uid 2000;
class super-user;
authentication {
encrypted-password <encrypted password>; ## SECRET-DATA
}
}
}
services {
ssh {
root-login deny;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
processes {
routing force-32-bit;
}
}
interfaces {
em0 {
unit 0 {
family inet {
address 172.16.16.2/24;
}
}
}
em1 {
unit 0 {
family inet {
address <public ip>;
}
}
}
lo0 {
unit 0 {
family inet {
address <loopback address>;
}
family iso {
address <iso id>;
}
}
}
}
routing-options {
static {
route 0.0.0.0/0 next-hop <default gateway>;
}
autonomous-system <autonomous system>;
}
protocols {
topology-export;
mpls {
traffic-engineering {
database {
import {
igp-topology;
policy TE;
}
}
}
}
bgp {
group northstar {
type internal;
family traffic-engineering {
unicast;
}
allow 0.0.0.0/0;
}
}
}
policy-options {
prefix-list internal-net {
172.16.16.0/24;
}
policy-statement TE {
from family traffic-engineering;
then accept;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment