How to verify configurations on MLAG peer are consistent?


PICOS automatically checks the configuration consistency of the MLAG peer devices to ensure that the MLAG peer devices appear as one device to the downstream device and to make the MLAG function operate normally and smoothly.

After an MLAG related configuration is set, use the following command to show the result of MLAG configuration consistency check result.

run show mlag consistency-parameter { link <link-id>| summary}

 

For example,

  • Show the result of per MLAG configuration consistency check.
admin@Xorplus# run show mlag consistency-parameter link 3
Port Configurations:
-----------------------------------------------------------------
Property                 Local Value      Peer Value       Result
-----------------------  ---------------  ---------------  ------
MTU                      1514             1514             PASS 
Mac Learning             Yes              Yes              PASS 
Lag Mode                 LACP             LACP             PASS 
Native Vlan              3                3                PASS 
Port Vlan Mode           Access           Access           PASS 
 
Spanning-Tree Configurations:
-----------------------------------------------------------------
Property                 Local Value      Peer Value       Result
-----------------------  ---------------  ---------------  ------
Mode                     PVST             PVST             PASS 
BPDU Guard               No               No               PASS 
Root Guard               No               No               PASS 
Manual Forwarding        No               No               PASS 
Link Type                P2P              P2P              PASS 
Instance Count           1                1                PASS 
Instance Vlan 3                                                
-- Port Priority         128              128              PASS 
-- Path Cost             0                0                PASS


  • Show the result of global MLAG configuration consistency check.
admin@Xorplus# run show mlag consistency-parameter summary
Overall : PASS
--------------
Global  : PASS
Link 1  : PASS
Link 2  : PASS
Link 3  : PASS
 
MLAG Configurations:
-----------------------------------------------------------------
Property                 Local Value      Peer Value       Result
-----------------------  ---------------  ---------------  ------
Domain ID                1                1                PASS 
Node ID                  1                0                PASS 
Peer VLAN                4088             4088             PASS 
Link Count               3                3               PASS 
Link IDs                 1   2   3       1   2   3       PASS                
      
Spanning-Tree Configurations:
-----------------------------------------------------------------
Property                 Local Value      Peer Value       Result
-----------------------  ---------------  ---------------  ------
Enable                   Yes              Yes              PASS 
Mode                     PVST             PVST             PASS 
Instance Count           65               65               PASS 
Instance Vlan 1                                                 
-- Bridge Priority       32768            32768            PASS 
-- Hello Time            2                2                PASS 
-- Forward Delay         15               15               PASS 
-- Max Age               20               20               PASS 

Instance Vlan 2                                                
-- Bridge Priority       32768            32768            PASS 
-- Hello Time            2                2                PASS 
-- Forward Delay         15               15               PASS 
-- Max Age               20               20               PASS 

Instance Vlan 3                                                
-- Bridge Priority       32768            32768            PASS 
-- Hello Time            2                2                PASS 
-- Forward Delay         15               15               PASS 
-- Max Age               20               20               PASS 

Instance Vlan 4                                                
-- Bridge Priority       32768            32768            PASS 
-- Hello Time            2                2                PASS 
-- Forward Delay         15               15               PASS 
-- Max Age               20               20               PASS  

DHCP Snooping Configurations:
-----------------------------------------------------------------
Property            Local Value  Peer Value       Result
-----------------------  ---------------  ---------------  ------
Enable               No          No               PASS  

IGMP Snooping Configurations:
-----------------------------------------------------------------
Property                 Local Value      Peer Value       Result
-----------------------  ---------------  ---------------  ------
Enable                   No               No               PASS

In the displayed result, Result shows the consistency check results. The value could be PASS or FAIL:

  • If Result is PASS, the configurations of the MLAG peer-link devices are consistent.
  • If Result is FAIL, the configurations of the MLAG peer-link devices are inconsistent.

To ensure that the configuration parameters are consistent, we recommend that you run the MLAG consistency check command to display the configurations and the consistency check results for each MLAG peer device once you set a new MLAG related configuration.

 

For more details about MLAG consistency check, please refer to MLAG Consistency Check.

NOTE:

  •    Inconsistent configuration may cause MLAG to run abnormally.
  •    After the configuration is changed from inconsistent to consistent, you need to restart the MLAG peer devices to ensure that MLAG functions normally.

Copyright © 2024 Pica8 Inc. All Rights Reserved.