cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
260
Views
0
Helpful
0
Replies

BNG HTTP Redirect with Subscriber info

hesam
Level 1
Level 1

Hi all,

I am trying to get the BNG node ( ASR 9902 XR 7.9.21) to populate the subscriber info when the http is being redirected to a Web portal.
The http redirect works fine but the BNG node does not appent the actual subscriber info ( IP-Address, Username, BNG Interface) in the http header.

The redirect is being done dynamically via Radius Service-Activation "HTTP_REDIRECT".

What is the correct way of constructing the URL with the subscriber information? Anyone got this working. What is the correct way of doing this?

Any help is appreciated!

The debug output for PBR from the BNG node states that "pbr_ma[326]: HTTPR feature is enabled without subscriber info"

Radius user:

000c.297b.b322 Cleartext-Password := "NotCisco1234"
Service-Type = Framed-User,
Cisco-AVPair += "subscriber:sa=HTTP_REDIRECT",
Cisco-AVPair += "parsed-user-name"

 

This is the configuration for the PBR:

policy-map type pbr BNG_PBR
class type traffic WEB_PORTAL
transmit
!
class type traffic TRAFFIC_REDIRECT
http-redirect http://10.0.222.10/bng.html?u=username&uip=user-ip-address&source=BNG
!
class type traffic class-default
drop
!
end-policy-map

 

###

Cisco Documentation:

Cisco AVP for HTTP Redirect URL with Subscriber Information
A new Cisco Attribute-Value-Pair (AVP) named, parsed-user-name, is introduced in order to enable this feature.
This AVP must be sent by the AAA server as part of the user profile in an Access-Accept message to BNG.
The presence of this AVP in the Access-Accept message indicates whether the redirect URL to be send out from BNG must append the subscriber's username, subscriber's IP address and
the BNG source-identifier or not.

Extension Format for Redirect URL
The redirect URL with subscriber information uses this format:

<portal address>/index.php?u=<username>&uip=<user-ip-address>&source=<BNG source-identifier>

Here, portal address is the domain name or IP address of the redirect web server.u denotes the username,uip denotes the IP address of subscriber and source denotes the BNG source-identifier.

###

0 Replies 0