huawei
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| huawei [2026/01/19 12:12] – protocol | huawei [2026/02/06 09:35] (current) – [PON name] protocol | ||
|---|---|---|---|
| Line 98: | Line 98: | ||
| cut -d "/" | 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.1768835557.txt.gz · Last modified: by protocol
