Cisco Switch Configuration Basic Commands
A Cisco switch is a connecting device that works on the data-link layer. It connects various devices in the same network. To determine where to send the data the Switches look at the destination Layer address. It receives the incoming data packets and redirects them to their destination. A switch sends the packet only to the destination address if the address is known otherwise it will broadcast the frames to all interfaces except the sending interface if the destination address is unknown.
The Switch works in a full-duplex mode which means both sender and receiver can communicate at the same time like a telephone call. The information is transferred in both directions means the simultaneous transmission of information between the switch and endpoint device when the switch is connected to an IP device.
| Cisco Switch Configuration |
| Switch Interface |
Assigning a name to a
Switch helps to identify a Switch, and the default factory-assigned name is
“Switch”.
Switch> enable
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch (config) #hostname Network2
Network2 (config) #end
Network2#
%SYS-5-CONFIG_I: Configured from console by console
Network2#
Network2# show running-config
| Switch Running-Configuration |
| Switch Running-Configuration |
| Switch Running-Configuration |
Network2# show startup-config
Startup-config
is not present
Network2# copy running-config startup-config
| Copy run-config startup-config |
Network2# show startup-config
| Startup-Configuration |
Network2# show version
| Cisco Switch Version |
| Cisco Switch Version |
Switches don’t contain Auxiliary Port and switch enable
and line password is the same as configured for Routers.
Network2#
Network2# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Network2 (config) # enable password Networking123
Network2 (config) # line console 0
Network2 (config-line) # password Ithome16
Network2 (config-line) #login
Network2 (config-line) #end
Network2#
Network2#
show flash
| Cisco Switch Flash |
Network2#show interfaces switchport
| Switchport Interface |
| Switchport Interface |
| Switchport Interface |
| Switchport Interface |
Network2#show
ip interface brief
| Switch IP Interface brief |
| Switch IP Interface brief |
Network2#show mac-address-table
| Switch Mac-Address Table |
Network2#show
vlan
| Cisco Switch VLAN |
Network2#show
vtp status
| VTP Status |
Search Tags
- What are the commands for switch configuration?
- How do I configure a Cisco switch?
- What are the four basic configuration modes on a Cisco switch?
- Switch configuration commands in packet tracer
0 Comments