I am trying to rate limit the PPPoE session on vMX18.1, here is the configuration:
I assigned the policy via following RADIUS AVP:
ERX-Ingress-Policy-Name = 1Mbps,ERX-Egress-Policy-Name = 2Mbps,
The policy is applied to the session successfully:
jcluser@vMX1> show subscribers extensive Type: PPPoEUser Name: 217625test2IP Address: 192.168.120.60IP Netmask: 255.255.255.255Primary DNS Address: 188.8.131.52Secondary DNS Address: 184.108.40.206Logical System: defaultRouting Instance: defaultInterface: pp0.3221225531Interface type: DynamicUnderlying Interface: ge-0/0/0.801Dynamic Profile Name: Virtual-Template1MAC Address: 00:0c:29:0b:ff:59Session Timeout (seconds): 172800State: ActiveRadius Accounting ID: 186Session ID: 186PFE Flow ID: 105VLAN Id: 801Agent Circuit ID: ge-0/0/0:801Login Time: 2020-09-20 06:49:29 UTCService Sessions: 1IP Address Pool: POOL1Accounting interval: 600Dynamic configuration: junos-input-filter: 1Mbpsjunos-output-filter: 2Mbps
Service Session ID: 187Service Session Name: CLASS01State: ActiveFamily: inetService Activation time: 2020-09-20 06:49:29 UTCAccounting interval service: 600
But the subscriber Download rate is not limited.
Is there anything Missing here?
Can you please go through the below document?
Please mark "Accepted Solution" if this helps you solve your query. Kudos are always appreciated.
PPPoE Maximum Session Limit Overview
The maximum session limit for PPPoE subscriber interfaces specifies the maximum number of concurrent static or dynamic PPPoE logical interfaces (sessions) that the router can activate on the PPPoE underlying interface or the maximum number of active static or dynamic PPPoE sessions that the router can establish with particular service entry in a PPPoE service name table.
You can configure the PPPoE maximum session limit in one of two ways:
On a per-interface basis.
(Default) On a per-subscriber basis.
This overview describes the concepts you need to understand to configure the PPPoE maximum session limit, and covers the following topics: