
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cisco Switch Configuration Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/cisco-switch-configuration/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/cisco-switch-configuration/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Sun, 05 Jul 2020 01:09:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>Cisco Switch Configuration Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/cisco-switch-configuration/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>How to Configure SSH on Cisco Router or Switch?</title>
		<link>https://www.technig.com/configure-ssh-on-cisco-router/</link>
					<comments>https://www.technig.com/configure-ssh-on-cisco-router/#respond</comments>
		
		<dc:creator><![CDATA[Shais]]></dc:creator>
		<pubDate>Tue, 08 May 2018 05:00:16 +0000</pubDate>
				<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNA Certification]]></category>
		<category><![CDATA[CCNA Lab Manual]]></category>
		<category><![CDATA[CCNA Packet Tracer Lab]]></category>
		<category><![CDATA[Cisco Router Configuration]]></category>
		<category><![CDATA[Cisco Switch Configuration]]></category>
		<category><![CDATA[How to]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=14677</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2018/05/How-to-Configure-SSH-on-Cisco-Router-or-Switch-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Configure SSH on Cisco Router or Switch - Technig" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2018/05/How-to-Configure-SSH-on-Cisco-Router-or-Switch-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2018/05/How-to-Configure-SSH-on-Cisco-Router-or-Switch-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2018/05/How-to-Configure-SSH-on-Cisco-Router-or-Switch-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>Short and complete guide to configure SSH on Cisco router and switch for secure remote connection. The Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. The best-known example application is for remote login to computer systems by users. SSH provides a secure channel over an unsecured [&#8230;]</p>
<p>The post <a href="https://www.technig.com/configure-ssh-on-cisco-router/">How to Configure SSH on Cisco Router or Switch?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2018/05/How-to-Configure-SSH-on-Cisco-Router-or-Switch-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Configure SSH on Cisco Router or Switch - Technig" decoding="async" srcset="https://www.technig.com/wp-content/uploads/2018/05/How-to-Configure-SSH-on-Cisco-Router-or-Switch-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2018/05/How-to-Configure-SSH-on-Cisco-Router-or-Switch-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2018/05/How-to-Configure-SSH-on-Cisco-Router-or-Switch-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>Short and complete guide to configure SSH on <a href="https://www.cisco.com/c/en_au/products/routers/index.html" target="_blank" rel="noopener noreferrer">Cisco router</a> and switch for secure remote connection. The Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. The best-known example application is for remote login to computer systems by users.</p>
<p>SSH provides a secure channel over an unsecured network in a client-server architecture, connecting an SSH client application with an SSH server. Common applications include remote command-line login and remote command execution, but any network service can be secured with SSH. The protocol specification distinguishes between two major versions, referred to as SSH-1 and SSH-2.</p>
<p><strong>The typical use of SSH Protocol</strong></p>
<p>The protocol is used in corporate networks for:</p>
<ul>
<li>providing secure access for users and automated processes</li>
<li>interactive and automated file transfers</li>
<li>issuing remote commands</li>
<li>managing network infrastructure and other mission-critical system components.</li>
</ul>
<h2>Configure SSH on Cisco Router or Switch</h2>
<p>To configure SSH on Cisco router, you need to do:</p>
<ol>
<li>Enable SSH on Cisco router.</li>
<li>Set Password for SSH.</li>
<li>Force remote access to use SSH.</li>
<li>Enable Password Encryption.</li>
<li>Add domain name Server (DNS).</li>
<li>Add Username and Password.</li>
</ol>
<p>Let&#8217;s enable and configure SSH on Cisco router or switch using the below packet tracer lab. The configure on a packet tracer lab and real Cisco devices are the same. Just try to learn and do it what the SSH remote authentication needs.</p>
<p>Download the packet tracer lab or create your own lab. <a href="https://www.technig.com/wp-content/uploads/2018/05/How-to-Configure-SSH-on-Ciscor-Router-or-Switch.zip" target="_blank" rel="noopener noreferrer"><strong>SSH Configuration Packet Tracer Lab</strong></a>.</p>
<figure id="attachment_14680" aria-describedby="caption-attachment-14680" style="width: 916px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2018/05/Configure-SSH-on-Cisco-Router-or-Switch-Technig.jpg"><img decoding="async" class="wp-image-14680 size-full" src="https://www.technig.com/wp-content/uploads/2018/05/Configure-SSH-on-Cisco-Router-or-Switch-Technig.jpg" alt="Configure SSH on Cisco Router or Switch - Technig" width="916" height="495" srcset="https://www.technig.com/wp-content/uploads/2018/05/Configure-SSH-on-Cisco-Router-or-Switch-Technig.jpg 916w, https://www.technig.com/wp-content/uploads/2018/05/Configure-SSH-on-Cisco-Router-or-Switch-Technig-300x162.jpg 300w, https://www.technig.com/wp-content/uploads/2018/05/Configure-SSH-on-Cisco-Router-or-Switch-Technig-768x415.jpg 768w" sizes="(max-width: 916px) 100vw, 916px" /></a><figcaption id="caption-attachment-14680" class="wp-caption-text">Configure SSH on Cisco Router or Switch &#8211; Technig</figcaption></figure>
<p>In this example, I just enable and configure SSH on SW1 and trying to access it from PC1. It&#8217;s enough to learn how to configure SSH on Cisco router.</p>
<pre class="font-size-enable:false nums:false lang:default decode:true">R1&gt;
R1&gt;enable 
R1#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#
R1(config)#ip domain-name Technig.com
R1(config)#crypto key generate rsa 
The name for the keys will be: R1.Technig.com
Choose the size of the key modulus in the range of 360 to 2048 for your
  General Purpose Keys. Choosing a key modulus greater than 512 may take
  a few minutes.

How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]

R1(config)#
*Mar 1 0:5:57.974:  %SSH-5-ENABLED: SSH 1.99 has been enabled 
R1(config)#
R1(config)#username Admin password Technig
R1(config)#line vty 0 4
R1(config-line)#login local 
R1(config-line)#transport input ssh 
R1(config-line)#exit
R1(config)#ip ssh version 2
R1(config)#ip ssh authentication-retries 3
R1(config)#
R1(config)#ip ssh time-out 120
R1(config)#exit
R1#

</pre>
<p>That&#8217;s all. Let&#8217;s check the process one by one.</p>
<ol>
<li>I have set DNS domain name with &#8220;<strong>IP domain-name</strong>&#8221; command.</li>
<li>Then configure the router to use <strong>RSA</strong> key pair with modulus size of <strong>1024</strong> bites for remote service authentication with &#8220;<strong style="text-transform: initial;">crypto key generate rsa</strong><span style="text-transform: initial;">&#8221; command.</span></li>
<li>Add username &#8220;<strong>Admin</strong>&#8221; with Password of &#8220;<strong>Technig</strong>&#8221; for ssh authentication.</li>
<li>Enabled ssh with &#8220;<strong>line vty 0 4</strong>&#8221; command.</li>
<li>Configure ssh to use local username and password with &#8220;<strong>login local</strong>&#8221; command. <strong>Remember</strong> that you can set a username and password for ssh with &#8220;<strong>username Admin password Technig</strong>&#8221; command as well. But here we configure ssh to use local username and password.</li>
<li>Configure the router to accept only ssh connection with &#8220;<strong>transport input ssh</strong>&#8221; command.</li>
<li>Configure ssh to version 2 using &#8220;<strong>IP ssh version 2</strong>&#8221; and set the authentication times to 3 with &#8220;<strong>IP ssh authentication-retries 3</strong>&#8221; command.</li>
<li>Finally set the ssh timeout to 120 seconds with &#8220;<strong>IP ssh time-out 120</strong>&#8221; command.</li>
</ol>
<p><strong>Related Article:</strong> <a href="https://www.enlinux.com/install-configure-ssh-on-centos/" target="_blank" rel="noopener noreferrer">Install SSH on CentOS 8.x and Red Hat Linux</a></p>
<p>The final step is to test the connectivity of ssh from PC1 with &#8220;<strong>ssh -l Admin 192.168.1.1</strong>&#8221; command for command prompt.</p>
<pre class="font-size-enable:false nums:false lang:default decode:true ">C:\&gt;ssh -l Admin 192.168.1.1
Open
Password: 


R1&gt;en
R1&gt;enable 
Password: 
R1#</pre>
<p>OK, the ssh works perfectly.</p>
<p>The post <a href="https://www.technig.com/configure-ssh-on-cisco-router/">How to Configure SSH on Cisco Router or Switch?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/configure-ssh-on-cisco-router/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14677</post-id>	</item>
		<item>
		<title>Configure VLAN on Cisco Switch Using Cisco Packet Tracer</title>
		<link>https://www.technig.com/configure-vlan-cisco-switches/</link>
					<comments>https://www.technig.com/configure-vlan-cisco-switches/#comments</comments>
		
		<dc:creator><![CDATA[Shais]]></dc:creator>
		<pubDate>Tue, 30 May 2017 07:40:40 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNA Lab]]></category>
		<category><![CDATA[Cisco Router Configuration]]></category>
		<category><![CDATA[Cisco Switch Configuration]]></category>
		<category><![CDATA[Configure VLAN]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Inter-VLAN]]></category>
		<category><![CDATA[Packet Tracer Lab]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=2403</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2015/04/Configure-VLAN-on-Cisco-Switches.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Configure VLAN on Cisco Switches" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2015/04/Configure-VLAN-on-Cisco-Switches.jpg 840w, https://www.technig.com/wp-content/uploads/2015/04/Configure-VLAN-on-Cisco-Switches-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2015/04/Configure-VLAN-on-Cisco-Switches-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>This is how to configure VLAN on Cisco Switch or Virtual LAN on Cisco Switches in your network. A VLAN is a switched network that is logically segmented by function, project team, or application, without regard to the physical locations of the users. VLANs have the same attributes as physical LANs, but you can group computers [&#8230;]</p>
<p>The post <a href="https://www.technig.com/configure-vlan-cisco-switches/">Configure VLAN on Cisco Switch Using Cisco Packet Tracer</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2015/04/Configure-VLAN-on-Cisco-Switches.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Configure VLAN on Cisco Switches" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2015/04/Configure-VLAN-on-Cisco-Switches.jpg 840w, https://www.technig.com/wp-content/uploads/2015/04/Configure-VLAN-on-Cisco-Switches-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2015/04/Configure-VLAN-on-Cisco-Switches-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>This is how to configure VLAN on Cisco Switch or Virtual LAN on Cisco Switches in your network. A <a href="https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SX/configuration/guide/book/vlans.html">VLAN </a>is a switched network that is logically segmented by function, project team, or application, without regard to the physical locations of the users. VLANs have the same attributes as physical LANs, but you can group computers even if they are not physically located on the same LAN segment. Any switch port can belong to a VLAN, and unicast, broadcast, and multicast packets are forwarded and flooded only to end stations in the VLAN.</p>
<p>Each VLAN is considered a logical network, and packets destined for stations that do not belong to the VLAN must be forwarded through a router or bridge or layer 3 switches. Because a VLAN is considered a separate logical network.</p>
<p>Here we just configure VLAN on Cisco switch and not talking about VTP, STP, and other advanced Switching techniques. It is the basic VLAN configuration. Read more about VLAN on <a href="https://www.technig.com/packet-tracer-ccna-practical-labs/">Cisco Packet Tracer CCNA Lab</a>.</p>
<h2>How to Configure VLAN on Cisco Switch?</h2>
<p>Let&#8217;s start to configure VLAN on Cisco switch using Cisco Packet Tracer. You can download the <a href="https://www.technig.com/wp-content/uploads/2015/04/Configure-VLAN-on-Cisco-Switches.zip">VLAN Lab</a> or create your lab within Cisco packet tracer or other network simulators.</p>
<figure id="attachment_2409" aria-describedby="caption-attachment-2409" style="width: 300px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2015/04/Create-VLAN.jpg"><img loading="lazy" decoding="async" class="wp-image-2409 size-medium" src="https://www.technig.com/wp-content/uploads/2015/04/Create-VLAN-300x245.jpg" alt="Configure VLAN on Cisco Switch" width="300" height="245" srcset="https://www.technig.com/wp-content/uploads/2015/04/Create-VLAN-300x245.jpg 300w, https://www.technig.com/wp-content/uploads/2015/04/Create-VLAN.jpg 374w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-2409" class="wp-caption-text">Configure VLAN on Cisco Switch</figcaption></figure>
<p><strong>1.</strong> Open the VLAN lab and create these three VLAN and named Marketing, Accounting, and Sales. So let&#8217;s create them with the following commands.</p>
<p><strong>2.</strong> First, change the switch name with &#8220;<strong>hostname</strong>&#8221; command.</p>
<pre class="toolbar:2 nums-toggle:true plain:false lang:batch decode:true">Switch&gt;enable 
Switch#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW2
SW2(config)#</pre>
<p><strong>3.</strong> Now create the VLANs using &#8220;<strong>VLAN&#8221;</strong> command.</p>
<pre class="toolbar:2 nums-toggle:true plain:false lang:batch decode:true">SW2(config)#vlan 2
SW2(config-vlan)#name Marketing 
SW2(config-vlan)#vlan 3
SW2(config-vlan)#name Accounting 
SW2(config-vlan)#vlan 4
SW2(config-vlan)#name Sales
SW2(config-vlan)#</pre>
<p><strong>4.</strong> Just type the &#8220;<strong>do sh vlan</strong>&#8221; command from config mod to see whether VLANs are created or not.</p>
<figure id="attachment_2410" aria-describedby="caption-attachment-2410" style="width: 636px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2015/04/Show-Vlan-Command.jpg"><img loading="lazy" decoding="async" class="wp-image-2410 size-full" src="https://www.technig.com/wp-content/uploads/2015/04/Show-Vlan-Command.jpg" alt="Show Vlan Command" width="636" height="306" srcset="https://www.technig.com/wp-content/uploads/2015/04/Show-Vlan-Command.jpg 636w, https://www.technig.com/wp-content/uploads/2015/04/Show-Vlan-Command-300x144.jpg 300w" sizes="(max-width: 636px) 100vw, 636px" /></a><figcaption id="caption-attachment-2410" class="wp-caption-text">Show VLAN Command</figcaption></figure>
<p>You see the VLANs are created successfully.</p>
<p><strong>5.</strong> Now try to add interfaces to each of these VLANs. All the Interfaces ports are within the default VLAN and not yet grouped to Marketing, Accounting, and Sales. So try to add an interface to a VLAN with the &#8220;<strong>Switchport</strong>&#8221; command.</p>
<pre class="toolbar:2 nums-toggle:true plain:false lang:batch decode:true">SW2(config)#interface fastEthernet 0/5
SW2(config-if)#switchport mode access 
SW2(config-if)#switchport access vlan 2
SW2(config-if)#exit
SW2(config)#interface fastEthernet 0/6
SW2(config-if)#switchport mode access 
SW2(config-if)#switchport access vlan 2
SW2(config-if)#</pre>
<p>I have added the [<strong>fastEthernet 0/5</strong>] and [<strong>fastEthernet 0/6</strong>] to VLAN 2 which is our Marketing VLAN. In this method, we add each interface one by one, but you can use &#8220;<strong>Interface range&#8221;</strong> command to add a group of ports to a VLAN.</p>
<pre class="toolbar:2 nums-toggle:true plain:false lang:batch decode:true">SW2(config)#interface range fastEthernet 0/2-4
SW2(config-if-range)#switchport mode access 
SW2(config-if-range)#switchport access vlan 4</pre>
<p><strong>6.</strong> Finally type &#8220;<strong>do sh vlan</strong>&#8221; and see the result again.</p>
<figure id="attachment_2412" aria-describedby="caption-attachment-2412" style="width: 600px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2015/04/Create-and-Configure-Vlan.jpg"><img loading="lazy" decoding="async" class="wp-image-2412 size-full" src="https://www.technig.com/wp-content/uploads/2015/04/Create-and-Configure-Vlan.jpg" alt="Create and Configure Vlan" width="600" height="279" srcset="https://www.technig.com/wp-content/uploads/2015/04/Create-and-Configure-Vlan.jpg 600w, https://www.technig.com/wp-content/uploads/2015/04/Create-and-Configure-Vlan-300x140.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-2412" class="wp-caption-text">Create and Configure VLAN</figcaption></figure>
<p>Now you can set up VLAN on your network Switches. The next step is configuring <a href="https://www.technig.com/configure-inter-vlan-routing-cisco-router/">Inter-VLAN Routing</a>. I hope you find this article helpful and do comment us about the qualities and improvements of Technig articles.</p>
<p>The post <a href="https://www.technig.com/configure-vlan-cisco-switches/">Configure VLAN on Cisco Switch Using Cisco Packet Tracer</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/configure-vlan-cisco-switches/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2403</post-id>	</item>
	</channel>
</rss>
