howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / interface range

interface range

Command

Interface Range

Use

This is the modern way to configure VLANs. A useful feature is that you can configure a range of VLANs with a single command.

Syntax

Switch(config)#interface range <range>

Options

< – > Allows for a continuous range to be specified such as interface range fa0/1-24
< ,> Allows for a specific interface to be selected such as interface range fa0/3 , fa0/10

Example

interface range

In the below example we will disable ports Fa0/1-24 on SW1.

SW1(config)#interface range fa0/1-24
SW1(config-if-range)#shut
SW1(config-if-range)#
04:59:09: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down
04:59:09: %LINK-5-CHANGED: Interface FastEthernet0/2, changed state to administratively down
04:59:09: %LINK-5-CHANGED: Interface FastEthernet0/3, changed state to administratively down
04:59:09: %LINK-5-CHANGED: Interface FastEthernet0/4, changed state to administratively down
04:59:09: %LINK-5-CHANGED: Interface FastEthernet0/5, changed state to administratively down
04:59:09: %LINK-5-CHANGED: Interface Fa
SW1(config-if-range)#stEthernet0/6, changed state to administratively down
04:59:09: %LINK-5-CHANGED: Interface FastEthernet0/7, changed state to administratively down
04:59:09: %LINK-5-CHANGED: Interface FastEthernet0/8, changed state to administratively down
04:59:09: %LINK-5-CHANGED: Interface FastEthernet0/9, changed state to administratively down
04:59:09: %LINK-5-CHANGED: Interface FastEthernet0/10, changed state to administratively down
04:59:10: %LINK-5-CHANGED: Interface FastEthernet0/12, changed state to adminis
SW1(config-if-range)#tratively down
04:59:10: %LINK-5-CHANGED: Interface FastEthernet0/13, changed state to administratively down
04:59:10: %LINK-5-CHANGED: Interface FastEthernet0/14, changed state to administratively down
04:59:10: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
04:59:10: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
04:59:10: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
04:59:10: %
SW1(config-if-range)#LINK-5-CHANGED: Interface FastEthernet0/15, changed state to administratively down
04:59:10: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down
04:59:10: %LINK-5-CHANGED: Interface FastEthernet0/16, changed state to administratively down
04:59:10: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
04:59:11: %LINK-5-CHANGED: Interface FastEthernet0/22, changed state to administratively down
04:59:11: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/12, changed state to down
SW1(config-if-range)#
04:59:11: %LINK-5-CHANGED: Interface FastEthernet0/23, changed state to administratively down
04:59:11: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/13, changed state to down
04:59:11: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/14, changed state to down
04:59:11: %LINK-5-CHANGED: Interface FastEthernet0/24, changed state to administratively down
04:59:11: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/15, changed state to down
SW1(config-if-range)#
04:59:11: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/16, changed state to down
04:59:11: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/17, changed state to down
04:59:11: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/18, changed state to down
04:59:12: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/22, changed state to down
04:59:12: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to down
SW1(config-if-range)#
04:59:12: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in