Juniper

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 »

Rolling back an upgrade on Junos

On Juniper devices, there are two steps performed during the upgrade. The first is to push the software to the device and the second one is to reboot the device so that the software would be installed. You can perform these two steps in a single operation(add ‘reboot’ knob) or you can split the two… Keep reading »

SNMP stats for VCP ports in Virtual Chassis Fabric(VCF)

Starting with 14.1X53-D10, the SNMP stats for VCP ports in Juniper VCF are available. You will be able to retrieve the packet rate, bytes rate per second, the total number of bytes and packets per port per direction(in/out) among others. To retrieve the stats, the following MIB object has to be used: jnxVirtualChassisPortEntry. To activate… Keep reading »

Representation of all Virtual Chassis members in JWEB

With the recent releases of EX switches, you are able to see in JWEB all the virtual chassis members, regardless of their state. These are the possible virtual chassis member status: Present Not Present Inactive Unprovisioned Let’s see how this is shown on JWEB and how is it on CLI. FPC1 will transition to all… Keep reading »

Sidebar