пятница, 22 сентября 2017 г.

Как посмотреть статистику по физическим портам на Fortigate

FG300D # fnsysctl ifconfig port5
port5 Link encap:Ethernet  HWaddr 00:09:0F:09:00:08
 UP BROADCAST RUNNING PROMISC ALLMULTI SLAVE MULTICAST  MTU:1500  Metric:1
 RX packets:4376009 errors:0 dropped:0 overruns:0 frame:0
 TX packets:487393 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000 
 RX bytes:2881575345 (2.7 GB)  TX bytes:236369685 (225.4 MB) 
 
 
FG300D5 # fnsysctl ifconfig port6
port6 Link encap:Ethernet  HWaddr 00:09:0F:09:00:08
 UP BROADCAST RUNNING PROMISC ALLMULTI SLAVE MULTICAST  MTU:1500  Metric:1
 RX packets:4519551 errors:0 dropped:4 overruns:0 frame:0
 TX packets:459316 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000 
 RX bytes:1545202854 (1.4 GB)  TX bytes:223487935 (213.1 MB) 

diagnose hardware deviceinfo nic port6
Name            :np6_0
PCI Slot        :0000:01:00.0
irq             :16
Board           :FGT300d
SN              :FGT
Major ID        :5
Minor ID        :0
lif id          :5
lif oid         :135
netdev oid      :135
netdev flags    :1b03
Current_HWaddr   00:09:0f:09:00:08
Permanent_HWaddr 90:6c:ac:f5:86:51
phy name        :port6
bank_id         :1
phy_addr        :0x09
lane            :9
sw_port         :0
sw_np_port      :0
vid_phy[6]      :[0x07][0x00][0x00][0x00][0x00][0x00]
vid_fwd[6]      :[0x00][0x00][0x00][0x00][0x00][0x00]
oid_fwd[6]      :[0x00][0x00][0x00][0x00][0x00][0x00]
========== Link Status ==========
Admin           :up
netdev status   :up
autonego_setting:1
link_setting    :1
link_speed      :1000
link_duplex     :1
Speed           :1000
Duplex          :Full
link_status     :Up
rx_link_status  :1
int_phy_link    :0
local_fault     :0
local_warning   :0
remote_fault    :0
============ Counters ===========
Rx Pkts         :4521749
Rx Bytes        :1545937450
Tx Pkts         :466666
Tx Bytes        :229830999
Host Rx Pkts    :4502578
Host Rx Bytes   :1455559526
Host Rx dropped :0
Host Tx Pkts    :451840
Host Tx Bytes   :224220182
Host Tx dropped :0

Комментариев нет:

Отправить комментарий