Community discussions

 
User avatar
amt
Long time Member
Long time Member
Topic Author
Posts: 526
Joined: Fri Jan 16, 2015 2:05 pm

List Active PPP with ip address(where mtu 1480)

Tue Apr 16, 2019 4:43 pm

Hello all,
is there any method to print active ppp users with their ip ? but I would like to print only mtu 1480.
I tested belows but no chance
interface print where mtu=1480
No Ip listed
interface pppoe-server print where mtu=1480
no ip listed.

Thanks for all help
 
User avatar
amt
Long time Member
Long time Member
Topic Author
Posts: 526
Joined: Fri Jan 16, 2015 2:05 pm

Re: List Active PPP with ip address(where mtu 1480)

Thu Apr 18, 2019 10:25 pm

any idea ?
 
McSee
Frequent Visitor
Frequent Visitor
Posts: 67
Joined: Tue Feb 26, 2019 12:49 pm

Re: List Active PPP with ip address(where mtu 1480)  [SOLVED]

Fri Apr 19, 2019 2:11 am

Something like this ?
:foreach i in=[/interface find actual-mtu=1480 running] do={/ip address print where interface=[/interface get value-name=name $i]}
 
User avatar
amt
Long time Member
Long time Member
Topic Author
Posts: 526
Joined: Fri Jan 16, 2015 2:05 pm

Re: List Active PPP with ip address(where mtu 1480)

Fri Apr 19, 2019 3:40 pm

Something like this ?
:foreach i in=[/interface find actual-mtu=1480 running] do={/ip address print where interface=[/interface get value-name=name $i]}
Yes thats solves my problem... Really Thanks...

Who is online

Users browsing this forum: No registered users and 108 guests