Skip to content

Instantly share code, notes, and snippets.

@indigo423
Last active June 30, 2025 05:12
Show Gist options
  • Save indigo423/2e7d614a3a078b7e9c02e0db21ca792b to your computer and use it in GitHub Desktop.
Save indigo423/2e7d614a3a078b7e9c02e0db21ca792b to your computer and use it in GitHub Desktop.
## Last changed: 2025-06-30 05:04:48 UTC
version 24.4R1.9;
system {
host-name pe2;
root-authentication {
encrypted-password "NOTHINGTOSEEGOAWAY"; ## SECRET-DATA
}
services {
ssh {
root-login allow;
protocol-version v2;
}
extension-service {
request-response {
grpc {
clear-text {
port 50051;
}
}
}
}
}
arp {
aging-timer 5;
}
name-server {
8.8.8.8;
9.9.9.9;
}
syslog {
file interactive-commands {
interactive-commands any;
}
file messages {
any notice;
authorization info;
}
}
}
logical-systems {
pe2;
}
services {
analytics {
streaming-server onms-core {
remote-address 10.10.59.31;
remote-port 57400;
}
export-profile opennms {
local-address 10.10.50.154;
local-port 21111;
reporting-rate 10;
format gpb-gnmi;
transport grpc;
}
sensor cpu-utilization {
server-name onms-core;
export-name opennms;
resource /components/component/cpu/utilization;
}
}
}
interfaces {
ge-0/0/0 {
description "Link from PE2 to p-router";
unit 0 {
family inet {
address 172.16.1.232/24;
}
}
}
ge-0/0/1 {
description "Link from PE2 to CE2 for L3vpn";
unit 0 {
family inet;
}
}
ge-0/0/2 {
description "Link from PE2 to p-router";
mtu 4000;
unit 0 {
family inet {
address 10.1.34.2/24;
}
family mpls;
}
}
ge-0/0/3 {
description "Link from PE2 to CE2 for L3vpn";
unit 0 {
family inet {
address 172.16.2.2/30;
}
}
}
fxp0 {
unit 0 {
family inet {
address 10.10.50.154/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.3/32;
}
}
}
}
snmp {
community ?????? {
authorization read-only;
}
}
policy-options {
policy-statement adv_direct {
term 1 {
from {
protocol direct;
route-filter 172.16.0.0/16 orlonger;
}
then accept;
}
}
policy-statement allow-all {
term 1 {
then accept;
}
}
}
routing-instances {
CE2_L3vpn {
instance-type vrf;
protocols {
bgp {
group CE2 {
type external;
export allow-all;
peer-as 65420;
neighbor 172.16.2.1;
}
}
}
interface ge-0/0/1.0;
interface ge-0/0/3.0;
route-distinguisher 192.168.0.3:12;
vrf-target target:65412:12;
}
}
routing-options {
router-id 192.168.0.3;
autonomous-system 65412;
}
protocols {
bgp {
group ibgp {
type internal;
local-address 192.168.0.3;
family inet-vpn {
unicast;
}
export allow-all;
neighbor 192.168.0.1;
}
}
mpls {
label-switched-path lsp_to_pe1 {
to 192.168.0.1;
}
interface ge-0/0/0.0;
interface ge-0/0/2.0;
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface lo0.0 {
passive;
}
interface ge-0/0/0.0;
interface ge-0/0/2.0;
}
}
rsvp {
interface lo0.0;
interface ge-0/0/0.0;
interface ge-0/0/2.0;
}
source-packet-routing;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment