summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_ont/ont-huawei-ma5671a-rooted.md49
-rw-r--r--_ont/serial_dump/ma5671a_minishell.txt102
2 files changed, 134 insertions, 17 deletions
diff --git a/_ont/ont-huawei-ma5671a-rooted.md b/_ont/ont-huawei-ma5671a-rooted.md
index bca9512..bdfdf68 100644
--- a/_ont/ont-huawei-ma5671a-rooted.md
+++ b/_ont/ont-huawei-ma5671a-rooted.md
@@ -5,7 +5,33 @@ parent: Huawei MA5671A
layout: default
---
-# General Settings and Useful Commands
+# Usage
+
+## Minishell
+
+This firmware version offers a minishell in addition to the normal sh shell, the commands offered by the minishell are as follows:
+
+{% include serial_dump.html file="ma5671a_minishell.txt" alt="Huawei MA5671A minishell" %}
+
+## Root
+
+For general use, the minishell does not allow any modifications, and [Web root procedure](/ont-huawei-ma5671a-root-web) is required.
+
+# GPON ONU status
+
+## Get the operational status of the ONU
+
+```sh
+onu ploamsg
+```
+
+## Querying a particular OMCI ME
+```sh
+omci_pipe.sh meg MIB_IDX ME_IN
+```
+Where `MIB_IDX` is the MIB ID and the `ME_IN` is the ME instance number
+
+# GPON/OMCI settings
{% include alert.html content="In this firmware, unlike the other ones, the data must be modified in a base64-encoded file. To simplify this, you can use the following web application." alert="Info" icon="svg-info" color="blue" %}
@@ -91,19 +117,6 @@ fw_printenv nPassword
fw_printenv gSerial
fw_printenv ethaddr
```
-
-## Checking whether the connection with the OLT was successful (O5 state)
-
-```sh
-onu ploamsg
-```
-
-## Disabling dying gasp
-
-```sh
-fw_setenv nDyingGaspEnable 0
-```
-
## Getting/Setting Speed LAN Mode
To get the LAN Mode:
@@ -121,11 +134,13 @@ The `link_status` variable tells the current speed
To change the default lan mode value you can use `fw_setenv sgmii_mode`. The firmware already has the value 5 by default and it is generally not necessary to change it.
-## Querying a particular OMCI ME
+# Advanced settings
+
+## Disabling dying gasp
+
```sh
-omci_pipe.sh meg MIB_IDX ME_IN
+fw_setenv nDyingGaspEnable 0
```
-Where `MIB_IDX` is the MIB ID and the `ME_IN` is the ME instance number
# Miscellaneous Links
diff --git a/_ont/serial_dump/ma5671a_minishell.txt b/_ont/serial_dump/ma5671a_minishell.txt
new file mode 100644
index 0000000..717dfbe
--- /dev/null
+++ b/_ont/serial_dump/ma5671a_minishell.txt
@@ -0,0 +1,102 @@
+otop
+gtop
+dmesg
+capture_omci_message
+arp
+capture_gtop_log
+get_gtop_log
+passwd
+reboot
+lanpsg
+get_vlanA
+get_vlanB
+show_version.sh
+display_version
+display_log
+mac_learning
+Gtop_Help
+LAN_port_out
+LAN_port_in
+IQM_dump
+GTC_dump
+GPE_arbiter_dump
+Configuration
+GEM_port
+TMU_dump
+TMU_EPT_dump
+TMU_SBOT_dump
+MERGE_dump
+Upstream_flow
+GPE_capability
+GPE_status
+GPE_ipv6_Reduction_hash
+GPE_ACL_LANE0
+GPE_ACL_LANE2
+GPE_VLAN_Start_ID
+GPE_US_GEM_port
+GPE_DS_MC_IPV6
+GPE_FID_assignment
+GPE_L4_filter
+GPE_short_forward_hash
+GPE_short_frd_ipv4_mc
+GPE_short_frd_MAC_mc
+GPE_extended_VLAN
+GPE_VLAN_treatment
+GPE_LAN_port_General
+GPE_LAN_port_Access_Ctr
+GPE_LAN_port_OAM
+GPE_bridge_port
+GPE_LAN_port
+GPE_PCP_decoding
+GPE_PCP_encoding
+GPE_redirection
+GPE_bridge
+GPE_Counter
+OCTRLG_table_dump
+GTC_alarms
+GTC_counters
+Meter
+OCTRLG_dump
+ICTRLG_dump
+FSQM_dump
+EIM_dump
+SSB_dump
+Status
+GPE_info
+Alloc_ID
+TMU_EQT_dump
+TMU_SBIT_dump
+TMU_TBST_dump
+Bridge_port_counter
+Version
+FW_perfmeter
+GPE_exception
+GPE_ipv6_Reduction
+GPE_ACL_LANE1
+GPE_ACL_LANE3
+GPE_DS_GEM_port
+GPE_DS_MC_IPV4
+GPE_tagging_filter
+GPE_FID_hash
+GPE_learning_limitation
+GPE_short_forwardipv4
+GPE_short_forwardMAC
+GPE_VLAN
+GPE_VLAN_rule
+GPE_cop_dump
+GPE_LAN_port_VLAN
+GPE_LAN_port_Trf_Mgmt
+GPE_constants
+GPE_PMapper
+GPE_policer
+GPE_DSCP_decoding
+GPE_DSCP_encoding
+GPE_activity
+GPE_MAC_filter
+GPE_ethertype_exception
+ICTRLG_table_dump
+BWM_trace
+FW_detailed_status
+FW_status
+set
+quit \ No newline at end of file