<?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 &#8211; Ruben&#039;s Corner</title>
	<atom:link href="http://rubenscorner.com/tag/cisco/feed/" rel="self" type="application/rss+xml" />
	<link>http://rubenscorner.com</link>
	<description></description>
	<lastBuildDate>Sun, 01 Dec 2019 01:13:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Basic Cisco Switch Configuration</title>
		<link>http://rubenscorner.com/2019/11/30/basic-cisco-switch-configuration/</link>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Sun, 01 Dec 2019 01:13:27 +0000</pubDate>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco Switch]]></category>
		<category><![CDATA[Switch]]></category>
		<guid isPermaLink="false">https://www.rubenscorner.com/?p=241</guid>

					<description><![CDATA[Basic steps needed to configure and setup a Cisco switch from scratch. I. Connect to the device via consoleUsing software such as PuTTY, connect to the console of the switch. You&#8217;ll get the initial command prompt Switch&#62; Type enable and hit enter. You&#8217;ll get into priviled EXEC mode Switch# Now, get into Global Configuration Mode: [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Basic steps needed to configure and setup a Cisco switch from scratch. </p>



<p>I.  Connect to the device via console<br>Using software such as <a rel="noreferrer noopener" aria-label="PuTTY (opens in a new tab)" href="https://www.putty.org/" target="_blank">PuTTY</a>, connect to the console of the switch. You&#8217;ll get the initial command prompt <br>    <strong> Switch&gt;</strong><br> Type<br>     <strong>enable</strong><br> and hit enter.   You&#8217;ll get into priviled EXEC mode <br>     <strong>Switch#</strong><br> Now, get into Global Configuration Mode:<br>     <strong>Switch# configure terminal<br>    Switch(config)#</strong><br>II.  Set up a hostname for the particular switch to distinguish it in the network<br>     <strong>Switch(config)# hostname switch1<br>     switch1(config)#</strong><br>III. Configure an administration password (enable secret password)<br>      <strong>switch1(config)# enable secret somestrongpass</strong><br> ** The password above will be used to enter into Privileged EXEC mode **<br><br> IV. Configure a password for Telnet and Console access<br>        <strong>switch1(config)# line vty 0 15<br>       switch1(config-line)# password strongtelnetpass<br>       switch1(config-line)# login<br>       switch1(config-line)# exit<br>       switch1(config)#</strong> <br>        <strong>switch1(config)# line console 0</strong> <br>        <strong>switch1(config-line)# password  strongconsolepass    <br>       switch1(config-line)# login     <br>       switch1(config-line)# exit    <br>       switch1(config)#</strong>  </p>



<p>V.  Define which IP addresses are allowed to access the switch via Telnet</p>



<pre class="wp-block-code"><code>switch1(config)# ip access-list standard TELNET-ACCESS
switch1(config-std-nacl)# permit 10.1.1.100
switch1(config-std-nacl)# permit 10.1.1.101
switch1(config-std-nacl)# exit</code></pre>



<p>** Apply the access list to Telnet VTY Lines **<br>   <strong>  switch1(config)# line vty 0 15<br>     switch1(config-line)# access-class TELNET-ACCESS in<br>     switch1(config-line)# exit<br>     switch1(config)#</strong></p>



<p>VI  Assign IP address to the switch for management<br> ** Management IP is assigned to VLAN 1 by default **<br>     <strong>switch1(config)# interface vlan 1<br>     switch1(config-if)# ip address 10.1.1.200 255.255.255.0<br>     switch1(config-if)# exit<br>     switch1(config)#</strong></p>



<p>VII Assign default gateway to the switch</p>



<pre class="wp-block-code"><code>switch1(config)# ip default-gateway 10.1.1.254</code></pre>



<p>VIII: Disable unneeded ports on the switch</p>



<p>** Assume that we have a 48-port switch and we don’t need ports 25 to 48 **<br>      <strong>switch1(config)# interface range fe 0/25-48<br>     switch1(config-if-range)# shutdown<br>     switch1(config-if-range)# exit<br>     switch1(config)#</strong></p>



<p>IX Configure Layer2 VLANs and assign ports to the them</p>



<pre class="wp-block-code"><code>switch1(config)# vlan 2
switch1(config-vlan)# name VLAN2NAME
switch1(config-vlan)# exit

switch1(config)# vlan 3
switch1(config-vlan)# name VLAN3NAME
switch1(config-vlan)# exit</code></pre>



<p>** Ports 1-2 are assigned to VLAN2 and ports 3-4 to VLAN3</p>



<pre class="wp-block-code"><code>switch1(config)# interface range fe 0/1-2
switch1(config-if-range)# switchport mode access
switch1(config-if-range)# switchport access vlan 2
switch1(config-if-range)# exit
switch1(config)# interface range fe 0/3-4
switch1(config-if-range)# switchport mode access
switch1(config-if-range)# switchport access vlan 3
switch1(config-if-range)# exit</code></pre>



<p>X: Save the configuration</p>



<p><strong>switch1(config)# exit<br> switch1# wr</strong></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
