forum.bitel.ru http://forum.bitel.ru/ |
|
[7.0] radius.macAddress.vendor http://forum.bitel.ru/viewtopic.php?f=44&t=11610 |
Страница 1 из 1 |
Автор: | Phricker [ 19 май 2016, 13:44 ] |
Заголовок сообщения: | [7.0] radius.macAddress.vendor |
Доброго дня. Указал в конфиге устройства Код: # Вендор атрибута, где хранится MAC-адрес radius.macAddress.vendor=4874 # Код атрибута, где хранится MAC-адрес radius.macAddress.type=56 Добавил в dictionary.xml Код: <vendor code="4874" name="ERX"> <attribute name="ERX-Virtual-Router-Name" type="string" code="1"/> <attribute name="ERX-Address-Pool-Name" type="string" code="2"/> <attribute name="ERX-Local-Loopback-Interface" type="string" code="3"/> <attribute name="ERX-Primary-Dns" type="ipaddr" code="4"/> <attribute name="ERX-Secondary-Dns" type="ipaddr" code="5"/> <attribute name="ERX-Primary-Wins" type="ipaddr" code="6"/> <attribute name="ERX-Secondary-Wins" type="ipaddr" code="7"/> <attribute name="ERX-Tunnel-Virtual-Router" type="string" code="8"/> <attribute name="ERX-Tunnel-Password" type="string" code="9"/> <attribute name="ERX-Ingress-Policy-Name" type="string" code="10"/> <attribute name="ERX-Egress-Policy-Name" type="string" code="11"/> <attribute name="ERX-Ingress-Statistics" type="integer" code="12"/> <attribute name="ERX-Egress-Statistics" type="integer" code="13"/> <attribute name="ERX-Atm-Service-Category" type="integer" code="14"/> <attribute name="ERX-Atm-PCR" type="integer" code="15"/> <attribute name="ERX-Atm-SCR" type="integer" code="16"/> <attribute name="ERX-Atm-MBS" type="integer" code="17"/> <attribute name="ERX-Cli-Initial-Access-Level" type="string" code="18"/> <attribute name="ERX-Cli-Allow-All-VR-Access" type="integer" code="19"/> <attribute name="ERX-Alternate-Cli-Access-Level" type="string" code="20"/> <attribute name="ERX-Alternate-Cli-Vrouter-Name" type="string" code="21"/> <attribute name="ERX-Sa-Validate" type="integer" code="22"/> <attribute name="ERX-Igmp-Enable" type="integer" code="23"/> <attribute name="ERX-Pppoe-Description" type="string" code="24"/> <attribute name="ERX-Redirect-VR-Name" type="string" code="25"/> <attribute name="ERX-Qos-Profile-Name" type="string" code="26"/> <attribute name="ERX-Pppoe-Max-Sessions" type="integer" code="27"/> <attribute name="ERX-Pppoe-Url" type="string" code="28"/> <attribute name="ERX-Qos-Profile-Interface-Type" type="integer" code="29"/> <attribute name="ERX-Tunnel-Nas-Port-Method" type="integer" code="30"/> <attribute name="ERX-Service-Bundle" type="string" code="31"/> <attribute name="ERX-Tunnel-Tos" type="integer" code="32"/> <attribute name="ERX-Tunnel-Maximum-Sessions" type="integer" code="33"/> <attribute name="ERX-Framed-Ip-Route-Tag" type="string" code="34"/> <attribute name="ERX-Dial-Out-Number" type="string" code="35"/> <attribute name="ERX-PPP-Username" type="string" code="36"/> <attribute name="ERX-PPP-Password" type="string" code="37"/> <attribute name="ERX-PPP-Auth-Protocol" type="integer" code="38"/> <attribute name="ERX-Minimum-BPS" type="integer" code="39"/> <attribute name="ERX-Maximum-BPS" type="integer" code="40"/> <attribute name="ERX-Bearer-Type" type="integer" code="41"/> <attribute name="ERX-Input-Gigapkts" type="integer" code="42"/> <attribute name="ERX-Output-Gigapkts" type="integer" code="43"/> <attribute name="ERX-Tunnel-Interface-Id" type="string" code="44"/> <attribute name="ERX-IpV6-Virtual-Router" type="string" code="45"/> <attribute name="ERX-IpV6-Local-Interface" type="string" code="46"/> <attribute name="ERX-Ipv6-Primary-Dns" type="ipv6addr" code="47"/> <attribute name="ERX-Ipv6-Secondary-Dns" type="ipv6addr" code="48"/> <attribute name="Sdx-Service-Name" type="string" code="49"/> <attribute name="Sdx-Session-Volume-Quota" type="string" code="50"/> <attribute name="Sdx-Tunnel-Disconnect-Cause-Info" type="string" code="51"/> <attribute name="ERX-Radius-Client-Address" type="ipaddr" code="52"/> <attribute name="ERX-Service-Description" type="string" code="53"/> <attribute name="ERX-L2tp-Recv-Window-Size" type="integer" code="54"/> <attribute name="ERX-Dhcp-Options" type="octets" code="55"/> <attribute name="ERX-Dhcp-Mac-Addr" type="string" code="56"/> <attribute name="ERX-Dhcp-Gi-Address" type="ipaddr" code="57"/> <attribute name="ERX-MLPPP-Bundle-Name" type="string" code="62"/> <attribute name="ERX-Interface-Desc" type="string" code="63"/> <attribute name="ERX-Tunnel-Group" type="string" code="64"/> <attribute name="ERX-Service-Activate" type="string" tag="1" code="65"/> <attribute name="ERX-Service-Deactivate" type="string" code="66"/> <attribute name="ERX-Service-Volume" type="integer" code="67"/> <attribute name="ERX-Service-Statistics" type="integer" tag="1" code="69"/> <attribute name="ERX-Service-Timeout" type="integer" tag="1" code="68"/> </vendor> Нажимал "Перечитать конфигурацию". Но в модуле Inet как показывается RUrban3 так и показывается ![]() Код: Time: 19.05.2016 10:39:16
Packet type: Access-Request Identifier: 137 Authenticator: {66 B0 C9 4E 7E D5 C5 8E F9 F8 1F AE 68 8A B2 D6} Attributes: NAS-Identifier=RUrban3 User-Name=jun CHAP-Password={FF DA 02 7F DB AD 5A E2 D3 AB 50 08 B9 59 D2 70 57} NAS-IP-Address=192.168.144.15 NAS-Port=1298 Service-Type=2 Framed-Protocol=1 Acct-Session-Id=80 NAS-Port-Id=xe-0/0/0.demux0.1073741897:1298 UNKNOWN[-1-89]={00} CHAP-Challenge=O\u24�\u1���h��\u28\u15����\u25���$V NAS-Port-Type=15 Calling-Station-Id=RUrban3 ERX-Dhcp-Mac-Addr=b888.e3a0.127e ERX-Pppoe-Description=pppoe b8:88:e3:a0:12:7e Time: 19.05.2016 10:39:16 Packet type: Access-Accept Identifier: 137 Authenticator: {6E 2B 37 CE C0 5A 45 6C DD 06 FA 47 05 46 89 53} Attributes: Acct-Interim-Interval=300 Framed-IP-Address=172.24.255.1 Process time auth: 0 Time: 19.05.2016 10:39:16 Packet type: Accounting-Request Identifier: 138 Authenticator: {54 25 33 EF 08 2C A4 42 A4 19 58 73 68 EF E5 91} Attributes: NAS-Identifier=RUrban3 User-Name=jun NAS-IP-Address=192.168.144.15 NAS-Port=1298 Service-Type=2 Framed-Protocol=1 Acct-Status-Type=1 Framed-IP-Address=172.24.255.1 Acct-Delay-Time=0 Acct-Session-Id=80 Acct-Authentic=1 Event-Timestamp=1463654402 NAS-Port-Id=xe-0/0/0.demux0.1073741897:1298 NAS-Port-Type=15 Calling-Station-Id=RUrban3 UNKNOWN[4874-177]={50 6F 72 74 20 53 70 65 65 64 3A 20 31 30 30 30 30 30 30 30 6B} ERX-Dhcp-Mac-Addr=b888.e3a0.127e ERX-Pppoe-Description=pppoe b8:88:e3:a0:12:7e |
Автор: | Phricker [ 19 май 2016, 13:45 ] |
Заголовок сообщения: | Re: [7.0] radius.macAddress.vendor |
ПОСЛЕ обновления dictionary.xml, но ДО добавления vendor и type в конфиг устройства - перегружал Access и Accounting. Делать этого после добавления в конфиг вендора и типа не шибко хочется, он минут 10-15 перегружается. |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |