User can configure two physical ports or two LAGs as Flex Links, or one physical port and one LAG as Flex Links.
set interface gigabit-ethernet <port> backup-port interface <text>
delete interface gigabit-ethernet <port> backup-port interface
• <port> ethernet switching port identifier,the valid ports range 1-52.
•<text> Set backup port of an interface, which will disable rstp/mstp
• This example is to set Flex links between a physical port and a LAG :