Blogs

Scripting How-To: Select attributes on a range of interfaces on EX and MX

By Erdem posted 08-11-2015 10:11

  

The range script lets you issue select attributes on a range of interfaces on EX and MX.

 

This script uses the "range" macro for configuring a range of interfaces (DPC and PIC for EX, DPC for MX). If the vlan specified to be placed on the interfaces does not exist in "vlans", the vlan will be created and the "vlan-id" will be added.

 

See the document range


#commitscript
#vlan
#ScriptingHow-To
#interface
#rangescript
#Slax
#How-To