S 1 (config -if-range) # switchport mode access S 1(config) # interface range fe 0 / 3 – 4 S1(config -if-range) # switchport access vlan 10 S1(config -if-range) # switchport mode access S1(config) # interface range fe 0 / 1 - 2 For assigning a port to VLan you can review the following commands: You can create the vlans on your switch with the following commands:Ībove command will create two vlans and you can assign IT department users to vlan 10 and HR department users to VLan 20.
And in this scenario you dont need the additional physical extra switch.
IT and HR, in such case you divide your network devices into two different network segment with using VLANs. Suppose you have two departments in your organization i.e. With the VLAN you can reduce size of the broadcast-domain, and you can divide your network into different small network segments. S1(config)#exit Configuring Vlan on Switch You can use the following configurations for setting host-name on Cisco Switch. One of the basic setting initially you need to configure is to change the host-name of your switch. In next steps you will learn the basic configurations of Cisco Switch. If you are using a new Cisco Switch then you need to configure it at own. IP configurations of different physical and virtual interfaces on switch.With the running configurations you can examine the different setting on switch like: This command will show all configurations on switch. Check the default or Current configurations on Switchįor checking the default or current configuration on switch you can use the command “ show ruuning- configuration” in privileged EXEC mode. You can learn more basic Cisco commands here. This mode is know as privileged EXEC mode. Type the command “ enable” & press enter key to get in to privileged_mode with symbol (“ Switch#”). On successful connection you will see initial command-prompt “ Switch>”. Open the putty and you can try the following basic configurations for console connection to your Switch.
#How to configuration cisco switch software
For this you can use a famous software known as Putty, you can download it free from internet. Once you have the physical cable connection, you are required a software for getting the configuration interface on your PC. Using a console or rollover cable, you can connect the switch to your computer. You need a console cable for this, you can understand the whole process with the following figure. Now make a console connection for Basic Cisco Switch Configuration.
#How to configuration cisco switch how to
This article is about the How to Configure Cisco Switch, a complete guide for configuration of Cisco Switch for a Beginner. to Configure Cisco Switch | Easy Tutorial Set to 0 0 (minutes seconds) means console never logs off. Sets time limit when console automatically logs off. How to configure an inactivity time-out for automatic log-off If you want the information sent to console not interrupt the command you are typing, turn on synchronous logging. If the Cisco Switch IOS sends a message to the console while you're entering a command, by default the switch will interrupt your work to show the message. Once this is completed, we can use the configured host name for telnet or ping. How to assign a Local Name to an IP addressįollowing command assigns a host name to an IP address. We can turn off this by using the following command. The Cisco switch is set by default to try to resolve any word that is not a command to a DNS server at address 255.255.255.255. How to turn off the automatic name resolution for a Cisco Switch How to enable DNS lookup for a Cisco Switch 01>enable The banner message should be sorrounded by delimiting character and the message should not contain the delimiting character.
Here the "#" character is known as a delimiting character. Use the following commands to configure a MOTD message. Users will be presented with a MOTD (Message of the DAY) banner every time they attempt a connection via the console port, auxiliary port, SSH or a telnet session to Cisco switch. How to Configure a MOTD Banner for Cisco Switch switch>enableĮnter configuration commands, one per line. To configure a name for router, use "hostname" command from Global Configuration mode. How to Configure a hostname for a Cisco Switch