Junos OS

Expand all | Collapse all

mc-lag active standby problem

Jump to Best Answer
  • 1.  mc-lag active standby problem

    Posted 06-04-2019 23:41

    R1---R2

    R1---R3

     

    In my lab 

    R3 is standby ae interface is down, only come up if R2 ae interface down,  this up switch around 10 seconds. does it correct? I do not find any configuration example about mc-lag active-standby mode. here is my configuration below:

    R1

     

    set interfaces ae0 aggregated-ether-options lacp active
    set interfaces ae0 aggregated-ether-options lacp periodic fast
    set interfaces ae0 unit 0 family inet address 10.0.123.1/24

     

    R2

    R2# run show interfaces terse | match ae
    ge-0/0/0.0 up up aenet --> ae0.0
    ae0 up down
    ae0.0 up down inet 10.0.123.23/24

     

     

    set interfaces ae0 aggregated-ether-options lacp active
    set interfaces ae0 aggregated-ether-options lacp periodic fast
    set interfaces ae0 aggregated-ether-options lacp system-id 00:11:22:33:44:55
    set interfaces ae0 aggregated-ether-options lacp admin-key 23
    set interfaces ae0 aggregated-ether-options mc-ae mc-ae-id 23
    set interfaces ae0 aggregated-ether-options mc-ae redundancy-group 23
    set interfaces ae0 aggregated-ether-options mc-ae chassis-id 0
    set interfaces ae0 aggregated-ether-options mc-ae mode active-standby
    set interfaces ae0 aggregated-ether-options mc-ae status-control active
    set interfaces ae0 unit 0 family inet address 10.0.123.23/24

     

    set protocols iccp local-ip-addr 10.0.23.2
    set protocols iccp peer 10.0.23.3 redundancy-group-id-list 23
    set protocols iccp peer 10.0.23.3 liveness-detection minimum-interval 1000
    set protocols iccp peer 10.0.23.3 liveness-detection multiplier 3

     

    run show interfaces mc-ae
    Member Link : ae0
    Current State Machine's State: mcae active state
    Local Status : active
    Local State : down
    Peer Status : Unknown
    Peer State : Unknown
    Logical Interface : ae0.0
    Topology Type : inet
    Local State : up
    Peer State : Unknown
    Peer Ip/MCP/State : N/A

     

    set interfaces ge-0/0/0 gigether-options 802.3ad ae0
    set interfaces ge-0/0/4 unit 0 family inet address 10.0.23.2/24
    set interfaces ae0 aggregated-ether-options lacp active
    set interfaces ae0 aggregated-ether-options lacp periodic fast
    set interfaces ae0 aggregated-ether-options lacp system-id 00:11:22:33:44:55
    set interfaces ae0 aggregated-ether-options lacp admin-key 23
    set interfaces ae0 aggregated-ether-options mc-ae mc-ae-id 23
    set interfaces ae0 aggregated-ether-options mc-ae redundancy-group 23
    set interfaces ae0 aggregated-ether-options mc-ae chassis-id 0
    set interfaces ae0 aggregated-ether-options mc-ae mode active-standby
    set interfaces ae0 aggregated-ether-options mc-ae status-control active
    set interfaces ae0 unit 0 family inet address 10.0.123.23/24

     

    R3 

     

    run show interfaces mc-ae
    Member Link : ae0
    Current State Machine's State: mcae active state
    Local Status : active
    Local State : up
    Peer Status : Unknown
    Peer State : Unknown
    Logical Interface : ae0.0
    Topology Type : inet
    Local State : up
    Peer State : Unknown
    Peer Ip/MCP/State : N/A

     

    set protocols iccp local-ip-addr 10.0.23.3
    set protocols iccp peer 10.0.23.2 redundancy-group-id-list 23
    set protocols iccp peer 10.0.23.2 liveness-detection minimum-interval 1000
    set protocols iccp peer 10.0.23.2 liveness-detection multiplier 3

     

    set interfaces ae0 mac 2c:6b:f5:96:3a:c0
    set interfaces ae0 aggregated-ether-options lacp active
    set interfaces ae0 aggregated-ether-options lacp periodic fast
    set interfaces ae0 aggregated-ether-options lacp system-id 00:11:22:33:44:55
    set interfaces ae0 aggregated-ether-options lacp admin-key 23
    set interfaces ae0 aggregated-ether-options mc-ae mc-ae-id 23
    set interfaces ae0 aggregated-ether-options mc-ae redundancy-group 23
    set interfaces ae0 aggregated-ether-options mc-ae chassis-id 1
    set interfaces ae0 aggregated-ether-options mc-ae mode active-standby
    set interfaces ae0 aggregated-ether-options mc-ae status-control standby
    set interfaces ae0 unit 0 family inet address 10.0.123.23/24

     

    R3# run show interfaces terse | match ae
    ge-0/0/2.0 up up aenet --> ae0.0
    ae0 up up
    ae0.0 up up inet 10.0.123.23/24

     



  • 2.  RE: mc-lag active standby problem

    Posted 06-05-2019 00:37

    Good Day,

     

    Seems ICCP-connection is not established.

    Peers do not know the status of each other.

    ---

    Peer Status : Unknown
    Peer State : Unknown

    ---

    Could you please check the reachability and provide "show iccp detail" output?

    There is no multi-chassis statement in provided configs, maybe this is an issue:

    multi-chassis {
       multi-chassis-protection 10.43.100.1 {
          interface ae0;
       }
    }

    https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/multi-chassis-qfx-series.html

    Please check it.



  • 3.  RE: mc-lag active standby problem

    Posted 06-05-2019 00:48

    Hi xinhui,

     

    From your output:

    run show interfaces mc-ae 
    Member Link : ae0
    Current State Machine's State: mcae active state
    Local Status : active
    Local State : down
    Peer Status : Unknown <== !!
    Peer State : Unknown  <== !!
    Logical Interface : ae0.0
    Topology Type : inet
    Local State : up
    Peer State : Unknown  <== !!
    Peer Ip/MCP/State : N/A

    I see that your MC-LAG peers does not have ICCP session.

    The output should be like this:

    PE1> show interfaces mc-ae
     Member Link                  : ae1
     Current State Machine's State: mcae active state
     Local Status                 : active
     Local State                  : up
     Peer Status                  : standby <== !!
     Peer State                   : up      <== !!
         Logical Interface        : ae1.100
         Topology Type            : square
         Local State              : up
         Peer State               : up      <== !!

     

    So, please check the ICCP session: "show iccp", the output should be like this:

     

    PE1> show iccp
    
    Redundancy Group Information for peer 172.16.1.2
      TCP Connection       : Established
      Liveliness Detection : Up
      Redundancy Group ID          Status
        1                           Up
    
    Client Application: lacpd
      Redundancy Group IDs Joined: 1

    If your ICCP in Dn state, please check network reachibility.

     

    With your config it would be:

    R2> ping 10.0.23.3 source 10.0.23.2

    Thanks,

    Alex

     



  • 4.  RE: mc-lag active standby problem

    Posted 06-05-2019 09:43

    Hi,

     

    you can also try this and it will give you a good hint of the errors:

     

    set multi-chassis mc-lag configuration-consistency mcae-config

    and then 

    show multi-chassis mc-lag configuration-consistency mcae-config

     
    hope it helps

     


  • 5.  RE: mc-lag active standby problem

    Posted 06-05-2019 21:29

    R3# run show interfaces mc-ae extensive
    Member Link : ae0
    Current State Machine's State: mcae standby state
    Local Status : standby
    Local State : up
    Peer Status : active
    Peer State : up
    Logical Interface : ae0.0
    Topology Type : inet
    Local State : up
    Peer State : up
    Peer Ip/MCP/State : N/A

    MCAE Configuration
    Redundancy Group : 23
    MCAE ID : 23
    MCAE Mode : active_standby
    Status Control : standby
    Chassis ID : 1
    LACP Configuration
    System ID : 00:11:22:33:44:55
    Admin Key : 23

     

    ge-0/0/2.0 up up aenet --> ae0.0
    ae0 up down
    ae0.0 up down inet 10.0.123.23/24

     

    R2# run show interfaces terse | match ae
    ge-0/0/0.0 up up aenet --> ae0.0
    ae0 up up
    ae0.0 up up inet 10.0.123.23/24

     

    R2# run show interfaces mc-ae extensive
    Member Link : ae0
    Current State Machine's State: mcae active state
    Local Status : active
    Local State : up
    Peer Status : standby
    Peer State : up
    Logical Interface : ae0.0
    Topology Type : inet
    Local State : up
    Peer State : up
    Peer Ip/MCP/State : N/A

    MCAE Configuration
    Redundancy Group : 23
    MCAE ID : 23
    MCAE Mode : active_standby
    Status Control : active
    Chassis ID : 0
    LACP Configuration
    System ID : 00:11:22:33:44:55
    Admin Key : 23

     

    R2# show multi-chassis |display set
    set multi-chassis mc-lag consistency-check

     

    R3# show multi-chassis |display set
    set multi-chassis mc-lag consistency-check

     

    I use vmx tested it. when I ping iccp peer, the iccp peer go up. I think my mc-lag active-standby. it does not work.



  • 6.  RE: mc-lag active standby problem
    Best Answer

    Posted 06-06-2019 00:09

    Good Day,

     

    Seems you still don't have required line in configuration.

    ----

    R2# show multi-chassis |display set 
    set multi-chassis mc-lag consistency-check

     

    R3# show multi-chassis |display set 
    set multi-chassis mc-lag consistency-check

    ----

    You should have multi-chassis-protection enabled on particular interface on both R2 and R3 (on the link between R2 and R3 where ICCP should be established)

    set multi-chassis multi-chassis-protection <ip_address> interface <interface_name>

    Here is a configuration example, please check if your config is similar. You will see multi-chassis-protection command there as well.

    https://www.juniper.net/documentation/en_US/release-independent/nce/topics/example/multichassis-link-aggregation-qfx-series.html

     



  • 7.  RE: mc-lag active standby problem

    Posted 06-06-2019 03:46

    I tested it, it  work fine, right now. thanks so much. I am really appreciae you help. when my active ae is down, it switch to standy ae interface quickly