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

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

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

 

 

    5 replies

    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"?

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT