How Do I Configure Multiple Interfaces on a Cisco 2960?

Written by dave wilson
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How Do I Configure Multiple Interfaces on a Cisco 2960?
Configure a range of Cisco 2960 switch ports, or interfaces, at the same time. (48 Port Switch image by Phil2048 from Fotolia.com)

The Cisco switch CLI (command line interface) contains an enormous list of commands. In most cases, configuring a Cisco switch involves configuring the same exact list of commands to a group of ports on the switch. Fortunately, the Cisco CLI also includes a command that enables administrators to configure a group of interfaces with the same settings in a single command.

Skill level:
Moderate

Other People Are Reading

Things you need

  • Cisco 2960 with telnet service enabled
  • Telnet password to the Cisco 2960 switch
  • Privileged Exec password for the Cisco 2960 switch
  • List of interfaces that require the same configuration parameters
  • Microsoft Windows XP computer connected to the same network as the Cisco 2960

Show MoreHide

Instructions

  1. 1

    Click the "Start" button, then click the "Run" box. Type "cmd" in the "Run" box and tap the "Enter" key. The command line window will appear.

  2. 2

    Enter "telnet 1.2.3.4" at the command prompt, except replace the "1.2.3.4" with the IP address of the Cisco 2960 switch. Tap the "Enter" key and telnet will connect to the 2960 switch.

  3. 3

    Enter the telnet password on the command prompt when requested, and then tap the "Enter" key. Type "enable" at the command prompt and then press the "Enter" key. Enter the "Privileged Exec" password when requested, and then tap the "Enter" key.

  4. 4

    Type "int range fastethernet0/10-0/20" -- except replace "fastethernet0/10" with the first port in the range to be configured, and "0/20" with the number of the last port in the range to be configured. Tap the "Enter" key. The command prompt will display interface mode "config-if-range."

  5. 5

    Type the configuration commands and parameters for VLAN, port-channel, gigabitehternet, and fastethernet type parameters. All ports in the range specified will receive identical configuration at the same time. For example, to define the speed of all interfaces within the range at 100 Mbps, type "speed 100" and then press the "Enter" key.

  6. 6

    Type the "end" command and press the "Enter" key. Type the "exit" command and press the "Enter" key, once all configuration commands for the ports have been issued.

Tips and warnings

  • All interfaces in the range must be of the same type, such as all "fastethernet" ports.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.