Hello, friend!
Run the display PSTN state command to query the physical layer running status, physical layer management status, service running status, service management status, and subscriber line status of one or multiple PSTN ports.
If you need to query the information in the ESL user mode, run the config command to enter the global config mode, and then run the ESL user command to enter the ESL user mode, and then run this command.
If you need to query the information in pstnport mode, run the config command to enter global config mode, and then run the pstnport command to enter pstnport mode, and then run this command.
Thanks!