在FortiSwitch Cli Console命令模式下執行以下指令
#diag switch mac-address list | grep -i port
進入Fortigate CLI,執行以下命令
$ get system arp | grep vlan名稱
$ get system arp | grep "LAN"
$ diagnose ip arp list | grep vlan名稱
顯示fortiswitch在某個port的所有網卡
$ diag switch mac-address list | grep port4(
顯示所有IP與MAC暫存
#diagnose switch-controller mac-cache show
顯示每一個FortiSwitch的代碼、IP與名稱
$execute switch-controller get-conn-status
找出所有有作用的路由表
$get router info routing-table all
測試到某個IP的路由
get router info routing-table details <目的地IP>