Welcome to Next Header

A networker's blog

Zero Touch Provisioning on Juniper devices using Windows

In this article we will see how you can use Windows OS to perform ZTP on Juniper devices. There was a previous article, Zero Touch Provisioning on Juniper devices using Linux,  where we saw how ZTP works when Linux is used. The principle of ZTP is the same one: the network device with no configuration gets… Keep reading »

Zero Touch Provisioning on Juniper devices using Linux

In this post we will see in action the Zero Touch Provisioning(ZTP) feature on Juniper devices using Linux. The Juniper device will be a QFX5100, but you can use any other Juniper EX or QFX devices. All you need from the Juniper device is the MAC address based on which the DHCP server will identify… Keep reading »

Using sftp in Junos

You can use sftp to transfer files to and from Juniper devices. You can initiate the transfer to and from the Juniper device from the Juniper device itself using the command “sftp” from shell:   {master:1} lab@EX4200-VC> start shell % sftp usage: sftp [-1246Cpqrv] [-B buffer_size] [-b batchfile] [-c cipher]           [-D sftp_server_path] [-F ssh_config]… Keep reading »

Pushing RADIUS attributes to EX/SRX devices

There is a list of RADIUS attributes that can be pushed from the server to an EX or SRX which will override the configuration from the NAS. You can find the entire list of attributes that EX or SRX can work with here: http://kb.juniper.net/InfoCenter/index?page=content&id=KB11078&smlogin=true Let’s demonstrate how an attribute pushed from the server will take… Keep reading »

How to install and use Juniper Netconify 1.0.0

This library can be used as initial configuration of the new devices(also known as New-Out-Of-Box (NOOB)). This library is a dependency for Junos modules for Ansible. More information about the usage/installation/upgrade can be found here: https://github.com/Juniper/py-junos-netconify Let’s start with a practical example of installation and how to use it: This is how you install the… Keep reading »

write-file and read-file knobs in monitor traffic command

From Junos CLI you can use write-file and read-file to write and read packet captures using ‘monitor traffic’ command. These commands are hidden in CLI. However, if you login to shell, you can use ‘-w’ and ‘-r’ parameters on tcpdump to achieve the same results. But that is an extra step to do something so… Keep reading »

Executing shell commands from SLAX scripts

Starting with 14.1, it’s possible to execute shell commands from SLAX scripts. This is an example of how you can get the output of the shell command “ifconfig me0”. First configure the OP script like this: {master:0}[edit] lab@ex4550# show system scripts op {     file script.slax; } {master:0}[edit] lab@ex4550#

apply-path and apply-flags omit on Junos

I was playing the other day with few interesting knobs/features in Junos. One of them is apply-path and this one is a chain of configuration keywords that points to a set of prefixes. The second one is “apply-flags omit” and this one allows you to remove configuration parts from being displayed when “show configuration” is… Keep reading »

Sidebar