Digi IX10 User Manual page 367

Hide thumbs Also See for IX10:
Table of Contents

Advertisement

Applications
2. Use the
show scripts
> show scripts
Index
-----
0
send_mgmt_intf_update() {
pri="$(runt get network.mgmt.log.default)"
if [ "$pri" = 'pri' ]; then
default_net="$(runt dump network.route.default | grep -m 1 -o
"interface_.*=" | cut -f2 -d'_' | tr -d '=')"
if [ -n "$default_net" ]; then
default_intf="$(runt get network.interface.${default_net}.device)"
fi
log=$(runt log network.mgmt.log)
accns_log network_mgmt "${log:+type=mgmt~}$log"
fi
}
...
>
3. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.
IX10 User Guide
command at the system prompt:
Label
Script
---------------
------
mgmt_intf_fixup
#!/bin/sh -x
runt set network.mgmt.log.intf "$default_intf"
Enabled
Status
Run time
-------
------
--------
Show script information
367

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents