Solved

Junos range

Posted on 2010-11-22
2
708 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
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…
Suggested Courses
Course of the Month3 days, 13 hours left to enroll

630 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