0% found this document useful (0 votes)
164 views

Cisco Switch Configuration

Cisco Switch Configuration When configuring a new Cisco switch, there is no default configuration and setup mode must be used. The Cisco IOS interface allows modifying the configuration in different modes like global, interface, and line configuration modes. Each mode has commands for specific tasks like global mode for global settings and interface mode for interface-specific configurations.

Uploaded by

Kalp Sengar
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views

Cisco Switch Configuration

Cisco Switch Configuration When configuring a new Cisco switch, there is no default configuration and setup mode must be used. The Cisco IOS interface allows modifying the configuration in different modes like global, interface, and line configuration modes. Each mode has commands for specific tasks like global mode for global settings and interface mode for interface-specific configurations.

Uploaded by

Kalp Sengar
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Cisco Switch Configuration

Whenever you purchase a new switch from Cisco company there is no default
configuration in it. You have to configure the switch with setup mode by the
configuration dialogue. After the basic configuration of switch has been performed in
setup mode you can verify, modify and delete the configuration settings of the switch in
different configuration mode by the Cisco IOS command line interface. The two primary
modes of Cisco IOS are user exec mode and privileged exec mode along with
configuration modes such as global configuration mode, interface configuration mode
and line configuration mode with distinctive prompts. Each mode has its specific
commands to perform specific tasks. The user exec mode is the limited examination
mode while the privileged exec mode is the detailed examination and the prerequisite of
all other configuration modes. Global configuration mode is the mode for the global
settings of the switch while the interface configuration mode and line configuration mode
are used to configure the specific interface or line. Cisco IOS commands vary in different
series of Cisco switches. Nowadays the most popular series of the Cisco switches are
Cisco Catalyst 2950 series switch, Cisco 2960 series switch and Cisco 3548 series switch.

Cisco Switch Configuration Commands

It is important to know the basic cisco switch configuration with the cisco switch
configuration commands and basic operational cisco switch commands to surly execute
the performance of any internetwork.

Here are some basic configuration and operation commands of cisco switches:

 interface vlan 1: This is a global command used to configure the interface for
VLAN.
 ip default-gateway [address]: This is a global command and set default gateway.
 ip address [address][subnet mask]: This command is used to configure the
interface and set the ip address
 interface fast Ethernet 0/x: This command put user into user configuration
mode.
 speed {10/100/1000/auto/nonegotiate}: This command set the speed of the
interface.
 duplex {auto/full/half}: This command sets duplex mode for interface.
 switchport port-security mac-address: This command statically adds MAC
address as allowed address on the port.
 switchport port-security mac-address sticky: This command tells switch to
learn MAC addresses on the interface and add as secure MACs.
 switchport port-security violation {protect/restrict/shutdown}: This command
tells switch what to do if an appropriate MAC tries to access through secure
switch port.
 switchport port-security maximum [value]: This command allowed max of
secure MAC on the interface.
 hostname [name]: This command assigns hostname to the switch.
 line vty 0 15: This command enters vty configuration mode.
 line con 0: This command enters console configuration mode.
 login: This command tells switch to ask for password.
 password[password]: This command sets the password.
 enable password [password]: This command sets password to enter privileged
mode.
 enable secret [password]: This command sets encrypted password.
 configure terminal: This command enters configuration mode.
 show interfaces fastethernet 0/x: This command displays interface status.
 show interfaces: This command displays information about specific interface.
 show interfaces vlan 1: This command displays the ip address configuration.
 show [running/startup]-config: This command displays RAM/NVRAM settings.
 show-mac-address-table: This command displays the MAC address table.
 show port-security: [interface] [address]: This command shows security options
on the interface.
 show version: This command displays the hardware and software status of the
switch.
 show flash: This command displays the files and directories reside in the flash.
 show history: This command displays the last ten commands.
 erase startup-config: This command erases startup configuration.

Cisco 2960 Switch

Cisco Catalyst 2960 switch is one of the popular series introduced by the Cisco System
with management console. There are two different models in Cisco Catalyst 2960 series
switch with all uplink ports. One model has 12 fast Ethernet interfaces and the other has
24 fast Ethernet interfaces. The Cisco Catalyst 2960 series switch is mostly used in the
industrial or ISP sector for its better performance and scalability features.

Assigning IP to Cisco 2950 Switch

You can assign an ip address to the Cisco 2950 switch with this command of global
configuration mode.

Switch2950 (config) # interface vlan 1

Switch2950 (config-if) # ip address 192.168.0.1 255.255.255.0

How Do You Configure a Cisco 3548 Switch

To configure a Cisco 3548 switch is very simple. Connect the console port of the Cisco
3548 switch with the com port of your computer by using the UTP roll over cable. After
physical connection make a HyperTerminal session and give any name to it. The com
port setting should be Restore Default in the properties of com port. Then configure the
basic configuration settings in setup mode with the help of configuration dialogue. The
basic configuration includes the configuring of hostname, configuring the enable secret
password, enable password and the line vty password and the configuration of each fast
Ethernet interface along with the VLAN interface configuration. The ip configuration of
vlan interface is also included in the basic configuration.

How Do I configure OSI Bridging on Cisco Switch

For configuring the OSI bridging on a Cisco switch you should have to use the command
"bridging" in the global configuration mode of the Cisco switch.

You might also like