User`s guide
Configmenu scripting
Chapter 16  Configuration Menu Interface  275
Configuration commands can be entered and executed in a script file, as 
shown below. Each command should be on a separate line and the "save" 
and "apply" commands should be added at the end of file if you want to 
apply your changes.
To check XML paths and values, see these configuration files ,
/tmp/cnf/ports/port#/portinfo.cnf: Serial port # configuration
/tmp/cnf/sys/: System configuration
/tmp/cnf/sys/network: Network configuration
Current limitations
The following menus are not supported in scripting:
• Change password
• System status & log -> System status 
• System status & log -> System log view
• Access lists add/remove
• User administration add/remove/edit => use 'passwd' command in 
the CLI
• Port automatic detection configuration 
• Power controller management
• Peripherals configuration
• Firmware upgrade
• Configuration management
[root@Digi_Passport4 ~]# more /usr2/rpot2
add rport 7006
set /serial/serial_config/ports/*6/rport_param/dest_ip=192.168.1.2  
set /serial/serial_config/ports/*6/rport_param/dest_port=22
set /serial/serial_config/ports/*6/rport_param/protocol=2
save 
apply
[root@Digi_Passport4 ~]# configmenu -f /usr2/rpot2
Add : /serial/serial_config/ports/*6 
Set : /serial/serial_config/ports/*6/hostmode/listening_port=7006
Set : /serial/serial_config/ports/*6/rport_param/
dest_ip=192.168.1.2 
Set : /serial/serial_config/ports/*6/rport_param/dest_port=22 
Set : /serial/serial_config/ports/*6/rport_param/protocol=SSH (2)
..
Save Done.
.....
Apply Done.
[root@Digi_Passport4 ~]# 










