Solved

Junos range

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is this QoS Correct on this  CISCO 3825 Router 1 67
Forwarding web requests to different web servers 15 115
Layer 2 versus layer 3 10 86
Problem to router 7 51
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now