On a L3 switch, does no switchport take the place of ip routing? If I have ip routing disabled, and go to interface g1/0/5 and run no switchport there, and assign an address, will it have the same effect? (route traffic, etc.)
So in what situation would you ever set the port to be a "no switchport?" This command puts the interface in routing mode, but if the ip routing command does this across all ports, then what's the advantage of ever using the no switchport command?
L3 Switches are capable of L2 and L3. The command "Switchport" turns the port to be a L2 capable. The command "no switchport" makes the switchport L3 capable. As far as "ip routing" command is concerned, this enables the routing between the L3 ports on the same switch.
Okay, so given this scenario does this make sense (to see if I understand):
ip routing enables communication between vlans. If this is the case, if it's not enabled and the switch allows you to create SVIs, the do you need to create static routes on the switch to get to other vlans?
no switchport allows you to assign an address that would leave the switch based off of the routing table?
ip address public address
This interface would connect to a router and the switch would know how to direct traffic out of the switch?
"ip routing enables communication between vlans" - yes but it doesn't necessarily have to be between vlans ie. you could route between a vlan and a routed port on the switch.
"if it's not enabled and the switch allows you to create SVIs, the do you need to create static routes on the switch to get to other vlans? "
ip routing does not just enable dynamic routing - it enables all routing. So you can create multiple vlan interfaces but without enabling "ip routing" you won't be able to inter-vlan route on the switch regardless of statics. You wouldn't need statics anyway as all the SVI's would be directly connected.
If you mean to get to other vlans that have L3 SVI's on other switches then yes statics would do it but you still need to enable "ip routing" on both switches.
There are as other posters have said 2 types of L3 interface on a L3 switch
1) L3 SVI - vlan interface
2) in an interface - "no switchport" and then an ip address.
ip address public address
This interface would connect to a router and the switch would know how to direct traffic out of the switch?"
Doesn't have to a router - could be another L3 switch. The point is it is not a L2 link - it is a L3 routed link.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...