Wired Intelligent Edge

 View Only
Expand all | Collapse all

AOS ZTP (Auto-Deployement IMC) - "00158 Module command missing for port or invalid port"

This thread has been viewed 13 times
  • 1.  AOS ZTP (Auto-Deployement IMC) - "00158 Module command missing for port or invalid port"

    Posted Feb 27, 2020 06:04 AM

    Hi,

     

    We have a problem with auto-deployment via iMC.
    When upload the final configuration file, an error occurs.

     

    Ex : 

     

    00158 update: line 15. Module command missing for port or in
    valid port: 1


    But, the port exists and when the command is placed manually it works and is visible as such in the show startup.

     

    So, during deployment it is impossible to tagged or untagged vlans other than vlan 1 because of this problem.

     

     

    This is the configuration that we upload :

    ; JL256A Configuration Editor; Created on release #WC.16.07.0003
    ; Ver #14:01.4f.f8.1d.9b.3f.bf.bb.ef.7c.59.fc.6b.fb.9f.fc.ff.ff.37.ef:02

    hostname "TEST DE FIN"
    include-credentials
    password manager user-name XXX plaintext XXX
    snmp-server community XXX operator
    snmp-server community XXX unrestricted
    vlan 1
    name "DEFAULT_VLAN"

    no ip address
    exit
    vlan 800
    name "VLAN-TEST-ZTP"

    tagged 1

    ip address X.X.X.X X.X.X.X
    exit

     

    Thanks for your help, or if you have a workaround i need



  • 2.  RE: AOS ZTP (Auto-Deployement IMC) - "00158 Module command missing for port or invalid port"
    Best Answer

    Posted Mar 01, 2020 10:06 PM

    Good day!

    Hello,

    Please see if this helps.

    The tagged port of vlan800 should also be part of vlan 1 as untagged, correct as below:

     

    ; JL074A Configuration Editor; Created on release #KB.16.03.0000x

    ; Ver #0f:03.ff.bb.ff.7c.59.fc.7b.ff.ff.fc.ff.ff.3f.ef:39

     

    hostname "@CLI@"

    module 1 type jl074x

    module 2 type jl074y

    snmp-server community "public" unrestricted

    oobm

       ip address dhcp-bootp

       exit

    vlan 1

       name "DEFAULT_VLAN"

       untagged 1-48

       ip address dhcp-bootp

       exit

    vlan 800

       name "VLAN800"

       tagged 1

       no ip address

       exit

     

    @CLI@(vlan-800)#

     

    Does this help?

     

    Thanks,

    Yash



  • 3.  RE: AOS ZTP (Auto-Deployement IMC) - "00158 Module command missing for port or invalid port"

    Posted Mar 03, 2020 04:03 AM

    Hello,

    we solved the problem with your response. we were missing the line:

    module 1 type jl256a

     

    sometimes invisible in show run... 

     

     

    Thanks for your feedback