diagnose netlink interface output clarification on standalone fortiswitch
Hello,
I was wondering if anyone could clarify what the different interfaces displayed with the command "diagnose netlink interface list" actually mean when used on a fortiswitch operating in standalone mode.
I did not see the command listed in the official CLI documentation for Fortiswitch running 7.2.7 firmware.
The device I'm testing this on is a Fortiswitch Rugged 112D-PoE running firmware 7.2.8 .
Here's a snippet of the command output,
112D-PoESW1 # diagnose netlink interface list
if=lo family=00 type=772 index=1 mtu=16436 link=0 master=0
flags=up loopback run
if=mux0 family=00 type=1 index=2 mtu=1500 link=0 master=0
flags=broadcast multicast
if=p0 family=00 type=1 index=3 mtu=1500 link=0 master=0
flags=up broadcast run promsic multicast
if=sp1 family=00 type=1 index=4 mtu=1500 link=0 master=0
flags=up broadcast run
if=__port__1 family=00 type=1 index=1001 mtu=1500 link=0 master=0
flags=up broadcast run multicast
if=p1 family=00 type=1 index=5 mtu=1500 link=0 master=0
flags=up broadcast run promsic multicast
if=sp2 family=00 type=1 index=6 mtu=1500 link=0 master=0
flags=up broadcast run
if=__port__2 family=00 type=1 index=1002 mtu=1500 link=0 master=0
flags=broadcast multicast
if=p2 family=00 type=1 index=7 mtu=1500 link=0 master=0
flags=up broadcast run promsic multicast
if=sp3 family=00 type=1 index=8 mtu=1500 link=0 master=0
flags=up broadcast run
if=__port__3 family=00 type=1 index=1003 mtu=1500 link=0 master=0
flags=broadcast multicast
if=p3 family=00 type=1 index=9 mtu=1500 link=0 master=0
flags=up broadcast run promsic multicast
I'm not sure what the difference is between sp1, __port__1, and p1 .
When testing on a fortigate I get an output that makes more sense to me, just a list of each interface on the gate.
Example output,
FortiGate-40F # diagnose netlink interface list
if=lo family=00 type=772 index=1 mtu=16436 link=0 master=0
ref=8 state=present fw_flags=0 flags=loopback
if=dummy0 family=00 type=1 index=2 mtu=1500 link=0 master=0
ref=5 state=present fw_flags=0 flags=broadcast noarp
if=nturbo_rx family=00 type=1 index=3 mtu=1500 link=0 master=0
ref=5 state=present fw_flags=0 flags=up broadcast multicast
if=nturbo_tx family=00 type=1 index=4 mtu=1500 link=0 master=0
ref=5 state=present fw_flags=0 flags=up broadcast multicast
if=wan family=00 type=1 index=5 mtu=1500 link=0 master=0
ref=167 state=start present fw_flags=0 flags=up broadcast run multicast
if=lan1 family=00 type=1 index=6 mtu=1500 link=0 master=0
ref=15 state=start present no_carrier fw_flags=0 flags=up broadcast multicast
if=lan2 family=00 type=1 index=7 mtu=1500 link=0 master=0
ref=219 state=start present fw_flags=0 flags=up broadcast run multicast
if=lan3 family=00 type=1 index=8 mtu=1500 link=0 master=18
ref=14 state=start present fw_flags=0 flags=up broadcast run slave multicast
if=a family=00 type=1 index=9 mtu=1500 link=0 master=18
ref=14 state=start present fw_flags=0 flags=up broadcast run slave multicast
