Пользователи подключаются, но с шейпингом что-то не так.
Создан обычный тариф из двух услуг. Коммутируемый доступ и передача трафика. В коммутируемом доступе прописаны RADIUS атрибуты вида:
QU;20000000;25000000;D;50000000;75000000. Vendor ID 9, ID атрибута 250. По инструкции с https://www.cisco.com/c/en/us/td/docs/i ... caapa.html и https://www.cisco.com/c/en/us/td/docs/i ... 2502062619.
Как итог получаем нормальную нарезку входящей, но исходящая еле-еле выдаёт 10 мб/сек.
Ниже куски конфига Cisco.
Код: Выделить всё
class-map type traffic match-any Internet
match access-group output name Inet-out
match access-group input name Inet-in
!
policy-map type service Internet
class type traffic Internet
accounting aaa list PPPoE_AUTH_METHOD
!
class type traffic default in-out
drop
!
!
policy-map type control PPPoE_AUTH_METHOD
class type control always event session-start
5 authorize aaa list PPPoE_AUTH_METHOD identifier authenticated-username
!
!
!
bba-group pppoe global
virtual-template 1
sessions max limit 10000
ac name ASR-BRS-01
sessions per-mac limit 5
!
interface Virtual-Template1
ip unnumbered Loopback100
ppp authentication pap chap PPPoE_AUTH_METHOD
ppp authorization PPPoE_AUTH_METHOD
ppp accounting PPPoE_AUTH_METHOD
ppp ipcp dns 195.18.23.23 8.8.8.8
!
Код: Выделить всё
ASR-BRS-01#show subscriber session username asrtest detailed
Type: PPPoE, UID: 195, State: authen, Identity: asrtest
IPv4 Address: 188.191.192.251
Session Up-time: 00:00:05, Last Changed: 00:00:05
Interface: Virtual-Access1.1
Switch-ID: 4611
Policy information:
Context 7F21BF8C3100: Handle 420000C3
AAA_id 000007C2: Flow_handle 0
Authentication status: authen
Downloaded User profile, excluding services:
service-type 0 2 [Framed]
Framed-Protocol 0 1 [PPP]
addr 0 188.191.192.251
netmask 0 255.255.255.255
timeout 0 86400 (0x15180)
ssg-account-info 0 "QU;25000000;37500000;D;50000000;75000000"
Downloaded User profile, including services:
service-type 0 2 [Framed]
Framed-Protocol 0 1 [PPP]
addr 0 188.191.192.251
netmask 0 255.255.255.255
timeout 0 86400 (0x15180)
ssg-account-info 0 "QU;25000000;37500000;D;50000000;75000000"
Config history for session (recent to oldest):
Access-type: PPP Client: SM
Policy event: Process Config Connecting
Profile name: apply-config-only, 2 references
service-type 0 2 [Framed]
Framed-Protocol 0 1 [PPP]
addr 0 188.191.192.251
netmask 0 255.255.255.255
timeout 0 86400 (0x15180)
ssg-account-info 0 "QU;25000000;37500000;D;50000000;75000000"
Classifiers:
Class-id Dir Packets Bytes Pri. Definition
0 In 2 656 0 Match Any
1 Out 0 0 0 Match Any
Features:
IP Config:
M=Mandatory, T=Tag, Mp=Mandatory pool
Flags Peer IP Address Pool Name Interface
188.191.192.251 [None] [None]
:: [None] [None]
Absolute Timeout:
Class-id Timeout Value Time Remaining Source
0 86400 23:59:55 Peruser
Policing:
Class-id Dir Avg. Rate Normal Burst Excess Burst Source
0 In 25000000 37500000 0 Peruser
1 Out 50000000 75000000 0 Peruser
Configuration Sources:
Type Active Time AAA Service ID Name
USR 00:00:05 - Peruser
INT 00:00:05 - Virtual-Template1