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

PPPoE up time

Hello,

how can I see the up-time of a PPPoE connection? I can't find it, neither in the GUI nor with the CLI. Fortios knows this, doesn't it?

 

Thanks!

Ueli

3 REPLIES 3
Toshi_Esumi
SuperUser
SuperUser

I don't think FortiOS is counting timer for UP or DOWN on any interfaces. Only way to know interface's uptime, I think, is to look back the last UP event log and calculate the time from the event to now.

 

FGTxxxxxxx# diag netlink interface list ppp1 if=ppp1 family=00 type=512 index=28 mtu=1492 link=18 master=0 ref=160 state=off start fw_flags=0 flags=up p2p run noarp multicast Qdisc=pfifo_fast stat: rxp=3574745 txp=3089370 rxb=2782323847 txb=376832898 rxe=0 txe=0 rxd=0 txd=0 mc=0 collision=0 re: rxl=0 rxo=0 rxc=0 rxf=0 rxfi=0 rxm=0 te: txa=0 txc=0 txfi=0 txh=0 txw=0 misc rxc=0 txc=0 input_type=0 state=3 arp_entry=0 refcnt=160 FGTxxxxxxx # fnsysctl ifconfig ppp1 ppp1    Link encap:Point-Point Protocol         inet addr:xxx.xxx.xxx.xxx  Mask:255.255.255.255         UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1         RX packets:3579552 errors:0 dropped:0 overruns:0 frame:0         TX packets:3094612 errors:0 dropped:0 overruns:0 carrier:0         collisions:0 txqueuelen:3         RX bytes:2784935464 (2.6 GB)  TX bytes:377314395 (359.8 MB)

ede_pfau

Two thoughts:

1- have you checked the SNMP MIB?

2- if you attach a DynDNS hostname to the PPPoE port, you could check the date of the last change with the DynDNS provider (that's the way I do it as nearly all our PPPoE lines are forcibly reconnected once per day).

Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
fernet17

Hello,

thanks a lot for your creative input!

I'd have expected that the Fortios knows the PPPoE connection time.

 

Regards

Ueli

 

 

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors