$onu_interfaces_eth1="eth1_mode={eth1_mode}ð1_nvlan={eth1_nvlan}ð1_ncos={eth1_ncos}ð1_lmac={eth1_lmac}ð1_desc={eth1_desc}ð1_sp={eth1_sp}ð1_gem={eth1_gem}ð1_action={eth1_action}ð1_outvlan={eth1_outvlan}ð1_innervlan={eth1_innervlan}"; $onu_interfaces_eth2="eth2_mode={eth2_mode}ð2_nvlan={eth2_nvlan}ð2_ncos={eth2_ncos}ð2_lmac={eth2_lmac}ð2_desc={eth2_desc}ð2_sp={eth2_sp}ð2_gem={eth2_gem}ð2_action={eth2_action}ð2_outvlan={eth2_outvlan}ð2_innervlan={eth2_innervlan}"; $onu_interfaces_eth3="eth3_mode={eth3_mode}ð3_nvlan={eth3_nvlan}ð3_ncos={eth3_ncos}ð3_lmac={eth3_lmac}ð3_desc={eth3_desc}ð3_sp={eth3_sp}ð3_gem={eth3_gem}ð3_action={eth3_action}ð3_outvlan={eth3_outvlan}ð3_innervlan={eth3_innervlan}"; $onu_interfaces_eth4="eth4_mode={eth4_mode}ð4_nvlan={eth4_nvlan}ð4_ncos={eth4_ncos}ð4_lmac={eth4_lmac}ð4_desc={eth4_desc}ð4_sp={eth4_sp}ð4_gem={eth4_gem}ð4_action={eth4_action}ð4_outvlan={eth4_outvlan}ð4_innervlan={eth4_innervlan}"; /* if($params[$iface."enable"]=="" and $params[$iface."mode"]!=""){ if($params[$iface."mode"]=="Veip"){ $ethx="\n no veip 1"; }else{ $ethx="\n no ethernet ".$i; } }else{ */ /* }else{ $ethx="\n veip 1\n native vlan vlan-id {eth1_nvlan}\n native vlan cos {eth1_ncos}\n !"; } */