End with CNTL/Z.Ģ950_DMZ(config-line)#logging synchronous No Domain Lookup 2950_DMZ#conf tĮnter configuration commands, one per line. This stop the system displaying message while you are typing lines in the console. Put the switch into configuration mode: Conf tĭestination filename ? Turn on logging synchronous on. Proceed with reload? y Change the Hostname of the Switch Otherwise, the switch !- reloads with the current running configuration and does not reset to default. Save? : n !- Do not save the configuration at this prompt. Password: Reseting to factory Default Cat2950# write eraseĮrasing the nvram filesystem will remove all files! Continue? y Using a terminal program such as ‘tera term’ connect to the switch using the com port. Use a blue console (Roll-over) cable to connect your ‘com port’ on a laptop to the console port on the back of the switch. You’ll need a basic understanding of cisco switch and Cisco IOS, and None of the authors, contributors, or anyone else, in any way whatsoever, can be responsible for your use of the information contained in or linked from these web pages. You can see that we can ping between these two PCs because they are in same VLAN now.This Post just details some useful thing to remember and use when setting setuping up a cisco Switch, specifcally the Catalyst 29 switch, which I use often. And check whether we can ping between them or not. Ok, now we change port of PC1 on switch from fa0/6 to fa0/4. Configure IP on this interface no: yes IP address for this interface:192.168.1.100 NOTE: this is the IP we are going to use to connect to this switch using our broswer for the web interface Subnet mask for this interface 255.255.255.0 :255.255.255.0 0 Go to the IOS command prompt without saving this config. Because these PCs are in different VLANs.ĥ. Now try to ping from PC0 to PC1 using ping 192.168.1.15 on your command line, you should not be able to ping. Assign IP address to your PCs given in the figure above.Ĥ. Now you can see the output, you have two VLANs with their port numbers.ģ. Switch(config-if-range)#switchport access vlan 20 Switch(config-if-range)#switchport access vlan 10 Switch(config-if-range)#switchport mode access Then assign these interfaces to particular VLAN using Switchport access vlan command. And we want to connect it to switch or router then we have to make it Trunk mode. When we want to connect pc, laptop or printer with switch we have to change this mode to Access mode. Here we use the Switchport mode command because switch by default has Desirable mode. If you want to assign random port numbers then you can separate them using comma (,) separator. We use range keyword in this command because we have to assign multiple interface in one VLAN and this port numbers are in sequence. Test telnet connectivity from the Remote Laptop using the telnet client. Interface is the command to select particular interface to have access on it. Configure the IP address of the switch as 192.168.1.2/24 and its default gateway IP (192.168.1.1). Now let’s assign port numbers to them using following configuration. Now you can see we created VLANs in the list with default VLAN1 and other VLANs.Ģ.
First of all lets create configure switch and create VLANs. Then we will change the port number from one VLAN to port number of other VLAN and check whether we can ping between them or not.ġ.
CISCO 2950 SWITCH DEFAULT IP HOW TO
Let’s see how to configure this scenario on the switch.
After that, we will check whether these two PCs can ping each other or not. Now we have to assign ports fa0/1 to fa0/5 to VLAN10 and ports fa0/6 to fa0/10 to VLAN20. PC0 belongs to VLAN10 and PC1 belongs to VLAN20. We can see from figure that we have created 2 VLANs (VLAN 10 named Sales and VLAN 20 as Marketing). That is, PC0 is connected on port fa0/1 and PC1 is connected on fa0/6. Here in figure we can see that CISCO 2950 switch is connected with two PCs on different ports.