Handy Cisco Command - Interface Range

There are many handy Cisco commands that you can use to help you in configuring Cisco devices, these commands well not exactly secret commands but you might not get it from the CCNA curriculum.

One of these handy commands I already posted it at my previous post. But I want to cover it again in case you missed the post.

This one is the interface range command. What this command does is to select a range of interfaces and apply the same commands to them.
This is very handy especially in a Cisco switch environment where you might want to set some ports to be access ports or apply the same security to those ports instead of doing it one by one for each interface.

For example, I want to select the interfaces fastethernet 0/2 to 0/8, with the interface range command I'd just do it like this:

2950> enable
2950# configure terminal
2950 (config)# interface range fa0/2 - 8
2950 (config-if-range)#

There, you notice that instead of displaying 2950 (config-if)# where you can get when you issue interface fa0/2, you'd get the 2950 (config-if-range)# prompt that shows you that you are selecting a range of interfaces.

When you want to select interfaces that are not in sequential order, like when you want to select interfaces fa0/2 to fa0/8, then interfaces fa0/10 to fa0/16, and the interface fa0/24 then you can do it like this:

2950 (config)# interface range fa0/2 -8, fa0/10 - 16, fa0/24
2950 (config-if-range)#

I'll be posting more handy Cisco commands again next time, hope this one is useful for you.

Comments

  1. I skipped the One Boston Fundraiser T shirt. Is it too late to place an order
    in? I am from Boston and would truly actually like to
    donate to the cause.Thanks.

    Also visit my web-site; how to build muscle fast and easy

    ReplyDelete
  2. Sweet weblog! I found it while surfing about on Yahoo
    News.
    Do you have any suggestions on how to get
    listed in Yahoo News?
    I've been attempting for a while but I never seem to acquire there! Thank you

    Here is my web page :: precision nutrition system by John Berardi

    ReplyDelete
  3. Undeniably believe that which you stated. Your favourite justification appeared to
    be on the net the easiest factor to remember of. I say to you, I definitely get annoyed even as people consider issues that they plainly do not understand about.
    You controlled to hit the nail upon the top and outlined out the entire thing with no need side effect , folks could take a signal.
    Will probably be again to get more. Thanks

    Here is my site ... contemporary home office furniture

    ReplyDelete
  4. Women look to become more free to wear cross-gender clothing and to act outdoors their proven gender part.
    Take into account how the media portrays men and women.
    It appears men are both the stereotypical macho guy or the bumbling fool.

    Males are significantly less cost-free to display their feelings.

    Girls could be capable, smart, and athletic.

    Also visit my webpage: female mind mastery

    ReplyDelete
  5. I wouldn't always think about paleo low carb. Is not it just entire meals as we'd find whilst hunting and accumulating.


    Here is my blog post :: Eat Healthy Lose weight vol 3

    ReplyDelete
  6. wonderful post, very informative. I ponder why the other experts of this sector do not notice this.
    You must continue your writing. I'm sure, you have a great readers' base already!


    Feel free to visit my webpage - vigrx plus side effects

    ReplyDelete
  7. There are? issues like Montessori schooling. I also like how some technical colleges test
    for what you've learned making use of a simple pass?-or-fail block system, as opposed to worrying regarding the unnecessary letter grades. You either learned everything you need to or didn't.
    There's ideally never ever any busy work, & all facets have been helpful for 1 factor or another, even though niche, considering that it is for any certain career. And you could retake any subject blocks that you just failed to adequately find out the content material? of.

    My weblog: 100 ways to attract women

    ReplyDelete

Post a Comment

Popular posts from this blog

Configuring WEP Authentication on Cisco Aironet

Cable Labeling