Multilayer Switching: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
(rv to correct information)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
________________________________________
Final Project Lab


== The function and configuration Multilayer switching. ==


'''''Password recovery of the Cisco Routers'''''
Multilayer switching is the combination of traditional Layer 2 switching with Layer 3 routing in a single product. Multilayer switching is new, and there is no industry standard.. The term multilayer switch seems to be the best and most widely used description of this class of product that performs both Layer 3 routing and Layer 2 switching functions.
Multilayer Switch
Multilayer switches support both Layer-2 (switching) and Layer-3 (routing)
functions. Three port types can exist on Multilayer switches:


[[File:CiscoRouters.jpg]]
1. Switchports – Layer-2 ports on which MAC addresses are learned.
2. Layer-3 Ports – Essentially routing ports on multi-layer switches.
3. Switched Virtual Interfaces (SVI) – A VLAN virtual interface


In order for one to understand these instructions you have to have prior knowledge of what a router is and its basic function.  
By default, on Catalyst
2950’s and 3550’s, all interfaces are switchports.
To configure a port as a switchport:
Switch(config)# interface fa#
Switch(config-if)# switchport


'''1'''.Connect a computer to the router’s Console port using the Console cable that came with your router (it is usually flat and light blue).
To configure a port as a Layer-3 (routing) port, and assign an IP address:
Use these Hyper terminal settings:
Switch(config)# interface fa#
Switch(config-if)# no switchport
Switch(config-if)# ip address #.#.#.# #.#.#.#
Switch(config-if)# no shut


* 9600 baud rate
To assign an IP address to an SVI (virtual VLAN interface):
* No parity
Switch(config)# interface vlan #
* 8 data bits
Switch(config-if)# ip address #.#.#.# #.#.#.#
* 1 stop bit
Switch(config-if)# no shut
* No flow control
Note that the VLAN itself is treated as an interface, and supports most IOS
'''2'''. Turn the router off using the power switch and turn it back on.
interface commands. To view the port type of a particular interface:


'''3'''. Once text starts popping up on the screen, send the break command CTRL + B or CTRL +BREAK (sometimes it is CTRL +X). This will abort the boot and present you with a rommon 1> prompt
Switch# show int fa#  switchport
Name: Fa#
Switchport: Enabled
A Layer-3 interface would display the following output:
Switch# show int fa# switchport
Name: Fa#
Switchport: Disabled


'''4'''. From the new prompt you need to change the configuration register using the following command: confreg 0×2142


'''5'''. If you are using an older model of router you may need to enter o/r 0×2142


'''6'''. Now you need to recycle the router with the reset command.
== Configuration of inter-VLAN routing on a multilayer switch ==
.
create the required VLANs:
Switch(config)# vlan #
Switch(config-vlan)# name VLAN#
Switch(config)# vlan #
Switch(config-vlan)# name VLAN#


'''7'''. If you used the o/r command then reset the router with the I command
Then, routing must be globally enabled on the multilayer switch:
Switch(config)# ip routing


'''8'''. Once the router finishes restarting you will find that there are no passwords to deal with, so you can enter enabled.
Next, each VLAN SVI is assigned an IP address:
 
Switch(config)# interface vlan #
'''9'''. Now, go into configuration mode with the config t command
Switch(config-if)#  #.#.#.# #.#.#.#
 
Switch(config-if)# no shut
'''10''' .Once there enter the new password with the enable secret password
Switch(config)# interface vlan #
 
Switch(config-if)# #.#.#.# #.#.#.#
'''11'''. Now set the configuration register back to normal with this command: confreg 0×2102
Switch(config-if)# no shut
 
 
''' '''Password recovery on a Cisco 2950 switch''''''
 
'''1'''. Unplug the power cable
 
'''2'''. Hold down the mode button while replugging the power cable
 
'''3'''. Type flash_init over the console
 
'''4'''. Type load_helper
 
'''5'''. Type Dir flash :
make sure to type the semi-colons
 
'''6'''. Type rename flash:config.txt flash:config.old
the password is contained in the config.txt file
 
'''7'''. Type boot
this reboots the system
 
'''8'''. Type n to skip the initial setup configuration
 
'''9'''. Type enable
this takes you to the enable mode
 
'''10'''. Type rename flash:config.old flash:config.txt
 
'''11'''. Save config.txt to system
 
#copy flash:config.txt system:running-config
 
'''12'''. Enter config mode and change the password
 
# config t
 
# no enable secret
 
this applies only if the enable secret password was created
 
'''13'''. Finally, write the changes to memory
 
# write memory

Latest revision as of 19:13, 24 October 2010

Final Project Lab

The function and configuration Multilayer switching.

Multilayer switching is the combination of traditional Layer 2 switching with Layer 3 routing in a single product. Multilayer switching is new, and there is no industry standard.. The term multilayer switch seems to be the best and most widely used description of this class of product that performs both Layer 3 routing and Layer 2 switching functions. Multilayer Switch Multilayer switches support both Layer-2 (switching) and Layer-3 (routing) functions. Three port types can exist on Multilayer switches:

1. Switchports – Layer-2 ports on which MAC addresses are learned. 2. Layer-3 Ports – Essentially routing ports on multi-layer switches. 3. Switched Virtual Interfaces (SVI) – A VLAN virtual interface

By default, on Catalyst 2950’s and 3550’s, all interfaces are switchports. To configure a port as a switchport: Switch(config)# interface fa# Switch(config-if)# switchport

To configure a port as a Layer-3 (routing) port, and assign an IP address: Switch(config)# interface fa# Switch(config-if)# no switchport Switch(config-if)# ip address #.#.#.# #.#.#.# Switch(config-if)# no shut

To assign an IP address to an SVI (virtual VLAN interface): Switch(config)# interface vlan # Switch(config-if)# ip address #.#.#.# #.#.#.# Switch(config-if)# no shut Note that the VLAN itself is treated as an interface, and supports most IOS interface commands. To view the port type of a particular interface:

Switch# show int fa# switchport Name: Fa# Switchport: Enabled A Layer-3 interface would display the following output: Switch# show int fa# switchport Name: Fa# Switchport: Disabled


Configuration of inter-VLAN routing on a multilayer switch

. create the required VLANs: Switch(config)# vlan # Switch(config-vlan)# name VLAN# Switch(config)# vlan # Switch(config-vlan)# name VLAN#

Then, routing must be globally enabled on the multilayer switch: Switch(config)# ip routing

Next, each VLAN SVI is assigned an IP address: Switch(config)# interface vlan # Switch(config-if)# #.#.#.# #.#.#.# Switch(config-if)# no shut Switch(config)# interface vlan # Switch(config-if)# #.#.#.# #.#.#.# Switch(config-if)# no shut