Jump to content
Калькуляторы

CISCO ASR1001-X и LANBILLING есть кто использует такую связку?

Добрый день форумчане. Есть ли кто использует связку Cisco 1001-X и lanbilling? 

Edited by nolimit

Share this post


Link to post
Share on other sites

Я использую.

Авторизация по src-ip l3. Только вместо их LBucd использую freeradius.

Share this post


Link to post
Share on other sites

1 час назад, _J_ сказал:

Я использую.

Авторизация по src-ip l3. Только вместо их LBucd использую freeradius.

А PPPoE никогда на нем не поднимали?

 

Share this post


Link to post
Share on other sites

PPPoE нет, l2tp было настраивал в связке с LBarcd. Всё взлетело сразу.

PPPoE должен также влёгкую подняться.

Share this post


Link to post
Share on other sites

Поднимал, работает, но тоже вместо lbarcd использую freeradius =)

Share this post


Link to post
Share on other sites

18 hours ago, nolimit said:

А PPPoE никогда на нем не поднимали?

 

у меня работает

Share this post


Link to post
Share on other sites

В работе связка Cisco 7204 и lanbilling (pppoe)

Share this post


Link to post
Share on other sites

7 часов назад, ShyLion сказал:

у меня работает

а можете дать посмотреть конфиг? 

 

2 часа назад, Andrei сказал:

В работе связка Cisco 7204 и lanbilling (pppoe)

Если не сложно можно конфиг посмотреть?

Share this post


Link to post
Share on other sites

Отправил в личку

Share this post


Link to post
Share on other sites

Только что, Andrei сказал:

Отправил в личку

спасибо

Share this post


Link to post
Share on other sites

Привет , 

Интересует скрипт для связки LB+ASR1002X для гасива сессий PPPOE . СоА так и не заработал в связке .

 

Share this post


Link to post
Share on other sites

у меня вот такое работает для asr-1002

#!/bin/sh
# Input args: Session ID, login, assigned IP, NAS IP
SNMPWALK=`which snmpwalk`
SNMPSET=`which snmpset`
COMMUNITY="xxxxxxxxxxxxxxxxxxxxx"
NAS="$4"
USER_IP="$3"
LOGFILENAME="/usr/local/billing/log/cisco_pptp_stop.log"

date >> $LOGFILENAME

echo "NAS - CISCO" >> $LOGFILENAME
test -z "$USER_IP" && exit 1
# for Cisco 7204VXR
# INT_NUM=`$SNMPWALK -On -v 1 -c $COMMUNITY $NAS .1.3.6.1.2.1.4.21.1.2.$USER_IP | awk '{print $4}'`
# for Cisco ASR-1002
INT_NUM=`$SNMPWALK -On -v 1 -c $COMMUNITY $NAS .1.3.6.1.2.1.4.24.4.1.5.$USER_IP.255.255.255.255.0.0.0.0.0 | awk '{print $4}'`
echo "$*" >> $LOGFILENAME
test -z "$INT_NUM" && exit 1
$SNMPSET -v 1 -c $COMMUNITY $NAS .1.3.6.1.2.1.2.2.1.7.$INT_NUM i 2 >/dev/null 2>&1
echo "=== successfully ===" >> $LOGFILENAME
exit 0

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now