Hi guys,
I have a problem because I need to enable the precise access control on a Huawei EG8145V5 and this is the part of the script that should set :
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.AccessControlListEnable", {value: now}, {value: true});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.1.Mode", {value: now}, {value: "0"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.1.Priority", {value: now}, {value: "1"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.1.ServicePort",{value: now}, {value: "TELNET,HTTP,SSH,FTP,ICMP"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.1.SrcIp",{value: now}, {value: "0.0.0.0-0.0.0.0"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.1.SrcPortName",{value: now}, {value: "ALL"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.1.SrcPortType", {value: now}, {value: "2"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.2.Mode", {value: now}, {value: "0"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.2.Priority", {value: now}, {value: "2"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.2.ServicePort",{value: now}, {value: "TELNET,HTTP,SSH,FTP,ICMP"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.2.SrcIp",{value: now}, {value: "1.1.1.1-1.1.1.1"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.2.SrcPortName",{value: now}, {value: "ALL"});
declare("InternetGatewayDevice.X_HW_Security.AclServices.AccessControl.List.2.SrcPortType", {value: now}, {value: "2"});