+function _status() {
+ local zone=${1}
+
+ cli_status_headline ${zone}
+
+ # Exit if zone is down
+ if ! zone_is_up ${zone}; then
+ echo # Empty line
+ exit ${EXIT_ERROR}
+ fi
+
+ cli_headline " Point-to-Point-over-Ethernet protocol:"
+ echo " IP-Address : $(red_db_get ${zone} local-ip-address)"
+ echo " Gateway : $(red_db_get ${zone} remote-ip-address)"
+ echo " DNS-Server : $(red_db_get ${zone} dns)"
+ echo
+ echo " MAC-Remote : $(red_db_get ${zone} remote-address)"
+ echo
+ echo " MTU : $(device_get_mtu ${zone})"
+ echo # Empty line
+ exit ${EXIT_OK}
+}
+