IP Mode Page to configure this page." end if ( ButtonType and ButtonType == "edit") then -- if not allowed to edit if (ACCESS_LEVEL ~= 0) then NextPage = "routing" statusMessage = db.getAttribute("stringsMap", "stringId", "ADMIN_REQD", LANGUAGE) else configRowId = RowId end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "add") then configRowId = "-1" if(cgi["hdCount"] ~= nil) then local hdCount = cgi["hdCount"] if(tonumber(hdCount) >= 128) then statusMessage = "Can't add configuration to this table. Maximum limit reached." NextPage = "static_routing_Ipv6" end end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "delete") then local field, splitted, rows = web.cgiSearch(cgi, "route6") -- if any rows to delete if (rows) then errorFlag, statusMessage = iproute.deleteIpv6Route(rows) end -- save db if no error if (errorFlag == "OK") then db.save() end web.goToPage(NextPage, true, true) else ?> $|COMPANY_NAME|$ $|PRODUCT_FAMILY|$ - Routing
 
Static Routing
 
IPv6
IPv4
 
 
$| statusMessage|$
List of IPv6 Static Routes
32) then route6RouteName = row["route6.routeName"] row["route6.routeName"] = string.sub(row["route6.routeName"],1,32) .. "..." end ?>
  Name Destination Gateway Interface Metric Active Action
$| row["route6.routeName"] or '' |$ $| row["route6.dstIpAddr"] .. " / " .. row["route6.prefix"] |$ $| row["route6.gwIpAddr"] or '' |$ $| row["route6.interfaceName"] or '' |$ $| row["route6.metric"] or '' |$ $| active or '' |$