huawei
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| huawei [2025/11/15 02:52] – protocol | huawei [2026/02/06 09:35] (current) – [PON name] protocol | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | mass remove | + | ===== Provision ONU/ONT ===== |
| + | |||
| + | Connect through telnet or ssh: | ||
| + | |||
| + | Resumed: | ||
| + | < | ||
| + | enable | ||
| + | config | ||
| + | interface gpon 0/1 | ||
| + | ont add 15 sn-auth PRKS-00C18136 omci ont-lineprofile-id 120 ont-srvprofile-id 120 | ||
| + | ont port native-vlan 15 8 eth 1 vlan 120 priority 0 | ||
| + | quit | ||
| + | service-port vlan 120 gpon 0/1/15 ont 8 gemport 0 multi-service user-vlan 120 tag-transform | ||
| + | quit | ||
| + | save | ||
| + | </ | ||
| + | |||
| + | Detailed: | ||
| + | < | ||
| + | MA5800-X2> | ||
| + | MA5800-X2# | ||
| + | MA5800-X2(config)# | ||
| + | { < | ||
| + | |||
| + | Command: | ||
| + | display ont autofind all | ||
| + | | ||
| + | | ||
| + | | ||
| + | Ont SN : 50524B5300C18136 (PRKS-00C18136) | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Ont Version | ||
| + | Ont SoftwareVersion : SFUV1.1.8 | ||
| + | Ont EquipmentID | ||
| + | Ont Customized Info : - | ||
| + | Ont MAC : - | ||
| + | Ont Equipment SN : - | ||
| + | Ont autofind time : 2026-01-18 11: | ||
| + | Multi channel | ||
| + | | ||
| + | |||
| + | MA5800-X2(config)# | ||
| + | MA5800-X2(config-if-gpon-0/ | ||
| + | { < | ||
| + | |||
| + | Command: | ||
| + | ont add 15 sn-auth PRKS-00C18136 omci ont-lineprofile-id 120 ont-srvprofile-id 120 | ||
| + | Number of ONTs that can be added: 1, success: 1 | ||
| + | PortID :15, ONTID :8 | ||
| + | |||
| + | MA5800-X2(config-if-gpon-0/ | ||
| + | { < | ||
| + | |||
| + | Command: | ||
| + | ont port native-vlan 15 8 eth 1 vlan 120 priority 0 | ||
| + | |||
| + | |||
| + | MA5800-X2(config-if-gpon-0/ | ||
| + | MA5800-X2(config)# | ||
| + | MA5800-X2(config)# | ||
| + | MA5800-X2# | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | ===== Mass remove | ||
| < | < | ||
| Line 8: | Line 77: | ||
| </ | </ | ||
| - | mass add from cdata | + | ===== Mass add from cdata ===== |
| < | < | ||
| Line 21: | Line 90: | ||
| </ | </ | ||
| - | mass add from chima through SGP | + | ===== Mass add from chima through SGP ===== |
| < | < | ||
| sed -e ' | sed -e ' | ||
| + | or | ||
| + | |||
| + | cut -d "/" | ||
| + | </ | ||
| + | |||
| + | ===== Mass add from Parks ===== | ||
| + | < | ||
| + | |||
| + | grep -A1 bridge pon0 | grep alias | cut -d " " -f 3,5 | ||
| + | while IFS=' ' read -r serial pppoe; do echo -ne "ont add 0 sn-auth \" | ||
| + | for i in $(seq 0 12); do echo -e "ont port native-vlan 0 $i eth 1 vlan 10 priority 0\n"; | ||
| + | for i in $(seq 0 12); do echo -e " | ||
| + | |||
| + | grep -B3 router | grep alias | cut -d " " -f 3,5 > p0r | ||
| + | while IFS=' ' read -r serial pppoe; do echo -ne "ont add 0 sn-auth \" | ||
| + | for i in $(seq 13 57); do echo -e " service-port vlan 120 gpon 0/1/0 ont $i gemport 0 multi-service user-vlan 120 tag-transform translate\n"; | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== PON name ===== | ||
| + | < | ||
| + | Comment on PON: | ||
| + | config | ||
| + | port desc 0/1/0 description " | ||
| + | quit | ||
| + | save | ||
| + | |||
| + | Show unprovisioned: | ||
| + | display ont info summary 0/1/0 | ||
| + | |||
| + | SNMP: | ||
| + | snmp-agent community read cipher | ||
| </ | </ | ||
huawei.1763185944.txt.gz · Last modified: by protocol
