Junos OS

 View Only
last person joined: 14 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  BRAS subscribers tag

    Posted 03-14-2024 16:39

    Hello, 

    I trying to find a way to tag "Access-internal" routes of subsribers.

    I looking for some options/radius parameters like "$junos-framed-route-tag. But for the subscribers IP address not for subnets. 

    I want to make a two groups of subscribers (depending of radius server) and  advertising them to BGP with different BGP metric. 

    Is it possible to resolve this? 

    My actual dynamics profile: 

    set dynamic-profiles DHCP-CLIENT version-alias 6
    set dynamic-profiles DHCP-CLIENT predefined-variable-defaults routing-instances PRIVATE
    set dynamic-profiles DHCP-CLIENT routing-instances "$junos-routing-instance" interface "$junos-interface-name"
    set dynamic-profiles DHCP-CLIENT interfaces demux0 no-traps
    set dynamic-profiles DHCP-CLIENT interfaces demux0 unit "$junos-interface-unit" demux-options underlying-interface "$junos-underlying-interface"
    set dynamic-profiles DHCP-CLIENT interfaces demux0 unit "$junos-interface-unit" family inet rpf-check fail-filter rpf-pass-dhcp
    set dynamic-profiles DHCP-CLIENT interfaces demux0 unit "$junos-interface-unit" family inet demux-source $junos-subscriber-ip-address
    set dynamic-profiles DHCP-CLIENT interfaces demux0 unit "$junos-interface-unit" family inet filter input "$junos-input-filter"
    set dynamic-profiles DHCP-CLIENT interfaces demux0 unit "$junos-interface-unit" family inet unnumbered-address "$junos-loopback-interface"
    set dynamic-profiles DHCP-CLIENT interfaces demux0 unit "$junos-interface-unit" family inet6 rpf-check
    set dynamic-profiles DHCP-CLIENT interfaces demux0 unit "$junos-interface-unit" family inet6 filter input "$junos-input-ipv6-filter"
    set dynamic-profiles DHCP-CLIENT interfaces demux0 unit "$junos-interface-unit" family inet6 demux-source $junos-subscriber-ipv6-address
    set dynamic-profiles DHCP-CLIENT interfaces demux0 unit "$junos-interface-unit" family inet6 unnumbered-address "$junos-loopback-interface"
    set dynamic-profiles DHCP-CLIENT protocols router-advertisement interface "$junos-interface-name" max-advertisement-interval 900
    set dynamic-profiles DHCP-CLIENT protocols router-advertisement interface "$junos-interface-name" min-advertisement-interval 300
    set dynamic-profiles DHCP-CLIENT protocols router-advertisement interface "$junos-interface-name" managed-configuration
    set dynamic-profiles DHCP-CLIENT protocols router-advertisement interface "$junos-interface-name" other-stateful-configuration
    set dynamic-profiles DHCP-CLIENT protocols router-advertisement interface "$junos-interface-name" solicit-router-advertisement-unicast
    set dynamic-profiles DHCP-CLIENT class-of-service traffic-control-profiles OUTPUT shaping-rate "$junos-cos-shaping-rate"
    set dynamic-profiles DHCP-CLIENT class-of-service traffic-control-profiles OUTPUT shaping-rate burst-size "$junos-cos-shaping-rate-burst"
    set dynamic-profiles DHCP-CLIENT class-of-service traffic-control-profiles OUTPUT excess-rate percent "$junos-cos-excess-rate"
    set dynamic-profiles DHCP-CLIENT class-of-service interfaces demux0 unit "$junos-interface-unit" output-traffic-control-profile OUTPUT



    ------------------------------
    MARTIN PECKA
    ------------------------------



  • 2.  RE: BRAS subscribers tag

    Posted 03-15-2024 08:57

    Hi Martin,

    According to Standard and Vendor-Specific RADIUS Attributes

    Juniper remove preview
    Standard and Vendor-Specific RADIUS Attributes
    The AAA Service Framework supports RADIUS attributes and vendor-specific attributes (VSAs). This support provides tunable parameters that the subscriber access management feature uses when creating subscribers and services.
    View this on Juniper >

    26-​34

    Framed-​IP-​Route-​Tag. Supported only on JunosE for ERX and E320 platforms.

    Route tag to apply to returned framed-​ip-​address.

    integer: 4-​octet

    No

    Your device is definitely not running JunosE, so this attribute isn't supposed to work.



    ------------------------------
    Kind regards,
    Andrey
    ------------------------------



  • 3.  RE: BRAS subscribers tag

    Posted 03-15-2024 09:10

    Hi Andrey, 

    I know. So i looking for any way to groups subscribers and depend by groups advertising to bgp with different metric. 

    The way i looking for is based by radius. Off cource is possible, if i make a subnet-list with this IP addresses. But will be better with some radius parameter. 



    ------------------------------
    MARTIN PECKA
    ------------------------------



  • 4.  RE: BRAS subscribers tag

    Posted 03-15-2024 11:48

    In this case you probably can place the subscribers that need to be tagged in a virtual-router routing-instance and then leak the routes from the instance to the main table applying rib-group policy. I didn't do it myself, just an idea.

    Kind regards,

    Andrey