Junos OS

Expand all | Collapse all

Subscriber Service configuration BNG MX

Jump to Best Answer
  • 1.  Subscriber Service configuration BNG MX

    Posted 09-15-2020 03:59

    Hi

    I want to define different Services for PPPoE subscribers on MX, I could find the required actions on RADIUS side but I could not find the procedure for configuring the services on the MX ?

    How should I configure the service on MX and then assign it to subscriber session via RADIUS?

    Thank you

    Alireza



  • 2.  RE: Subscriber Service configuration BNG MX
    Best Answer

     
    Posted 09-15-2020 05:00

    Hello Alireza,

     

    Dynamic profile should be defined in order to be used as a service profile.

    For example:

    user@ERX-MX960-RE0# show dynamic-profiles test
    variables {
        filter;
        prec;
    }
    interfaces {
        demux0 {
            unit "$junos-underlying-interface-unit" {
                family inet {
                    filter {
                        input "$filter" precedence "$prec";
                        output "$filter" precedence "$prec";
                    }
                }
            }
        }
    }

    Firewall filter configuration can either be included in the same dynamic profile, or configured on the router as interface-specific firewall filter.

    [root@JTAC-ERX-LINUX-3 ~]# radclient -x -s 10.219.35.196:3799 coa secret -f coa -d /usr/share/freeradius
    Sending CoA-Request of id 176 to 10.219.35.196 port 3799
            Acct-Session-Id := "5"
            ERX-Service-Activate:1 := "test(12M,60)"
    rad_recv: CoA-ACK packet from host 10.219.35.196 port 3799, id=176, length=20
    
               Total approved auths:  1
                 Total denied auths:  0
                   Total lost auths:  0

     

    Best regards,

    Sergii

    -------------------------------------------------------------------

    Please accept the solution if your problem is resolved Smiley Happy

    -------------------------------------------------------------------



  • 3.  RE: Subscriber Service configuration BNG MX

     
    Posted 09-15-2020 23:52

    Hi,

     

    You can also find many examples in Broadband Subscriber Services User Guide.

    Hope this helps.

     

    Best regards,

    Sergii

    -------------------------------------------------------------------

    Please accept the solution if your problem is resolved Smiley Happy

    -------------------------------------------------------------------