CLI path to equivalent of interface "status" page?

I’ve got a Hex POE (which I love) but I’m troubleshooting an issue where it periodically drops one of my links from 1GE down to 100Mbps. I was going to just write a super simple SSH script that dumps the status of the interface (so I can know when it changes) but I haven’t been able to figure out where in the CLI tree I can find this.

In webFig, I can just go Interfaces-> [double click on the one I’m interested in] → and expand “Status” and one of the things it lists there is the auto-negotiation state and the rate the link is currently running.

I’ve been poking around at things like “interface/ethernet/print proplist=” but haven’t been able to find it. Hopefully someone here just “knows” :wink:

/interface/print

and running state for example:

:put [/interface/get value-name=running  ether1]

That doesnt seem to get speed/duplex etc

> /interface print detail where name=ether1
Flags: D - dynamic; X - disabled; I - inactive, R - running; S - slave; P - passthrough 
 0   R   ;;; comcast
         name="ether1" default-name="ether1" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1592 
         max-l2mtu=9578 mac-address= last-link-up-time=2025-02-26 12:31:39 link-down

I think you’re interested in something in lines of

/interface/ethernet/monitor ether1,ether2

possibly with “once” if you want it to just print and return to prompt.

                      name: ether1
                    status: link-ok
          auto-negotiation: done
                      rate: 1Gbps
               full-duplex: yes
           tx-flow-control: no
           rx-flow-control: no
                 supported: 10M-baseT-half,10M-baseT-full,100M-baseT-half,100M-baseT-full,1G-baseT-half,1G-baseT-full
               advertising: 10M-baseT-half,10M-baseT-full,100M-baseT-half,100M-baseT-full,1G-baseT-full
  link-partner-advertising: 10M-baseT-half,10M-baseT-full,100M-baseT-half,100M-baseT-full,1G-baseT-half,1G-baseT-full

Yeah, once works

> interface ethernet monitor ether1 once 
                        ;;; comcast        
                      name: ether1         
                    status: link-ok        
          auto-negotiation: done           
                      rate: 1Gbps          
               full-duplex: yes            
           tx-flow-control: no             
           rx-flow-control: no             
                 supported: 10M-baseT-half 
                            10M-baseT-full 
                            100M-baseT-half
                            100M-baseT-full
                            1G-baseT-half  
                            1G-baseT-full  
               advertising: 10M-baseT-half 
                            10M-baseT-full 
                            100M-baseT-half
                            100M-baseT-full
                            1G-baseT-full  
  link-partner-advertising: 100M-baseT-half
                            100M-baseT-full
                            1G-baseT-half  
                            1G-baseT-full