How to configure multiple Cisco switch ports at the same time

by Nideesh C on February 11, 2011 · 0 comments

in Networking




To configure multiple switchports at the same time we use the interface range configuration command.
Example:

Switch(config)#interface range fastethernet0/1 – 20
Switch(config-if-range)#speed 100
Switch(config-if-range)#duplex full

The previous example will hardcode the speed and duplex settings on switchports 1 to 20. But this could well have been assinging them all to the same vlan.

We can even define multiple ranges.
Example
Switch(config)#interface range fastethernet0/1 – 4 , fastethernet0/10 – 15

Notice the spaces between the ranges.

The interface range command works with vlan, port-channel, fastethernet and gigabitethernet interfaces.

Not Satisfied ? Just search & get the result

Related Posts Plugin for WordPress, Blogger...
Be Sociable, Share!

Related posts:

  1. How to configure Cisco SPAN Ports
  2. Setting Port Security on a Cisco Catalyst Switch
  3. Inter-VLAN Routing Configuration on Cisco Router
  4. How To Configure Router-on-a-stick
  5. How to monitor switch activity and its performance with LED Light

Leave a Comment

Previous post:

Next post: