Skip to main content
FJGR
New Member
March 22, 2016
Question

Looking for a CLI to interface stats, speed and duplex for virtual-switch

  • March 22, 2016
  • 1 reply
  • 81627 views

I manage many devices 100D and 200D fortigate, they are configured as virtual-switch.

In the FG-200D to view information about the virtual-switch LAN interface I use the 'get hardware nic lan' command (speed, duplex, stats...). However, in the 100D that command does not show the same information, speed, negotiation, statistics does not appear ... I need to know that information in 100D Does anyone know the cli command to see that info?

 

Thanks

 

 

    1 reply

    Toshi_Esumi
    SuperUser
    SuperUser
    March 22, 2016

    What do you get if you just hit <Enter> after "get hard nic"? It would show you available interface to show.

    FJGR
    FJGRAuthor
    New Member
    March 22, 2016

    If I just hit 'enter' after "get hard nic", it shows me available interface, of course, eg: wan1, wan2, dmz1, lan, port1, port2,port3......

     

    But, if I use "get hard nic port1" (because my LAN it's connected to port1) , answer me this message:

     

    The interface port1 is not an independent interface. Command fail. Return code -27

     

    This is because it is configured as virtual-switch ....

    Toshi_Esumi
    SuperUser
    SuperUser
    March 22, 2016

    Do you get any error message when you tried "get hard nic lan"?