查看完整版本: [轉貼]改变接口模式提示“数据被占用”的解决办法

chun 2012-7-8 21:30

[轉貼]改变接口模式提示“数据被占用”的解决办法

<a href="http://support.fortinet.com.cn/document/doc11010703.html">http://support.fortinet.com.cn/document/doc11010703.html</a>
<div><h1 id="doc_title" style="font-size: 14px; color: rgb(68, 80, 85); font-family: Arial; line-height: 18px; text-align: -webkit-auto; ">改变接口模式提示“数据被占用”的解决办法</h1><p style="color: rgb(68, 80, 85); font-family: Arial; font-size: 12px; line-height: 18px; text-align: -webkit-auto; "><strong>描述:</strong><br>该信息出现在改变FortiGate接口模式时,如果有数据占用,将无法进行模式变更&nbsp;<br>FGT60B # config system global<br>FGT60B (global) # set internal-switch-mode interface<br>FGT60B (global) # end</p><table border="1" cellspacing="0" cellpadding="0" width="100%" style="color: rgb(68, 80, 85); font-family: Arial; font-size: 12px; line-height: 18px; "><tbody><tr><td valign="top"><br>Changing switch mode will reboot the system!<br>Do you want to continue? (y/n)y<br><br>Interface internal is in use<br>attribute set operator error, -23, discard the setting<br>Command fail. Return code -23</td></tr></tbody></table><p style="color: rgb(68, 80, 85); font-family: Arial; font-size: 12px; line-height: 18px; text-align: -webkit-auto; ">Web页面中更改的话会提示数据被占用&nbsp;<br><strong>解决办法:</strong><br>出现这种情况主要由于internal的接口在其他配置中(DHCP,策略配置等等)<br>我们可以通过"diagnose sys checkused "来查看internal接口被哪些配置使用<br><br>FGT60B # diagnose sys checkused system.interface.name internal</p><table border="1" cellspacing="0" cellpadding="0" width="100%" style="color: rgb(68, 80, 85); font-family: Arial; font-size: 12px; line-height: 18px; "><tbody><tr><td valign="top"><br>entry used by table system.dhcp.server:name 'internal_dhcp_server'<br>entry used by table firewall.policy:policyid '1'<br>entry used by table router.static:seq-num '1'</td></tr></tbody></table><p style="color: rgb(68, 80, 85); font-family: Arial; font-size: 12px; line-height: 18px; text-align: -webkit-auto; ">根据上面的输出信息我们可以知道internal数据被以下配置占用</p><table border="1" cellspacing="0" cellpadding="0" width="87%" style="color: rgb(68, 80, 85); font-family: Arial; font-size: 12px; line-height: 18px; "><tbody><tr><td width="46%" valign="top"><p align="center">Message</p></td><td width="53%" valign="top"><p align="center">Description</p></td></tr><tr><td width="46%" valign="top"><p align="left">entry used by table system.dhcp.server:name 'internal_dhcp_server'</p></td><td width="53%" valign="top"><p align="left">DHCP 占用</p></td></tr><tr><td width="46%" valign="top"><p align="left">entry used by table firewall.policy:policyid '1'</p></td><td width="53%" valign="top"><p align="left">Policy id 1 占用</p></td></tr><tr><td width="46%" valign="top"><p align="left">entry used by table router.static:seq-num '1'</p></td><td width="53%" valign="top"><p align="left">静态路由 占用</p></td></tr></tbody></table><p style="color: rgb(68, 80, 85); font-family: Arial; font-size: 12px; line-height: 18px; text-align: -webkit-auto; ">在我们删除这些占用数据后方可变更接口模式</p></div>
頁: [1]
查看完整版本: [轉貼]改变接口模式提示“数据被占用”的解决办法