Comware

 View Only
  • 1.  IMC CLI Script for Access-List

    Posted Nov 21, 2024 05:02 AM


    Hello,

    I need to create a basic access-list on all my comware V7 switches.
    I use IMC E0710 for a deployment by CLI script through the Configuration Template menu.
    Example:
    system-view^|^
    file prompt quiet^|^
    acl number 2500^|^
    rule 100 permit source 10.10.10.0 0.0.0.255^|^
    rule 200 permit source 20.20.20.0 0.0.0.255^|^

    rule 300 permit source 30.30.30.0 0.0.0.255^|^

    quit^|^
    ^|^
    The script systematically fails after the creation of the first rule with the error return "SSH connection closed".
    Does anyone have the same symptom?
    Is this the right method?

    Thank you.



  • 2.  RE: IMC CLI Script for Access-List

    Posted Dec 02, 2024 09:53 AM

    Hi, 

    i have the exact same problem.

    After the first command i also get the  "SSH connection closed" notification :(

    Tried on serveral Switches, putty connection direct vom the IMC Server is possible.

    IMC Version: iMC PLAT 7.3 (E0710)

    Any ideas ?

    KR Tom




  • 3.  RE: IMC CLI Script for Access-List

    Posted Dec 03, 2024 03:45 AM

    Hi,
    I've just upgraded IMC to E0710 P04, it solved the problem.

    Greetings.