Switching

 View Only
last person joined: 15 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Removing an AE with CLI changes in a Mist template. Getting as commit error on some switches.

    Posted 02-26-2025 13:11

    We had a lag in the past on a pair of interfaces, but we updated the the config to use faster SFPs on a different pair of ports. I'm trying to remove the older ae0.  Here is the config from the CLI on the switch. I need to remove these by the Org template and not directly on the CLI. 

    set interfaces xe-0/0/22 ether-options 802.3ad ae0
    set interfaces xe-0/0/23 ether-options 802.3ad ae0
    set interfaces ae0 aggregated-ether-options lacp active
    set interfaces ae0 unit 0 family inet address 10.254.254.10/29

    I suspect there may be a proper order of operations about removing these commands.  When I try to complete a removal on a few switches, I am getting a commit error.

    " error commit-confirm: [edit interfaces ae1 unit 0 family] ethernet-switching: Family ethernet-switching and rest of the families are mutually exclusive "

    I am not trying to remove ae1 in the CLI pane in the template.  All edits have to do with ae0. 

    The switch that is currently not happy already has the inet address line removed via the template. I tried adding it back, thinking I should take another step first, but I get the same error when I try to do that. 

    What is the proper order to remove this ae?



    ------------------------------
    JOHN WILLIAMSON
    ------------------------------


  • 2.  RE: Removing an AE with CLI changes in a Mist template. Getting as commit error on some switches.

    Posted 09-18-2025 11:29

    John, 

    As you already notice, the error is specific to ae1, yet your config only show ae0 and therefore I can not judge or provide correct answer . But....
    Mist like to use groups and interface-ranges to configure specific interfaces via inheritance method. To only way to see the entire configuration on device managed by mist, you MUST use display inheritance. Example

    mist@ipv6-Access1> show configuration interfaces ge-0/0/0  
     
    mist@ipv6-Access1> show configuration interfaces ge-0/0/0 | display inheritance terse 
    mtu 9014; ## inherited from group 'vlan1033'
    unit 0 { ## inherited from group 'vlan1033'
        family ethernet-switching { ## inherited from group 'vlan1033'
            vlan { ## inherited from group 'vlan1033'
                members vlan1033; ## inherited from group 'vlan1033'
            }
        }
    }
    mist@ipv6-Access1> show configuration interfaces 
    interface-range vlan1033 {
        member ge-0/0/0;
        apply-groups vlan1033;
    }
    interface-range inet {
        member ge-0/0/24;
        apply-groups inet;
    }
    As you can see in this example, looking at interface ge-0/0/0 does not display all the information.
    That is only one part of the puzzle. If the switch is actively managed by MIST, it will either overwrite your changes unless you make the change via additional-cli via switch-template or on device directly or you will get error that configuration can not be committed.
    Could you please provide me with output of your interfaces configuration with "|display. inheritance terse" 


    ------------------------------
    Patrik Bok
    ------------------------------



  • 3.  RE: Removing an AE with CLI changes in a Mist template. Getting as commit error on some switches.

    Posted 09-18-2025 13:36

    Thanks for your reply Patrik. 

    I'll look at what info I can get for you.  It's been about 7 months since I was working on this task and since no users were effected by the config, I have let it remain until I had time to revisit it.   Thanks for this reminder!

    John



    ------------------------------
    JOHN WILLIAMSON
    ------------------------------



  • 4.  RE: Removing an AE with CLI changes in a Mist template. Getting as commit error on some switches.

    Posted 09-25-2025 16:41

    mist@VPNL-MDFS01> show configuration interfaces ae1 | display inheritance terse    
    aggregated-ether-options {
        lacp {
            active;
        }
    }
    unit 0 {
        family inet {
            address 10.254.253.102/29;
        }
    }



    ------------------------------
    JOHN WILLIAMSON
    ------------------------------



  • 5.  RE: Removing an AE with CLI changes in a Mist template. Getting as commit error on some switches.

    Posted 09-25-2025 16:42

    mist@VPNL-MDFS01> show configuration interfaces ae0 | display inheritance terse 
    aggregated-ether-options {
        lacp {
            active;
        }
    }
    unit 0 {
        family inet {
            address 10.254.254.58/30;
        }
    }



    ------------------------------
    JOHN WILLIAMSON
    ------------------------------



  • 6.  RE: Removing an AE with CLI changes in a Mist template. Getting as commit error on some switches.

    Posted 10-05-2025 17:07

    Hi John, 

    I do not see any other configuration on both ae0 and ae1, which was your original message and they are both family inet. 
    It is quite possible MIST is trying configure ae1 with family ethernet-switching per switch-template or additional cli. 
    Check the command on device versus what mist is trying to configure.
    On Mist you can see few ways
    1) Switch -> Utilities -> Download  Junos Config
    2) API call -->  https://api.mist.com/api/v1/sites/{{site-id}}/devices/00000000-0000-0000-1000-{{device-mac}}/config_cmd
    3) Install MIST browser extension -> https://chromewebstore.google.com/detail/mist-extension/ejhpdcljeamillfhdihkkmoakanpbplh

    That will show you the discrepancy .



    ------------------------------
    Patrik Bok
    ------------------------------