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

ASR9K Open Garden and Redirection

prague
Level 1
Level 1

Hello everybody,

I want to activate the service for http redirect while authenticating the PPPoE user that I have terminated on my ASR9K router. What should be the configuration on the ASR9K side?

2 Replies 2

tkarnani
Cisco Employee
Cisco Employee

Our principle engineer for BNG made a video for this you can check the configuration there

https://www.youtube.com/watch?v=Z_Hw9i_TcGY

Thanks ..  i  prepared configuration  below , but i don't want to activate for all subscribers, i need activate from radius for specific subscribers. How can i do that?

ipv4 access-list allow-acl
10 permit tcp any 172.16.254.0/26 eq www
40 permit udp any 172.16.254.0/26 eq domain
!


ipv4 access-list redirect-acl
10 permit tcp any any eq www syn
20 permit tcp any any eq www ack
30 permit tcp any any eq www
!


class-map type traffic match-any open-garden-class
match access-group ipv4 allow-acl
end-class-map

class-map type traffic match-any http-redirect-class
match access-group ipv4 redirect-acl
end-class-map
!

policy-map type pbr httpr-redirect-policy
class type traffic open-garden-class
transmit
!
class type traffic http-redirect-class
http-redirect 200:http://172.16.254.2:8081/index_expired_subscriber.php
!
class type traffic class-default
!
end-policy-map