Switchport difference

Unanswered Question
Nov 8th, 2006
User Badges:

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



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Endwigast Wed, 11/08/2006 - 10:44
User Badges:

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

londint Thu, 11/09/2006 - 03:15
User Badges:

Thank you very much.


Does this mean if I omit the swithcport command, I can give the interface an ip addresses?


Thanks

Endwigast Thu, 11/09/2006 - 03:30
User Badges:

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

nilay_wankhade Thu, 11/09/2006 - 03:32
User Badges:

hi,

means that by default,all ports are L3 ports?

pls explain


regards,

nilay


mahmoodmkl Thu, 11/09/2006 - 04:36
User Badges:
  • Gold, 750 points or more

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

Endwigast Thu, 11/09/2006 - 04:37
User Badges:

exactly my point. that's why i asked if what equipment is the port he's referring to.


trick question? :)

Endwigast Wed, 11/08/2006 - 10:42
User Badges:

trick question?


what equipment is fx/x? what equipment is f7/26?

Actions

This Discussion