cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 
cancel
964
Visitas
0
ÚTIL
5
Respuestas

Difference between route with a switch and with a router

Marco Pérez
Level 1
Level 1

Hi, all,

I am studying for my CCNP R&S, I'll be making the SWITCH exam in 3 weeks but there are somethings that aren't clear for me. 

Can you help me to understand the difference between route with a Router and with a Switch? I mean, when and why should I use OSPF in a router instance to use a switch?


Regards.

1 SOLUCIÓN ACEPTADA

Soluciones aceptadas

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi Marco,

Actually there are no major differences between the routing between a switch over a router, a switch can execute the same routing processes than a router. Now take in consideration that a switch will need specific licenses to run routing protocols, for example: Cisco Catalyst 3650/3850 will need IP Base or IP Services to execute routing protocols, Cisco Catalyst 9000 will need an advantage license. 

 

Routers were designed to be layer 3 (routing) but in order to run specific features, I suggest verify the IP base and IP services licenses differences. For example if you want to run BGP. 

 

OSPF can be implemented over a switch or router now take in consideration the information above. 

 

Hope it is useful on answered your question. 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Ver la solución en mensaje original publicado

5 RESPUESTAS 5

Hi @Marco Pérez

I'm not sure about what are u asking. You want to know, if is better make routing on the route or switch?

Or you are asking when to use OSPF between them?

Espero que la información haya sido útil y si no tienes más preguntas recuerda cerrar el topic, seleccionando la respuesta como "Respuesta correcta"
**Please rate the answer if this information was useful***
**Por favor si la información fue util marca esta respuesta como correcta**

My question was oriented and what is better and when should I run a routing protocol like OSPF in one interface VLAN and when in a L3 interface. And if both cases OSPF works in a different way.

Thanks, Daniel!

Hi Marco,

There is different perspective if you use a Physical layer 3 port or a SVI,  cases:

 

Physical layer 3 port (switch or router), used to connect to other Layer 3 device directly. (Connect a cable on the switch and the other end to the router) and then you can include the network segment into OSPF on both devices, it will create OSPF adjacency.

 

int g1/0/1

description TO-ROUTER

no switchport

ip address 10.0.0.1 255.255.255.252

no shut

 

Using SVI, imagine the case you have 2 robust switches like 6800 and you want to enable routing between them but the link used to create the point to point between them is layer 2 (trunk), so you can create a VLAN and the SVI and enable OSPF 

 

SWITCH 1

ip routing 

 

vlan 10

interface vlan 10

ip add 10.0.0.1 255.255.255.252

no shut

 

inter g1/0/24

description TO-SWITCH2

switchport mode trunk

no shut

 

router ospf 100

network 10.0.0.0 0.0.0.3 area 0

 

 

SWITCH 2

 

ip routing 

 

vlan 10

interface vlan 10

ip add 10.0.0.2 255.255.255.252

no shut

 

inter g1/0/24

description TO-SWITCH1

switchport mode trunk

no shut

 

router ospf 100

network 10.0.0.0 0.0.0.3 area 0

 

This option is like enable routing over layer 2 link, both solutions will work as normal for any routing protocol. 

 

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi Marco,

Actually there are no major differences between the routing between a switch over a router, a switch can execute the same routing processes than a router. Now take in consideration that a switch will need specific licenses to run routing protocols, for example: Cisco Catalyst 3650/3850 will need IP Base or IP Services to execute routing protocols, Cisco Catalyst 9000 will need an advantage license. 

 

Routers were designed to be layer 3 (routing) but in order to run specific features, I suggest verify the IP base and IP services licenses differences. For example if you want to run BGP. 

 

OSPF can be implemented over a switch or router now take in consideration the information above. 

 

Hope it is useful on answered your question. 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Thank you very much, Julio. This is the response that I was waiting for! Regards.