Fetch remote Junos script at startup

I was in need to fetch an operational Junos script from a URL automatically at startup. Junos has such capabilities for a long time and it is based on the idea of downloading the script while an operator configures the script in Junos via CLI: [edit] mwiget@pe1# edit system scripts op file say-hello.py [edit system... Continue Reading →

DHCP Client in Junos vMX

DHCP Client in Junos vMX This is just a quick lab note about successfully enabling DHCP client mode on the management and revenue ports fxp0 and 0/0/x on a vMX running 17.1R1. Background is a cloud deployment, where the interface IP addresses are dynamically assigned via DHCP to the interfaces of the virtual instance. lab@vMX1>... Continue Reading →

vMX explores his surroundings in Amazon AWS

vMX explores his surroundings in Amazon AWS Recently I started exploring ways in Junos to program IP routes in Amazon AWS EC2 using their REST API. Junos 16.1 not only comes with Python 2.7.x, but also with all the default modules and some extras, like PyEz: Understanding Python Automation Scripts for Devices Running Junos OS.... Continue Reading →

MQTT on Juniper devices with Junos 16.1R1

MQTT on Juniper devices with Junos 16.1R1 For decades, syslog and snmp traps have been extensively used to receive event notifications from devices. It typically required an operator to configure the event category and severity level on the devices and where to send the events to. Fast forward to today and thanks to a generic... Continue Reading →

Blog at WordPress.com.

Up ↑