11-08-2006 10:20 AM - edited 03-05-2019 12:41 PM
What is the difference between
interface FastEthernetx/x
no ip address
speed 10
duplex full
spanning-tree cost 3100
and
interface FastEthernet7/26
switchport
no ip address
speed 10
duplex full
spanning-tree cost 3100
The first one does not have switchport in the config and the second one has.
Please what is the difference?
Thanks
11-08-2006 10:37 AM
I am not sure what switch model that you're using, basically "switchport" command configures that the particular port as a Layer 2 port.
You can read more about it from this link
http://www.cisco.com/warp/public/473/67.html#tbl-2
HTH,
Hieu
11-08-2006 10:41 AM
Hi,
The difference is simple .Both the ports are capable of acting as a l2 as well as l3 port.
The first one is a L3 port .
The second one is converted L2 port from a L3 port.
Hope this helps
regards
vanesh k
11-08-2006 10:44 AM
comment --> the first one is a L3 port.
if he got the output from a router then it's a L3 port but if he got the output from a switch then it's a L2 port
11-09-2006 03:15 AM
Thank you very much.
Does this mean if I omit the swithcport command, I can give the interface an ip addresses?
Thanks
11-09-2006 03:30 AM
if it's a switch and you command "no switchport" you could put in an ip address and when you do sh run you would see on the int the "no switchport" statement
11-09-2006 03:32 AM
hi,
means that by default,all ports are L3 ports?
pls explain
regards,
nilay
11-09-2006 04:36 AM
Hi
No all the ports will be L2 on the switches except 6500 series.it would be better if u let us know the platfrom which u r using.
Thanks
Mahmood
11-09-2006 04:37 AM
exactly my point. that's why i asked if what equipment is the port he's referring to.
trick question? :)
11-08-2006 10:42 AM
trick question?
what equipment is fx/x? what equipment is f7/26?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: