[rbak-nsp] How to allow only one session for every, subscriber?
"Kuba" Dawid Chrzan
dawid.chrzan at pszczyna.net.pl
Tue Jul 2 17:40:34 EDT 2013
redback-nsp-request at puck.nether.net wrote:
> Message: 5
> Date: Tue, 2 Jul 2013 14:13:26 +0400
> From: Eugene Prokopiev<enp at itx.ru>
> To: Peter W<lists at pw.de>
> Cc:redback-nsp at puck.nether.net
> Subject: Re: [rbak-nsp] How to allow only one session for every
> subscriber?
> Message-ID:
> <CANM4Ruj0WTngERT2XHaps2TG3hmzS_1UOJqP8yy9wTPFciJCmA at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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"
>
Hi
port-limit 1
session-limit agent-remote-id 1
works for me.
--
Pozdrawiam
"Kuba" Dawid Chrzan
More information about the redback-nsp
mailing list