Comware

 View Only
Expand all | Collapse all

Cannot enter command

This thread has been viewed 2 times
Angus Lou

Angus LouJun 07, 2010 08:11 AM

Shadow13

Shadow13Jun 07, 2010 08:35 AM

  • 1.  Cannot enter command

    Posted Jun 07, 2010 02:19 AM
      |   view attached
    I have this 2 core switch model:
    HPJ4850A, 5304XL.

    Core Switch 1 is linked to Core Switch 2 via
    A4 and B4 interface via Fiber Cable.

    However, I encounter this error:
    Invalid input


  • 2.  RE: Cannot enter command

    Posted Jun 07, 2010 02:27 AM
    type admin-edge-port instead of edge-port
    that should work


  • 3.  RE: Cannot enter command

    Posted Jun 07, 2010 04:01 AM
    You are saying:
    Core Switch 1 is linked to Core Switch 2 via
    A4 and B4 interface via Fiber Cable.

    does this mean a4 and b4 are members of a trunk? (trk10?)


  • 4.  RE: Cannot enter command

    Posted Jun 07, 2010 05:34 AM
    Good questuon EcherA i did not notice that :D


  • 5.  RE: Cannot enter command

    Posted Jun 07, 2010 08:11 AM
    Yes, u are right. What are your advise?


  • 6.  RE: Cannot enter command

    Posted Jun 07, 2010 08:35 AM
    BTW, Points go to EreckA


  • 7.  RE: Cannot enter command

    Posted Jun 07, 2010 08:35 AM
    Instead of typing A4 you should type trk10 in the command that you are trying to issue.


  • 8.  RE: Cannot enter command

    Posted Jun 07, 2010 08:36 AM
    Sorry EckerA :D typed it wrong sorry for that


  • 9.  RE: Cannot enter command

    Posted Jun 07, 2010 08:56 AM
    Sorry, I am novice in networking. Why always trk10. iS it defautlt to 10? Can any one elaborate?


  • 10.  RE: Cannot enter command

    Posted Jun 07, 2010 12:15 PM
    can you post the output of "show run" here


    regarding the trk10 this is the name of the aggregated port, you can check the manual for the switch you will find all the description.


  • 11.  RE: Cannot enter command

    Posted Jun 08, 2010 03:54 AM
    Hi Angus

    ... there's one obvious question unasked.

    "Invalid input" means you're trying to give a command which the switch doesn't recognize. So what exactly do you do to get this error, and in what context?

    Just curious...


  • 12.  RE: Cannot enter command

    Posted Jun 08, 2010 03:59 AM
    Show Run command:

    speed-duplex 10-half
    exit
    interface C11
    speed-duplex 10-half
    exit
    interface C12
    speed-duplex 10-half
    exit
    trunk A4,B4 Trk10 LACP


  • 13.  RE: Cannot enter command

    Posted Jun 08, 2010 04:00 AM
    Hi again

    so when you enter command "show run" you get a partial output, which ends at "Invalid input"?


  • 14.  RE: Cannot enter command

    Posted Jun 08, 2010 04:10 AM
    Ok,
    a4 and b4 are part of the trunk trk10 and trk10 already isn't an edge-port.
    if an port is an member of an trunk you simple can't configure just one of the trunkports to be or not to be an edge-port. you would configere both at the same time with:
    no spanning-tree trk10 edge-port
    from your picture that already happend!
    thats all.

    hth
    alex


  • 15.  RE: Cannot enter command

    Posted Jun 08, 2010 05:13 AM
    no spanning-tree C10 edge-port
    no spanning-tree C11 edge-port
    no spanning-tree C12 edge-port
    no spanning-tree C13 edge-port
    no spanning-tree C14 edge-port
    no spanning-tree C15 edge-port
    no spanning-tree C16 edge-port
    no spanning-tree Trk10 edge-port
    spanning-tree Trk10 priority 4
    spanning-tree priority 0

    You can see the configuration is already there: no spanning-tree Trk10 edge-port


  • 16.  RE: Cannot enter command

    Posted Jun 08, 2010 06:19 AM
    exactly,
    thats what i tried to tell you..
    and your question why it is trk10:
    that isn't the default. it is configured as you can see in your sh run
    trunk a4,b4 Trk10 lacp
    but it is always Trkxx with xx beeing 10 in your config.
    hth
    Alex