CDRouter Support

How can I override CDRouter configuration file settings on the command-line?

knowledge-base version 13.3

It is possible to override or add additional testvar settings directly from the command-line. This can be done using the -testvar option. The format for the -testvar option is testvarName=value.


Here’s a simple example using a single testvar:

# cdrouter-cli -testvar eapType=eap-sim -module eapol.tcl -trace

Here’s another example using a two testvars:

# cdrouter-cli -testvar wanIspIp= -testvar wanIspAssignIp= -module basic.tcl

If the testvar is part of a testvar_group, the -testvar_group option should be used instead. The format for the -testvar_group option is group:testvarName=value:

# cdrouter-cli -testvar_group lan2:lanSSID=testnet

If the value contains any whitespace then it must be enclosed in quotes:

# cdrouter-cli -testvar firewallTcpOpenPorts="22 443"



About CDRouter

QA Cafe CDRouter is a comprehensive and powerful test automation solution focused on feature, security, and performance testing for broadband and enterprise edge gateways, Wi-Fi and mesh systems, and other CPE.

Get in touch via our Contact page or by following us on your favorite service: