Actions
Moshell » History » Revision 2
« Previous |
Revision 2/3
(diff)
| Next »
lynxis, 11/11/2020 10:30 PM
Moshell¶
The moshell is the managed object shell.
It can run under linux or on windows using cygwin.
It's using java, bash, awk, perl, ssh.
Install moshell on debian buster¶
apt-get install less file man openjdk-11-jre-headless unzip zip inetutils-ping cd /tmp unzip moshell.zip cd /tmp/moshell/ bash ./moshell_install
connect to a digital unit¶
The DUL is reachable via LMT (local management terminal) or via TN (side network).
Configure your host to 169.254.1.15/16 and connect to the LMT port.
./moshell 169.254.1.10
The moshell will connect via ssh, http, corba to the DUL.
The moshell might try to connect to the side network (TN A/TN B ports). In this case set the a route for the IP to 169.254.1.10. E.g. ip route add 10.10.10.2 via 169.254.1.10. To change this to 169.254.1.10 call `set IpOam=1,Ip=1 nodeInterfaceName le0`
./moshell 169.254.1.10 169.254.1.10> lt all [..] Last MO: 950. Loaded 950 MOs. Total: 951 MOs. FOO> lpr [..] =================================================================================== Total: 947 MOs FOO> al [..] ==================================================================================================================== Sever Specific Problem MO (Cause/AdditionalInfo) ==================================================================================================================== Min Password File Fault Security=1 (configuration_or_customizing_error) >>> Total: 1 Alarms (0 Critical, 0 Major) FOO>
useful commands¶
ld all - load full tree lpr - show matching MOs or all momt - show mo model tree momt ManagedElementData - show the momtree of ManagedElementData mom ManagedElementData - show mom of the ManagedElementData mom ManagedElementData deleteNtpThird - show the action/attribute of the ManagedElementData momd ManagedElementData all - show all attributes, one per line al - show alarms st - show the state of MO cvms - create a new configuration file
further reference¶
- MoShell User Guide
Updated by lynxis over 3 years ago · 2 revisions