https://forums.juniper.net/t5/Automation/Scripting-How-To-Display-similar-output-to-the-Cisco-IOS-command/ta-p/279705
code here