> ls -r ( dieser Befehl listet das aktuelle Verzeichnis und alle darunter liegenden Verzeichnisse auf ) Firmware MENU: Other MENU: Setup MENU: Status MENU: [rek] Status: Accounting MENU: Block-Devices MENU: COM-Ports MENU: CWMP MENU: Certificates MENU: Charging MENU: . . . . .
root@LANCOM-1781AW:/Status/VPN > ls -a ( dieser Befehl zeigt zusätzlich zum Menü die jeweilige SNMP-ID und die OID in eckigen Klammern an ) [1.3.6.1.4.1.2356.11][1.26] [ 37] DH-Groups MENU: [ 10] AH TABINFO: 50 x [Idx.,Peer,Dest.-Address,Src.-Address,..] [ 17] Connections TABINFO: 16 x [Peer,State,Last-Error,Mode,SH-Time,..] [ 9] ESP TABINFO: 50 x [Idx.,Peer,Dest.-Address,Src.-Address,..] [ 8] IKE TABINFO: 50 x [Idx.,Peer,Dest.-Address,Dst-Port,..] [ 14] IPCOMP TABINFO: 50 x [Idx.,Peer,Dest.-Address,Src.-Address,..] [ 7] AH-SAs INFO: 0 [ 6] ESP-SAs INFO: 0 [ 5] IKE-SAs INFO: 0 [ 13] IPCOMP-SAs INFO: 0
root@LANCOM-1781AW:/ > ls status/connection ( dieser Befehl zeigt eine Tabelle mit den Verbindungs Status von WAN bzw. DSL-Verbindungen ) Ifc Connections active passive Errors Con.-Time Charge ---------------------------------------------------------------------------------------- ADSL-1 6 6 0 0 10:32:35 0 ADSL-2 0 0 0 0 No-connection 0 ADSL-3 0 0 0 0 No-connection 0 ADSL-4 0 0 0 0 No-connection 0 ADSL-5 0 0 0 0 No-connection 0 ADSL-6 0 0 0 0 No-connection 0 ADSL-7 0 0 0 0 No-connection 0 ADSL-8 0 0 0 0 No-connection 0 CH01 0 0 0 0 No-connection 0 CH02 0 0 0 0 No-connection 0 DSL-CH-1 1 1 0 0 5D 1:59:35 0 DSL-CH-2 0 0 0 0 No-connection 0 DSL-CH-3 0 0 0 0 No-connection 0 DSL-CH-4 0 0 0 0 No-connection 0 DSL-CH-5 0 0 0 0 No-connection 0 DSL-CH-6 0 0 0 0 No-connection 0 DSL-CH-7 0 0 0 0 No-connection 0 DSL-CH-8 0 0 0 0 No-connection 0 EXT 0 0 0 0 No-connection 0 root@LANCOM-1781AW:/ > ls status/remote ( dieser Befehl zeigt die Verbindungsdauer von WAN Verbindungen sowie dem zugeordneten logischen Interface )
Conn.-start Remote-ID Mode Ifc Conn.-time Charge ----------------------------------------------------------------------------------------------------------- 08/21/2014 04:00:59 INTERNET1 Active ADSL-1 10:32:59 0 08/20/2014 04:00:59 INTERNET1 Active ADSL-1 23:59:59 0 08/19/2014 04:00:59 INTERNET1 Active ADSL-1 23:59:59 0 08/18/2014 04:00:59 INTERNET1 Active ADSL-1 23:59:59 0 08/17/2014 04:00:59 INTERNET1 Active ADSL-1 23:59:59 0 08/16/2014 12:35:07 INTERNET1 Active ADSL-1 15:25:51 0 08/16/2014 12:33:59 INTERNET2 Active DSL-CH-1 5D 1:59:59 0
root@LANCOM-1781AW:/ > ls status/info ( dieser Befehl zeigt u.a., welche logische zu welcher physikalischen Gegenstelle gehört ) Ifc Status Mode Dialup-remote Peer B1-DT B2-DT --------------------------------------------------------------------------------------------------------- ADSL-1 Connection Active INTERNET1 9999 0 ADSL-2 No remote 0 0 ADSL-3 Ready 0 0 ADSL-4 Ready 0 0 ADSL-5 Ready 0 0 ADSL-6 Ready 0 0 ADSL-7 Ready 0 0 ADSL-8 Ready 0 0 CH01 No remote 0 0 CH02 Ready 0 0 DSL-CH-1 Connection Active INTERNET2 9999 0 DSL-CH-2 Ready 0 0 DSL-CH-3 Ready 0 0 DSL-CH-4 Ready 0 0 DSL-CH-5 Ready 0 0 DSL-CH-6 Ready 0 0 DSL-CH-7 Ready 0 0 DSL-CH-8 Ready 0 0 EXT Init 0 0
root@LANCOM-1781AW:/ > ls status/config/features ( dieser Befehl zeigt, welche Software-Optionen auf einem Gerät freigeschaltet sind sowie deren Status. Bei zeitlich begrenzten Optionen wird das Ablaufdatum angezeigt ) Feature Expires State Index Count ------------------------------------------------------------------------- LANCAPI unlimited active 0 0 Leased_Line unlimited active 0 0 Switched_Line unlimited active 0 0 FAX unlimited active 0 0 VPN-5 unlimited hidden 0 5 VPN-25 unlimited active 0 25 WLAN_Point_to_Point unlimited active 0 0 Public_Spot unlimited active 0 0 UMTS unlimited active 0 0 Contentfilter_Additive 12/31/2015 active 10 100 Contentfilter_Additive 01/22/2014 expired 0 100 LAN_Bridge unlimited active 0 0 PMS unlimited active 0 0
root@LANCOM-1781AW:/ > ls status/hardware ( dieser Befehl zeigt Informationen zur Hardware und Firmware eines Gerätes an ) Model-Number INFO: LANCOM 1781AW Extended-Name INFO: LANCOM 1781AW Serial-Number INFO: 4002397618100282 MOD-level INFO: B3 Production-date INFO: 2012-02-27 PLD-Version INFO: - Reset-Button-State INFO: inactive Board-Revision INFO: B CPU-Type INFO: Freescale MPC8314E 1.2 (core 2.0) CPU-Clock-MHz INFO: 398 CPU-Load-Percent INFO: 3 CPU-Load-1s-Percent INFO: 3 CPU-Load-5s-Percent INFO: 3 CPU-Load-60s-Percent INFO: 3 CPU-Load-300s-Percent INFO: 3 Security-Unit MENU: PCI-Device-List TABINFO: 32 x [Host-Bridge,Bus,Device,Function,..] Total-Memory-KBytes INFO: 131072 Free-Memory-KBytes INFO: 38949 Security-Engine INFO: Yes Onboard-USB-Hub INFO: No SW-Version INFO: 9.00.0219 / 16.08.2014 Ethernet-Switch-Type INFO: AR8327 Rev. 1.1 Adv.-Error-Reporting-Log TABINFO: 10 x [Index,Time,Severity,Multiple,..] PCIe-corr.-errors INFO: 0 PCIe-uncorr.-errors INFO: 0 PCIe-link-resets INFO: 0
13. Verwenden des repeat-Befehls: Mit dem repeat-Befehl wird eine wiederholte Ausgabe von (veränderlichen) Werten angezeigt. Im folgenden Beispiel soll die CPU-Last (in%) sowie die Speicherauslastung eines Gerätes alle 10 Sekunden ausgegeben werden: root@LANCOM-1781AW:/ > repeat 10 ls status/hardware/cpu-load-percent ; show mem [10 Sec.-REPEAT];root@LANCOM-1781AW:/ > repeat 10 ls status/hardware/cpu-load-percent ; show mem CPU-Load-Percent INFO: 3 Total: RAM: 92.6 MBytes Status : Blocks Big Small Total ---------------------------------------------------------- USED : 52990 3.4 MBytes 96 Bytes 54.6 MBytes FREE : 4317 36.7 MBytes 96 Bytes 38.0 MBytes [10 Sec.-REPEAT];root@LANCOM-1781AW:/ > CPU-Load-Percent INFO: 3 Total: RAM: 92.6 MBytes Status : Blocks Big Small Total ---------------------------------------------------------- USED : 52990 3.4 MBytes 96 Bytes 54.6 MBytes FREE : 4317 36.7 MBytes 96 Bytes 38.0 MBytes [10 Sec.-REPEAT];root@LANCOM-1781AW:/
14. Ändern des Haupt-Geräte-Passwortes ohne Einzelabfrage:Wenn Sie den Befehl passwd ohne zusätzlichen Parameter eingeben, wird zunächst die Angabe des alten Passwortes verlangt und dann zwei Mal die Angabe des neuen Passwortes. Mit dem Befehl passwd -n [neues Passwort] [altes Passwort] können Sie das Haupt-Geräte-Passwort ohne diese Einzelabfragen ändern. root@LANCOM-1781AW:/ > passwd -n lancomneu lancom (das Haupt-Geräte-Passwort soll von "lancom" in "lancomneu" geändert werden) Password has been changed |