JunosE 11.3.x Broadband Access Configuration Guide
Sample RADIUS
Attributes
Sample CLI Command
686
!parameterizes server address and port
<# http(serverIp, serverPort) #>
<# serviceTag := "http-" #>
<# uid := app.servicemanager.getUniqueId #>
<# genericName := "SM-X-" $ serviceTag $ uid #>
<# genericInputName := "SM-I-" $ serviceTag $ uid #>
<# genericOutputName := "SM-O-" $ serviceTag $ uid #>
<# claclName := genericName #>
<# profileName := genericName #>
<# inputPolicyName := genericInputName #>
<# inputRateLimitName := genericInputName #>
<# outputPolicyName := genericOutputName #>
<# outputRateLimitName := genericOutputName #>
<# exceptionClaclName := "exceptionClaclPort" $ serverPort #>
<# serverClaclName := "serverClaclIp" $ serverIp #>
<# redirectUrlName := "http://" $ serverIp $ ":" $ serverPort #>
configure terminal
classifier-list <# serverClaclName #> ip any host <# serverIp; '\n' #>
classifier-list <# exceptionClaclName #> tcp any any eq <# serverPort; '\n' #>
ip policy-list <# inputPolicyName; '\n' #>
classifier-group <# serverClaclName; '\n' #>
forward
classifier-group <# exceptionClaclName; '\n' #>
exception http-redirect
classifier-group *
filter
profile <# profileName #>
ip http redirectUrl <# redirectUrlName; '\n' #>
ip policy input <# inputPolicyName #> statistics enabled merge
<# env.setResult("activate-profile", "" $ profileName) #>
<# endtmpl #>
RADIUS Attribute
username
activate-service
host1(config)#service-management subscriber-session client5@isp1.com interface atm
5/0.1 service-session " http(192.168.25.2, 80)"
Using CoA Messages with Guided Entrance Services
Typically, a guided entrance service directs a subscriber to a Web site, where the subscriber
can select from a group of available services. When the subscriber selects a new service
to use, Service Manager uses a RADIUS CoA message to activate the new service—you
Tag
Value
none
client5@isp1.com
1
http(192.168.25.2, 80)
Copyright © 2010, Juniper Networks, Inc.
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - BROADBAND ACCESS CONFIGURATION GUIDE 2010-10-12 and is the answer not in the manual?