Версия билинга не ниже 0.75.25
- OLT RAISECOM 5508GP
Конфигурация
firmware ISCOM5508-GPSC_ROAP_2.62.1_20180904( interface gpon-olt 1/1 transceiver ddm enable create gpon-onu 7 sn RCMG1918554C line-profile-id 50 service-profile-id 50 switchport trunk allowed vlan 2011 switchport trunk untagged vlan remove 1 switchport mode trunk vlan drop-untagged ip dhcp information option circuit-id \%c-\%s/\%p/\%i возможнs такие ключи \%v ------svlan; \%c ------cvlan; \%l ------the olt host name; \%j ------Rack number, For some devices there is no concept of racks,the value is "0"; \%k ------frame number, For some devices there is no concept of frame,the value is "0"; \%s ------Slot number; \%y ------Sub-slot number,For some devices there is no concept of frame,the value is "0"; \%p ------ gpon port number; \%i ------ ont number. \%n ---- ONT S/N interface ten-gigabitethernet 1/5 ip dhcp snooping trust vlan 2011 ip dhcp snooping ip dhcp snooping ip dhcp information option
Выражение
$conf{AUTH_EXPR} = 'Accel-Agent-Remote-Id:^0x([0-9a-f]{12})$:NAS_MAC;Accel-Agent-Circuit-Id:^(\d+)-(\d+\/\s*\d+_\d+)$:VLAN_DEC,PORT_DEC:hex2ansii;';
H3C
- H3C S5100-26C (Software Version 3.10, Release 2203P08)
$conf{AUTH_EXPR} = 'ADSL-Agent-Circuit-Id:^0x0004([0-9a-f]{4})00([0-9a-f]{2})$:VLAN,PORT:increment_port;ADSL-Agent-Remote-Id:^0x0006([0-9a-f]{12})$:NAS_MAC;';
- H3C S5570S
$conf{AUTH_EXPR} = 'DHCP-Relay-Circuit-Id:^0x0004([0-9a-f]{4})00([0-9a-f]{2})$:VLAN,PORT:;DHCP-Relay-Remote-Id:^0x0006([0-9a-f]{12})$:NAS_MAC;';