Configure GenieACS

GenieACS的配置涉及通用配置、身份验证和SSL设置。通过config.json和auth.js文件进行管理。CPE到ACS的认证可以通过nginx和SSL实现,而ACS到CPE的认证使用auth.js。确保在公共网络上使用加密连接,可以使用自签名证书或CA证书,并将证书推送至CPE。配置完成后,需要重启GenieACS。
摘要由CSDN通过智能技术生成

GenieACS General Config

config.json acts as the main configuration file and is stored in /path_to_genieacs/config/. In this folder there's also a backup file of the main(/default) config (config-sample.json). The following example shows some added options.

{
  "DATABASE_NAME" : "genieacs",
  "MONGODB_SOCKET" : "/tmp/mongodb-27017.sock",
  "REDIS_SOCKET" : "6379",
  "CWMP_INTERFACE" : "0.0.0.0",
  "CWMP_PORT" : 7547,
  "CWMP_SSL" : false,
  "NBI_INTERFACE" : "0.0.0.0",
  "NBI_PORT" : 7557,
  "FS_INTERFACE" : "0.0.0.0",
  "FS_PORT" : 7567,
  "FS_IP" : "192.168.0.1",
  "LOG_INFORMS" : true,
  "IGNORE_XML_NAMESPACES" : true,
  "LIBXMLJS_OPTIONS" : {"recover" : true},
  "DEBUG" : true
}

See the table for a more detailled description:

Parameter Description
DATABASE_NAME Defines the database name under which all data is stored in MongoDB
MONGODB_SOCKET Defines the MongoDB socket file path and name
REDIS_SOCKET Accept connections on the specified socket, default is 6379
CWMP_INTERFACE Binds genieacs-cwmp to specified interface. If 0.0.0.0 is chosen, it listens to all available interfaces
CWMP_PORT HTTP connections to ACS are accepted on the specified socket, default is 7547
CWMP_SSL If set to true, switches ACS to HTTPS mode. A valid certificate is mandatory.
NBI_INTERFACE Binds genieacs-nbi to specified interface. If 0.0.0.0 is chosen, it listens to all available interfaces
NBI_PORT API connections accepted on the specified socket, default is 7557
NBI_SSL If set to true, switches the NBI to HTTPS mode. A valid certificate is mandatory.
FS_INTERFACE Binds genieacs-fs to specified interface. If 0.0.0.0 is chosen, it listens to all available interfaces
FS_PORT File transfer connections are accepted on the specified socket, default is 7567
FS_IP Specifies the IP address of the file-server, is used when sending download requests to a device
LOG_INFORMS Specifies if INFORM are to be logged
DEBUG Boolean. Logs the request/response from the CWMP process to/from the CPE. Resulting .dump files can be found ingenieacs/debug folder.

To activate a dump for individual devices, use the format DEBUG-<device ID>. As an example

"DEBUG-00AA11-VDSLCPE-123456789" : true
IGNORE_XML_NAMESPACES If set to true, it allows XML traversal using element local names only. This might be needed, when the genieacs-cwmp worker dies on communication from cpe to acs
LIBXMLJS_OPTIONS If set to true, it allows parsing XML even when the charset isn't UTF8 and values contain characters like �a^X*V�^R�^]�. This might be needed, when the genieacs-cwmp worker shows an error like this Error: PCDATA invalid Char value 29
GPN_NEXT_LEVEL This will make the ACS fetch parameters in multiple requests which would make the CPE respond sooner for each request. Set this value to 2 if you have timeout issues with the CPE.
GPV_BATCH_SIZE Defaults to 32. Set to a lower value if you encounter session timeouts with CPEs.
SESSION_TIMEOUT Value in seconds.
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值