故障说明:使用smit route 删除一条静态路由报错,报错内容如下:
Method error (/usr/lib/methods/chginet): 0514-009 Cannot delete an object from the device configuration database. 0821-216 chginet: Cannot delete route (net,200.200.200.0,127.0.0.2) from CuAt.
后来上网查了下,是因为通过route add -net 添加的路由,没有存放在ODM库是,因此无法通过smit rmroute来进行删除。而只能通过route delete 命令来删除。
删除命令:
route delete -net x.x.x.x(地址或地址段) y.y.y.y(网关)
转载于:https://blog.51cto.com/168ok8/1226252