Solved

Junos range

Posted on 2010-11-22
2
707 Views
Last Modified: 2012-05-10
Juniper EX4200

How do I use a range of interfaces?

Example, I want to delete ether-options for interfaces 1-40 .

delete interfaces ge-0/0/[1-40] ether-options
this doesn't work.

How is it done in Junos?
0
Comment
Question by:md168
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Expert Comment

by:deimark
ID: 34195615
I assume that you are doing this on either an SRX of EX switch.

If its EX, form Junos 10.0 onwards you can define an interface range and then assign the ether-options to that.  To add or remove an interface from that switch is by modifying the range set.

If its not EX, then use groups.

An example can be found here:
http://kb.juniper.net/InfoCenter/index?page=content&id=KB9299

Note, although the groups configs are using routing protocols, the config of ether-options and the application to interfaces are the same.
0
 
LVL 11

Accepted Solution

by:
donmanrobb earned 500 total points
ID: 34197608
You can define a range with the interface-range command under the interfaces hierarchy

For example

{master:0}[edit interfaces]
user@switch-1# show
interface-range range-1 {
member ge-0/0/10;
member-range ge-0/0/6 to ge-0/0/8;
unit 0 {
family ethernet-switching;
}
}
Regardless
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question