{
    "name"  : "检查拨号口是否被shutdown",
    "problems" : {
        "copper" : {
            "desc"      : "【问题】拨号口被shutdown",
            "advice"    : "【建议】在对应的拨号口上执行no shutdown" 
        }
    }
}
---------------------------code-------------------------------
dailPort = precondition('dailPort')
cmd = 'show ip interface brief | inc ' + dailPort
response = cli(cmd)
print response
response = response.split(/\r?\n/)
i = 1
while i < response.length : 
	res = response[i]
	res = res.trim()
	res = res.split(/\s\s\s+/)
	print res 
	if res.length > 3 :
		num = res[3]
		print num
		if num.indexOf("administratively down") != -1:
			add_problem('copper')
			return 'warn'
		end
	end
	i = i + 1
end
return 'success'