In this article, you will learn-
Basic Cisco Switch Configuration
As I would see it, the Cisco switches are the best in the market. Adaptable, solid, adaptable and ground-breaking, the Cisco switch product offering, (for example, 2960, 3560, 3650, 3850, 4500, 6500, 9400 arrangement and so on) offer unmatched execution and highlights.
Albeit a Cisco switch is a lot easier system gadget contrasted and different gadgets, (for example, switches and firewalls for instance), numerous individuals experience issues to arrange a Cisco Catalyst Switch.
Not at all like other lower-class switch sellers (which are fitting and-play), the Cisco switch needs some underlying essential set up so as to empower the executives, security and some other significant highlights.
In this article, I will depict the fundamental advances expected to arrange and arrange a Cisco change without any preparation. I don’t care for graphical GUI or web the board by any means, so I will give you direction line setup (CLI) which is significantly more dominant and causes the chairmen to realize what they are doing on the device..
STEP1: Connect to the device by means via console
Use a terminal copying programming, for example, PuTTY and associate with the comfort of the switch. You will get the underlying direction brief “Switch>”
Type “enable” and hit enter. You will get into a favored mode (“Switch#”)
Presently, get into Global Configuration Mode:
Switch# configure terminal
Switch(config)#
STEP2: Set up a hostname for the specific change to recognize it in the network
Switch(config)# hostname access-switch1
access-switch1(config)#
STEP3: Configure an administration password (enable secret password)
access-switch1(config)# enable secret somestrongpass
STEP4: Configure a password for Telnet access
access-switch1(config)# line vty 0 15
access-switch1(config-line)# password strongtelnetpass
access-switch1(config-line)# login
access-switch1(config-line)# exit
access-switch1(config)#
STEP5: Define which IP addresses are allowed to access the switch via Telnet
access-switch1(config)# Ip access-list standard TELNET-ACCESS
access-switch1(config-std-nacl)# permit 10.1.1.100
access-switch1(config-std-nacl)# permit 10.1.1.101
access-switch1(config-std-nacl)# exit
!Apply the entrance rundown to Telnet VTY Lines
access-switch1(config)# line vty 0 15
access-switch1(config-line)# access-class TELNET-ACCESS in
access-switch1(config-line)# exit
access-switch1(config)#
STEP6: Assign IP address to the switch for management
!Management IP is assigned to Vlan 1 by default
access-switch1(config)# interface vlan 1
access-switch1(config-if)# ip address 10.1.1.200 255.255.255.0
access-switch1(config-if)# exit
access-switch1(config)#
STEP7: Assign default gateway to the switch
access-switch1(config)# IP default-gateway 10.1.1.254
STEP8: Disable unneeded ports on the switch
! This progression is discretionary yet upgrades security
! Expect that we have a 48-port switch and we needn’t bother with ports 25 to 48
access-switch1(config)# interface range fe 0/25-48
access-switch1(config-if-range)# shutdown
access-switch1(config-if-range)# exit
access-switch1(config)#
STEP9: Configure Layer2 VLANs and assign ports to them
As a matter of course, all physical ports of the switch have a place with the local VLAN1. One of the most significant elements of an Ethernet switch is to fragment the system into various Layer2 VLANs (with each VLAN having a place with an alternate Layer3 subnet).
So as to do the above Layer2 division you have to make extra VLANs from the default VLAN1 and afterward allot physical ports to these new VLANs. How about we make two new VLANs (VLAN2 and VLAN3) and dole out two ports to everyone.
! First, make the Layer2 VLANs on the switch
access-switch1(config)# vlan 2
access-switch1(config-vlan)# name TEACHERS
access-switch1(config-vlan)# exit
access-switch1(config)# vlan 3
access-switch1(config-vlan)# name STUDENTS
access-switch1(config-vlan)# exit
! Presently appoint the physical ports to each VLAN. Ports 1-2 are allocated to VLAN2 and ports 3-4 to VLAN3
access-switch1(config)# interface range fe 0/1-2
access-switch1(config-if-range)# switchport mode access
access-switch1(config-if-range)# switchport access vlan 2
access-switch1(config-if-range)# exit
access-switch1(config)# interface range fe 0/3-4
access-switch1(config-if-range)# switchport mode access
access-switch1(config-if-range)# switchport access vlan 3
access-switch1(config-if-range)# exit
STEP10: Save the configuration
access-switch1(config)# exit
access-switch1# wr
The above direction to spare the setup can likewise be practiced with duplicate run start
The above are a few stages that can be pursued for the fundamental set-up of a Cisco switch. Obviously there are more things you can design, (for example, SNMP servers, NTP, AAA, 802.1q Trunk ports and so on) yet those rely upon the necessities of every particular network.