Solved

Junos range

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
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…

760 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

20 Experts available now in Live!

Get 1:1 Help Now