You are here: Articles > Networking > Cisco

 See more articles about "Cisco "

How to configure multiple Cisco switch ports at the same time

 

Using the following command will save you time when configuring multiple ports with the same characteristics.

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.

 

Also see ...

Configuring a root switch on IOS based Cisco switches
H3When we use spanning tree a root switch is elected but when it comes to troubleshooting a switched network knowing where the root switch is makes it much easier. Another reason for "manually choosing" a root switch is that we can use our most powerfull switch to become the root./H3PTo set t

Enable Cisco Password Encryption
H3When setting a password against the console, auxiliary and vty lines on a cisco router, unless password encryption is switched on the passwords will be displayed when viewing the config on the terminal screen/H3Pdiv class="code"config terminal br /service password encryptionP br

How to disable Cisco router domain name lookup
H3Ever foul up a command on a router or switch and have to sit there and wait for five minutes while it translates for the "domain" ?/H3PSimply enter global config mode and type br / br /router(config) span style="font weight: bold"no ip domain lookup/span br / br /There, no more

Changing an ACL on a Cisco Firewall
H3Although changing an ACL on a Firewall is almost exactly like a router, there are a couple nuances that people should know. Here are some tips and best practice material./H3P1. When you remove an access list, it is automatically removed from the interface. *This is a nice change from rout

Cisco Router: Soft and Hard boot of BGP
H3Simple commands to reset BGP as a first step troubleshooting technique/H3PThere are two types of BGP "reboot" commands: soft and hard. You can also reset BGP in the direction of traffic flow with a soft reboot. br / br /div class="code"Router> clear ip bgp * soft in br /  o