Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
lk777
New Contributor

Fortiswitch sniffer errors

Fortiswitch 108E Standalone mode

v.7.2.3

 

I am trying

diagnose sniffer packet port1

and keep getting this error message:

pcap_open_live: port1: No such device exists (SIOCGIFHWADDR: No such device) for port1

It works only for the interface 'internal'

    FSW-1 # get switch interface 

    == [ port1 ]

    name: port1    port-security:

    default-cos: 0   nac: disable    

    == [ port2 ]

    name: port2    port-security:

    default-cos: 0   nac: disable    

    == [ port3 ]

    name: port3    port-security:

    default-cos: 0   nac: disable    

    == [ port4 ]

    name: port4    port-security:

    default-cos: 0   nac: disable    

    == [ port5 ]

    name: port5    port-security:

    default-cos: 0   nac: disable    

    == [ port6 ]

    name: port6    port-security:

    default-cos: 0   nac: disable    

    == [ port9 ]

    name: port9    port-security:

    default-cos: 0   nac: disable    

    == [ port10 ]

    name: port10    port-security:

    default-cos: 0   nac: disable    

    == [ internal ]

    name: internal    nac: disable    

    == [ FSW-LAG ]

    name: FSW-LAG    default-cos: 0   nac: disable    

 

What am I doing wrong?

 

1 REPLY 1
lk777
New Contributor

I ran this command:

 

diagnose netlink interface list  

 

and  'port1' is listed in the output as 'port_1'.

 

diagnose sniffer packet port_1

 

works now.

Interface naming is a bit confusing

Labels
Top Kudoed Authors