Switching

last person joined: 3 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  creating LAG, fails commit check

    Posted 01-23-2013 13:21

    i am trying to create a LAG on one of my ex2200. i have done this before so i didnt think this would be a problem but i cannot seem to figure out why i am getting this message when doing a commit check. but it keeps telling me when i add an interface to my ae0 that "unit 0" logical unit is not allowed on aggregated links.

    this was the original port configuration:

     show interfaces ge-0/0/31    | display set
    set interfaces ge-0/0/31 unit 0 family ethernet-switching

     

    here is how it is configured now:

    root@IDF-4-SW1# show interfaces ge-0/0/32 | display set
    set interfaces ge-0/0/32 description "CO FAS2240 LAG"
    set interfaces ge-0/0/32 ether-options auto-negotiation
    set interfaces ge-0/0/32 ether-options link-mode automatic
    set interfaces ge-0/0/32 ether-options speed auto-negotiation

     

    i have deleted the entire ge-0/0/32 interface and applied the setings above as well as add it to the ae0 interface using this command:

    set ge-0/0/32 ether-options 802.3ad ae0

     

    but as soon as i add it to the LAG and do a commit check i get the unit 0 commit check failure notification.

     

    any help would be appreciated. here is the ae0 output:

    [edit interfaces ae0]
    root@IDF-4-SW1# show
    aggregated-ether-options {
        lacp {
            active;
        }
    }
    unit 0 {
        family ethernet-switching {
            port-mode access;
            vlan {
                members [ DATA 10 ];
            }
        }
    }

    [edit interfaces ae0]
    root@IDF-4-SW1#

     

     

     

     



  • 2.  RE: creating LAG, fails commit check

    Posted 01-23-2013 14:40

    Are you sure that there are no other ge ports configured to be a part of ae0 that have a unit 0 configured under their hierarchy?



  • 3.  RE: creating LAG, fails commit check

    Posted 01-23-2013 15:07

    i thought and checked that as well. if i remove the "set interfaces ge-0/0/32 ether-options 802.3ad ae0" line from the ge-0/0/32 interface and do a commit check the commit check passes successfully. if i add it back then commit check it keeps companing about the unit 0 logical unit not allowed on  aggregated links.

     

    i even deleted the ae0 interface and started over but that still did not resolve it.

     

     



  • 4.  RE: creating LAG, fails commit check

     
    Posted 01-23-2013 19:39

    You may want to post your whole config so we can take a look.



  • 5.  RE: creating LAG, fails commit check

    Posted 01-24-2013 08:22

    Here is my config from the switch

     

    [edit]
    root@IDF-4-SW1#
    root@IDF-4-SW1# show    | no-more
    ## Last changed: 2013-01-23 16:13:21 EST
    version 10.4R4.5;
    system {
        host-name IDF-4-SW1;
        time-zone America/New_York;
        root-authentication {
            encrypted-password "$1NUI$AxyZu0vr5Tnt$zvGyRHKDNKDIIENUKchCfGCe/9PrOh."; ## SECRET-DATA
        }
        services {
            ssh {
                root-login allow;
            }
            web-management {
                http {
                    port 8080;
                }
            }
        }
        syslog {
            user * {
                any emergency;
            }
            file messages {
                any notice;
                authorization info;
            }
            file interactive-commands {
                interactive-commands any;
            }
            file intstatus-log {
                any any;
                match ifOperStatus;
            }
        }
        ntp {
            server 10.0.10.1;
            server 10.0.10.2;
        }
    }
    chassis {
        aggregated-devices {
            ethernet {
                device-count 1;
            }
        }
        alarm {
            management-ethernet {
                link-down ignore;
            }
        }
    }
    interfaces {
        interface-range Production {
            member-range ge-0/0/1 to ge-0/0/47;
            description "EDSA Voice and Data";
            unit 0 {
                family ethernet-switching {
                    port-mode trunk;
                    vlan {
                        members VOICE;
                    }
                    native-vlan-id DATA;
                }
            }
        }
        ge-0/0/0 {
            description "Wireless Connection Guest VLAN";
            unit 0 {
                family ethernet-switching {
                    port-mode trunk;
                    vlan {
                        members GUEST;
                    }
                    native-vlan-id DATA;
                }
            }
        }
        ge-0/0/1 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/2 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/3 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/4 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/5 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/6 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/7 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/8 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/9 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/10 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/11 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/12 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/13 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/14 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/15 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/16 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/17 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/18 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/19 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/20 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/21 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/22 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/23 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/24 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/25 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/26 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/27 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/28 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/29 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/30 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/31 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/32 {
            description "EDSA FAS2240 LAG";
            ether-options {
                auto-negotiation;
                link-mode automatic;
                speed {
                    auto-negotiation;
                }
                802.3ad ae0;
            }
        }
        ge-0/0/33 {
            description "EDSA FAS2240 LAG";
            ether-options {
                auto-negotiation;
                link-mode automatic;
                speed {
                    auto-negotiation;
                }
            }
        }
        ge-0/0/34 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/35 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/36 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/37 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/38 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/39 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/40 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/41 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/42 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/43 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/44 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/45 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/0/46 {
            unit 0 {
                family ethernet-switching {
                    port-mode trunk;
                    vlan {
                        members GUEST;
                    }
                    native-vlan-id DATA;
                }
            }
        }
        ge-0/0/47 {
            unit 0 {
                family ethernet-switching {
                    port-mode trunk;
                    vlan {
                        members [ DATA GUEST VOICE ];
                    }
                    native-vlan-id MGNT;
                }
            }
        }
        ge-0/1/0 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/1/1 {
            unit 0 {
                family ethernet-switching;
            }
        }
        ge-0/1/2 {
            unit 0 {
                family ethernet-switching {
                    port-mode trunk;
                    vlan {
                        members [ DATA GUEST VOICE ];
                    }
                    native-vlan-id MGNT;
                }
            }
        }
        ge-0/1/3 {
            unit 0 {
                family ethernet-switching {
                    port-mode trunk;
                    vlan {
                        members [ DATA GUEST VOICE ];
                    }
                    native-vlan-id MGNT;
                }
            }
        }
        ae0 {
            aggregated-ether-options {
                lacp {
                    active;
                }
            }
            unit 0 {
                family ethernet-switching {
                    port-mode access;
                    vlan {
                        members [ DATA 10 ];
                    }
                }
            }
        }
        vlan {
            unit 0 {
                family inet;
            }
            unit 96 {
                description "L3 Interface for Management VLAN 96";
                family inet {
                    address 10.96.0.4/16;
                }
            }
        }
    }
    routing-options {
        static {
            route 0.0.0.0/0 next-hop 10.96.0.254;
        }
    }
    protocols {
        igmp-snooping {
            vlan all;
        }
        rstp;
        lldp {
            interface all;
        }
        lldp-med {
            interface all;
        }
    }
    ethernet-switching-options {
        voip;
        storm-control {
            interface all {
                level 50; ## Warning: 'level' is deprecated
            }
        }
    }
    vlans {
        DATA {
            description "Primary Data VLAN";
            vlan-id 10;
        }
        GUEST {
            description "GuestNet VLAN";
            vlan-id 3;
        }
        MGNT {
            description "Management VLAN";
            vlan-id 96;
            l3-interface vlan.96;
        }
        VOICE {
            description "Voice VLAN";
            vlan-id 110;
        }
        default {
            l3-interface vlan.0;
        }
    }
    poe {
        interface all;
    }

    [edit]
    root@IDF-4-SW1#



  • 6.  RE: creating LAG, fails commit check
    Best Answer

    Posted 01-24-2013 08:58

    I haven't used interface-range config myself, but it looks like the issue may be with that part of your config:

     

      interface-range Production {
            member-range ge-0/0/1 to ge-0/0/47;

     

    It looks like you are applying that unit0 config to the ports you want in the agg with that command.



  • 7.  RE: creating LAG, fails commit check

    Posted 01-24-2013 09:32

    that was it. totally missed that part of the configuration. adjusted the range and now the commit check is completing successfully.