Skip navigation
Cisco Learning Home > Cisco Learning Labs User Group > Discussions
1842 Views 10 Replies Latest reply: Dec 30, 2011 6:16 AM by John Simko RSS

Currently Being Moderated

CCND2 Lab 1 Workgroup Switch Error Message

Dec 26, 2011 1:44 PM

John Simko 8 posts since
Jul 19, 2011

When in the first lab configuring the workgroup switch (which by the way has the default prompt of "Router" when you erase startup and reload), I'm getting an error message that "Et0/0 is not a switching port" when attempting a "switchport mode access" command on interface e0/0. What gives?

  • Martin 13,076 posts since
    Jan 16, 2009
    Currently Being Moderated
    2. Dec 26, 2011 2:02 PM (in response to John Simko)
    Re: CCND2 Lab 1 Workgroup Switch Error Message

    are u doing this on a router or L2 switch or L3 switch ?

     

    if u want to assign IP address to a switchport, u can try no switchport command;

    u will not be able to do this on L2 switch;

  • Currently Being Moderated
    3. Dec 26, 2011 2:40 PM (in response to John Simko)
    Re: CCND2 Lab 1 Workgroup Switch Error Message

    If you're doing this within Cisco Learning Labs environment, something to keep in mind is that the "switches" are to the best of my knowledge actually based on a Router platform/image.  So, as a side effect, you have to turn switching on for the port to accept switch-like commands. 

     

    On a Catalyst switch, you would not need to enter this command.

  • Martin 13,076 posts since
    Jan 16, 2009
    Currently Being Moderated
    6. Dec 26, 2011 3:04 PM (in response to John Simko)
    Re: CCND2 Lab 1 Workgroup Switch Error Message

    ONE IP on Vlan interface per Layer 2 is ALL you get; but no IPs under interface;

     

    On Layer 3, you have IPs per Vlans (multiple Vans if u wish) and same thing for interfaces; every one interface can have IP just u have to do no switchport;

     

    if u using cisco learning labs, u are using  IOU; not a real gear but close; there are L2 and L3 IOUs;

  • Raymond Viscaina 88 posts since
    Apr 28, 2008
    Currently Being Moderated
    7. Dec 29, 2011 10:33 AM (in response to John Simko)
    Re: CCND2 Lab 1 Workgroup Switch Error Message

    Hi John,

     

    In certain IOS Software on Unix images supporting Layer-2 features, the default port behavior is to not be be in switchport mode. Where that's the case, the lab exercise content will specifically state to configure the interface to be a layer-2 switchport via the switchport sub-interface command. The default hostname in those images may also be "router" as you have noted. Both of those peculiarities have been changed in recent IOS Software on Unix images for Layer-2 so that the default hostname is "switch" and the ethernet ports are enabled and in switchport mode by default.

     

    thanks,

    Raymond Viscaina

    Technical Support Engineer

    Learning@Cisco

  • johaneko 10 posts since
    May 8, 2011
    Currently Being Moderated
    8. Dec 29, 2011 6:36 PM (in response to John Simko)
    Re: CCND2 Lab 1 Workgroup Switch Error Message

    hey bro, i'll copy paste from this reference: http://www.cisco.com/en/US/products/hw/switches/ps708/products_tech_note09186a008015bfd6.shtml#topic1

     

    Command Rejected: [Interface] not a Switching Port

    In switches that support both L3 interfaces and L2 switchport, the message Command rejected: [interface] not a switching port displays when you try to enter a command related to layer 2 on a port that is configured as a layer 3 interface.

    In order to convert the interface from layer 3 mode to layer 2 mode, issue the interface configuration command switchport. After you issue this command, configure the port for any layer 2 properties.

     

    mind that L3 interface stated above refers to routed interface (not SVI).

    So, there's one more question.. is this means in every switches that support both L3 and L2 inteface, let say 4500 or 6500, i'll have to issue "switchport" on port to make it L2? not quite. switches are hardwares and what controls command is Operating System. there are IOS and CatOs. if you running IOS on 6500 then you'll have to issue "switchport", but on CatOS there's no need doing that.

     

    hope it helps.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)