Procedures For Configuring Interfaces - Cisco Catalyst 2960 Software Configuration Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 12
Configuring Interface Characteristics
This example identifies an interface on a Catalyst 2960 or 2960-C switch or a Catalyst 2960-S switch
running the LAN Lite image:
Configuration examples and outputs in this book might not be specific to your switch, particularly
Note
regarding the presence of a stack member number.

Procedures for Configuring Interfaces

These general instructions apply to all interface configuration processes.
Enter the configure terminal command at the privileged EXEC prompt:
Step 1
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Enter the interface global configuration command.
Step 2
Identify the interface type, the switch number, and the interface number. In this example, Gigabit
Ethernet port 1 on switch 1 is selected:
Identify the interface type and the interface number, Gigabit Ethernet port 1 in this example:
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)#
Note
Follow each interface command with the configuration commands that the interface requires. The
Step 3
commands that you enter define the protocols and applications that will run on the interface. The
commands are collected and applied to the interface when you enter another interface command or enter
end to return to privileged EXEC mode.
You can also configure a range of interfaces by using the interface range or interface range macro
global configuration commands. Interfaces configured in a range must be the same type and must be
configured with the same feature options.
After you configure an interface, verify its status by using the show privileged EXEC commands listed
Step 4
in the
Enter the show interfaces privileged EXEC command to see a list of all interfaces on or configured for
the switch. A report is provided for each interface that the device supports or for the specified interface.
OL-26520-01
To configure 10/100/1000 port 4, enter this command:
Switch(config)# interface gigabitethernet0/4
Entering a space between the interface type and interface number is optional
"Monitoring and Maintaining the Interfaces" section on page
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Using Interface Configuration Mode
12-42.
12-19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents