The following example configures ELSM on two ports connected directly to each other and assumes the following:
Note
In the following sample configurations, any lines marked (Default) represent default settings and do not need to be explicitly configured.enable elsm ports 1 configure elsm ports 1 hellotime 2 configure elsm ports 1 hold-threshold 2 (Default)
enable elsm ports 2:1 configure elsm ports 2:1 hellotime 2 configure elsm ports 2:1 hold-threshold 2 (Default)
After you enable ELSM on the ports, the peers exchange hello messages with each other as displayed in the following figure.
To configure ELSM with LAG, enable ELSM on each port member of the LAG, as shown in the following example:
enable sharing 7 grouping 7-9, 41 algorith address-based L2 enable elsm port 7 enable elsm port 8 enable elsm port 9 enable elsm port 41 X670-48x.23 # sh elsm Port ELSM State Hello Time ==== ========== ========== 7 Up 1 (secs) 8 Down 1 (secs) 9 Down 1 (secs) 41 Up 1 (secs)