User Manual and Operating Guide
1.登录到CLI(命令行接口)
2.设置内部接口的IP地址与掩码为27页表格8中所记录的内部IP地址
与掩码。输入:
config system interface
edit internal
set mode static
set ip <address_ip> <netmask>
end
举例
config system interface
edit internal
set mode static
set ip 192.168.120.99 255.255.255.0
end
3. 设置外部接口的IP地址与掩码为27页表格8中所记录的外部IP地址
与掩码。输入:
config system external
edit external
set mode static
set ip <address_ip> <netmask>
end
举例
config system external
edit external
set mode static
set ip 204.28.1.5 255.255.255.0
end
设置外部接口使用DHCP
config system interface
edit external
set mode dhcp
end
设置外部接口使用PPPoE
config system interface
edit external
set mode pppoe
set connection enable
set username <name_str>
set password <psswrd>
end
4.使用相同的方法配置每个FortiGate接口的IP地址。
5.确认输入的地址是正确的。输入:
get system interface
CLI命令行接口列出了每个FortiGate接口的IP地址,掩码,与其他设
置。