07-06-2021 04:15 AM
07-06-2021 04:25 AM
Hello @knaik99 ,
on a multilayer switch you have the option to configure a physical port as a routed port like in a router the port will act as a L3 interface
example:
int gi1/0/25
no switchport
ip address 10.10.25.1 255.255.255.0
no shut
Actually, the implementation uses an internal VLAN for this an high value like 3785 creates an SVI with that IP address and associates the physical port to that VLAN in addition all L2 protocols like STP, DTP VTP are disabled / filtered. CDP or LLDP MED are still enabled.
A switched port is a port that acts as an access port or a trunk port as a stand alone or as member of a port channel.
Hope to help
Giuseppe
07-06-2021 04:25 AM
Router port - In general switch point of view, by default all the ports in Switch are layer 2, if you issue command "no switchport"
that become layer 2 switch port to routed port ( assing a IP address) become layer 3 port.
make sense ?
07-06-2021 08:37 AM
Giuseppe's post has all the particulars, but it's also a configuration "shortcut" to configure an access port like, and its functionally, like a router's port. I.e. you can achieve the same result, if you properly configure the access port, but just using "no switchport" is much simpler, and better "documented" (as to how the port is being used).
As an aside, this is sort of the same idea, i.e. a configuration "shortcut", that's also used when you configure an access port with a voice VLAN (which really makes the port a "restricted" trunk port).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide