Cisco Tips & Tricks

May 3, 2006

Switch Configuration

Filed under: Uncategorized — ciscotips @ 4:34 pm

Configuring individual interfaces with the same parameters on a Cisco Catalyst  switch can be tiresome and time consuming.However, you can use the interface range configuration mode to simultaneously configure multiple interfaces with the sameconfiguration parameters.When you enter the interface range configuration mode,all command parameters you enter are attributed to all interfaces within that range until you exit interface range configuration mode.Beginning in privileged EXEC mode, follow these steps to configure a range of interfaces with the same parameters:

configure terminal to enter global

configuration mode.

interface range port-range

Enter interface configuration mode and enter the range of interfaces (virtual LANs or physical ports) to be configured.Each comma-separated port range must consist of the same port type.Y ou do not need to enter spaces before or after the comma.When you define a range,the space between the first port and the hyphen is required.You can use the normal configuration commands to apply the configuration parameters to all interfaces in the range.

end to return to privileged EXEC mode.

copy running-config startup-config  (Optional) to save your entries in the configuration file.

Sample configuration:

Switch#configure terminal

Switch(config)#interface range

fa0/1 -48

Switch(config-interface-range)

#description test

Switch(config-interface-range)#exit

Switch(config)#exit

Switch#copy run start

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: