發新話題
打印

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

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

http://support.fortinet.com.cn/document/doc11010703.html

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

描述:
该信息出现在改变FortiGate接口模式时,如果有数据占用,将无法进行模式变更 
FGT60B # config system global
FGT60B (global) # set internal-switch-mode interface
FGT60B (global) # end


Changing switch mode will reboot the system!
Do you want to continue? (y/n)y

Interface internal is in use
attribute set operator error, -23, discard the setting
Command fail. Return code -23

Web页面中更改的话会提示数据被占用 
解决办法:
出现这种情况主要由于internal的接口在其他配置中(DHCP,策略配置等等)
我们可以通过"diagnose sys checkused "来查看internal接口被哪些配置使用

FGT60B # diagnose sys checkused system.interface.name internal


entry used by table system.dhcp.server:name 'internal_dhcp_server'
entry used by table firewall.policy:policyid '1'
entry used by table router.static:seq-num '1'

根据上面的输出信息我们可以知道internal数据被以下配置占用

Message

Description

entry used by table system.dhcp.server:name 'internal_dhcp_server'

DHCP 占用

entry used by table firewall.policy:policyid '1'

Policy id 1 占用

entry used by table router.static:seq-num '1'

静态路由 占用

在我们删除这些占用数据后方可变更接口模式

TOP

發新話題