EasyUC for Cisco
Administering CUBE and analog gateways
SSH access, voice ports, config sets, certificates, active calls and CUBE debug.
In EasyUC: EasyUC Cisco → Gateways → Analog GWs / CUBEs
What it is for
Under Gateways, EasyUC manages Cisco IOS devices via SSH. Analog GWs shows the VG gateways from the CUCM with registration status and number of active calls. CUBEs shows the Cisco Unified Border Elements that you enter in EasyUC yourself. EasyUC logs in to the device via SSH, reads its state with show commands and runs configuration commands on request.
On analog gateways you see voice ports with signaling and state, read the configuration of a port including the associated dial peers and apply stored config sets. On both device types you read network interfaces, system version, certificates and active calls and can end a call.
For CUBEs there is also the Debug capture. EasyUC switches on “debug ccsip messages” and “debug voip dialpeer inout” on the CUBE, receives the output via syslog and stores it for call diagnostics. A watchdog monitors the CUBE and switches off by itself on overload.
The Cisco CUBE is a separate device in the network. It is not the Teams SBC integrated in EasyUC.
Prerequisites
- License module
cucm. The Gateways menu appears withROLE_APP_GATEWAYSand at least one section permission. - Viewing analog GWs:
ROLE_APP_GATEWAYS_ANALOG. Changing, testing, switching ports, applying configuration: additionallyROLE_APP_GATEWAYS_ANALOG_EDIT. - Viewing CUBEs:
ROLE_APP_GATEWAYS_CUBE. Changing, testing, ending a call, switching the debug capture: additionallyROLE_APP_GATEWAYS_CUBE_EDIT. - Administrators (
ROLE_APP_ADMIN,ROLE_OWNER,ROLE_ADMIN,ROLE_SUPER_ADMIN) have all gateway permissions.ROLE_APP_TEMPLATEalone is not sufficient. - Changing default credentials, creating a CUBE and setting the host or SSH port of a gateway: edit permissions for both areas (
ROLE_APP_GATEWAYS_ANALOG_EDITandROLE_APP_GATEWAYS_CUBE_EDIT). - The gateway can be reached from the EasyUC appliance via SSH. The SSH port is 22 by default.
- An SSH user on the gateway with the permissions for the desired action. If the device requires an enable password, it must be stored.
- Analog gateways are created in the CUCM. EasyUC reads the list from the active CUCM connection.
- For the debug capture: the CUBE reaches the EasyUC appliance via syslog (UDP). The syslog target is entered under Storage & syslog or on the CUBE.
- The SSH credentials for Details (SSH) of the CUCM nodes on the home page are a separate setting with the roles
ROLE_APP_CUCM_NODE_DETAILSandROLE_APP_CUCM_NODE_DETAILS_EDIT. They do not apply to gateways.
Step by step: storing default credentials for gateways
Step by step: giving an analog gateway its own host and login
Step by step: adding a Cisco CUBE
Step by step: checking and switching voice ports
Step by step: creating a config set and applying it to a port
Step by step: checking network, certificates and active calls
Step by step: defining storage and syslog for the CUBE debug capture
Step by step: switching on and evaluating the debug capture on a CUBE
Fields and options
| Field / action | Meaning and use |
|---|---|
| Set | Name of a default credential set. After a successful test it appears in the Credentials column of the gateway. |
| Credentials (column) | Custom for the gateway's own credentials, otherwise the name of the default set that last worked. A dash means: not tested yet. |
| Status (Analog GWs) | Registered, Not Registered or Unknown, as reported by the CUCM. |
| SSH Port | TCP port for SSH. Default 22. Only users with edit permissions for both gateway areas can change the host and SSH port of a gateway. |
| Enable Password | Optional. Used if the SSH user does not land directly in privileged mode. |
| Replace mode | Aligns port and dial peer exactly to the set and removes superfluous commands. Without replace mode, the commands are only added. |
| {PORT} and further variables | EasyUC sets {PORT} from the target port. Every other variable in curly brackets is requested when the set is applied. |
| Shutdown / Bring Up | Changes the administrative state of a voice port. A port that is shut down does not accept calls. |
| Debug (CUBEs column) | State of the capture: on, off, switched off automatically or unknown. The additional badges Console logging and Monitor logging warn of a risky logging configuration. |
| Retention | 1, 7 or 30 days or unlimited (default). The watchdog deletes older data every hour. With Unlimited, nothing is deleted automatically. |
| Apply logging baseline | EasyUC sets the logging configuration for the capture and removes it again when switching off. Without the baseline, syslog target, origin-id and “logging trap debugging” must already be on the CUBE. |
| Storage cap (MB) | Upper limit for all CUBEs together. Allowed 64 to 65536, default 1024. |
| Syslog targets | At most 8 IPv4 addresses of the appliance. |
| Syslog port (UDP) | Allowed 1024 to 65535, default 5514. |
| Maximum lines per second per CUBE | Allowed 100 to 20000, default 2000. Above that, the receiver discards lines. If the rate stays above it permanently, the watchdog switches the capture off. |
| Watchdog | Switches off automatically at a 1-minute CPU load of 70 % or more (twice) or 80 % or more (once), free memory below 15 %, rising logger drops, too many lines per second or “logging console debugging”. EasyUC never switches on again by itself. |
Check the result and troubleshoot
- Success for SSH access: Test or Test Connection returns a result without errors and the tabs of the detail page fill.
- “No VG gateways found in this CUCM.”: the active CUCM connection contains no VG gateways. Check the selected connection.
- “No gateways configured yet.”: no CUBE has been entered under CUBEs yet.
- The Ports button is missing or gray: no IP address is known for the gateway or it has no entry of its own yet. A user with both gateway edit permissions must create the entry via Credentials.
- The Active Calls column shows a warning sign: the query has failed. The tooltip names the reason or “Query failed”. This says nothing about the state of the device.
- “No ports found.” or “No dial-peer references this port.”: the gateway reports no voice ports, or the port is not entered in any dial peer.
- “No saved config sets yet – create one under “Config Sets” above.”: save a set first.
- Default credentials affect all gateways without their own credentials. A change never affects just a single device.
- “The preflight check blocks switching on – nothing was changed on the CUBE.”: fix the blocking items of the preflight check, for example “logging console” set to debugging or a missing syslog target.
- “No syslog target – please enter one.”: enter an address under Storage & syslog or on the CUBE.
- “The CUBE cannot be reached via SSH.” or “No credentials for the CUBE.”: check address, SSH port and credentials.
- “The storage cap is reached: the receiver is paused, new lines are discarded.”: shorten the retention or raise the cap under Storage & syslog.
- “Switched off automatically at …” with a reason, for example “CPU load too high”: the watchdog has switched off. Clarify the cause and switch on again after a new preflight check.
- After deleting a CUBE with a running capture, a note may appear that the debugs on the device could not be stopped completely. In that case, check “show debugging” and the logging configuration on the CUBE manually.
- The entire debug output including phone numbers is stored. Authorization headers and SRTP keys are redacted before storing.