cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

143
Views
5
Helpful
3
Replies

what exactly happens when i give a command "ip routing" to a 3750 switch?

kindly provide me a detail explanation.

 

Thank you in advance.

3 REPLIES 3
Highlighted
Beginner

Re: what exactly happens when i give a command "ip routing" to a 3750 switch?

This is a global command which will enable Layer 3 routing on your switch. This will allow communication between VLANs on that switch through Layer 3 protocols.

VIP Expert

Re: what exactly happens when i give a command "ip routing" to a 3750 switch?

How detailed?

As Daryl notes, it "transforms" a L2 switch to a L3 switch, i.e. the switch can now route packets.

By default, the switch will route between all active L3 interfaces, either SVIs or routed ports.

The switch will support static route statements.

The switch will usually support one or more dynamic routing protocols.

Basically, the switch also becomes a router while not loosing its L2 capabilities.
Hall of Fame Master

Re: what exactly happens when i give a command "ip routing" to a 3750 switch?

Daryl and Joseph make important points. I would like to approach the answer from a different perspective. Before using ip routing the switch is forwarding using only layer 2 information. For every frame entering the switch it looks at the destination mac address and determines how to forward toward that mac address. After enabling ip routing the switch is forwarding using both layer 2 and layer 3 information. Now when a frame enters the switch it will check the destination IP address and if it is remote it will look for a next hop to use in forwarding. If the destination IP address is local then the switch will look at the destination mac address  and look for a way to forward toward that mac address.

 

The other important change is that when configured as a layer 2 switch the switch used its configured default gateway to forward packets originated by the switch. When IP routing is enabled the switch stops using its configured default gateway and begins using any IP routes that it has (could be static routes configured or dynamic routes leaned from a routing protocol).

 

HTH

 

Rick

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards