[rbak-nsp] How to allow only one session for every subscriber?
Eugene Prokopiev
enp at itx.ru
Tue Jul 2 06:13:26 EDT 2013
2013/7/2 Peter W <lists at pw.de>:
> Am 02.07.2013 11:33, schrieb Eugene Prokopiev:
>>> if all subscriber configured on smart-edge, you can try port-limit in
>>> subscriber-section (saw in configuration, but never tested):
>>>
>>>> [local]bras1(config)#context local
>>>> [local]bras1(config-ctx)#subscriber name the-name-of-subscriber
>>>> [local]bras1(config-sub)#port-limit ?
>>>> 1..255 Max number of sessions user may establish
>>
>> This is already done:
>>
>> context ngn
>> subscriber default
>> port-limit 1
>
> this is not very useful in "subscriber default", I think.
I tried to configure:
subscriber name kvadrikom
port-limit 1
session-limit agent-circuit-id 1
session-limit agent-remote-id 1
Result was the same.
>
>>> We used a limit based on agent-circuit-id:
>>>
>>>> [local]bras1(config)#context local
>>>> [local]bras1(config-ctx)#subscriber default
>>>> [local]bras1(config-sub)#session-limit ?
>>>> agent-circuit-id limit by agent-circuit-id
>>>> agent-remote-id limit by agent-remote-id
>>
>> I have the same issue with session-limit agent-remote-id 1 and
>> session-limit agent-circuit-id 1
>
> is the agent-circuit-id transmitted to your smartedge? you can see this
> attribute with "show access-line".
Yes, I see something like:
#show access-line
"h5300-ats32-2_2 atm 0/0/0/42:0.36"
"h5600-ats22-2_2 atm 0/2/0/20:0.36"
"h5300-ats52-2_2 atm 0/1/0/22:0.36"
--
WBR,
Eugene Prokopiev
More information about the redback-nsp
mailing list