en:dpi:dpi_options:brass:opt_bras:reference_bras:param_bras [Документация VAS Experts]

This is an old revision of the document!


7 BRAS parameters

BRAS fields in the fastdpi.conf

Field Format Description
bras_max_session_durationsecondsThe default value is 604800. It is the maximum Subscriber session length, in seconds. When the session maximum duration is exceeded, the FastDPI will respond by DHCP-Nak reject to a DHCP-Request of lease renewal, thereby forcing the Subscriber device to start a new session by sending DHCP-Discover.
bras_loglevelnumberIt specifies the log level when writing to the /var/log/dpi/fastdpi_bras.log:
3 - Error;
4 - Warning;
5 - Info;
7 - Trace.
The higher the log level, the more detailed the log. The log level is 5 by default, using this value only warnings and errors will be written to the fastdpi_bras.log. Log level 7 (Trace) will create a detailed log with all DHCP packets, which is very useful when implementing BRAS.
bras_logstringSpecifies the full name of the DHCP log file, the default value is /var/log/dpi/fastdpi_bras.log. This parameter cannot be changed on the fly, so once it changed you should restart the VAS Expert DPI.
bras_dhcp_trace_macMAC addressSpecifies the client MAC address for tracing DHCP packets. All DHCP traffic for the given MAC address will be written to a pcap file. For example: a0:b1:c2:d3:00:0a. Only one MAC address can be specified for a DHCP trace at a time. The pcap file is created in the /var/dump/dpi directory. In this case, other pcap capture options also can be enabled, since all the traced packets are written to one pcap file. This parameter is provided to help solve problems with specific subscriber device: if the client device does not receive an IP address for whatever reason, you can pass this device MAC address to a trace and analyse which DHCP packets come to BRAS and which DHCP responses it sends back.