11: Scripts
EMG™ Edge Management Gateway User Guide
221
Bytes input: 0 Bytes output: 0
Framing errors: 0 Flow control errors: 0
Overrun errors: 0 Parity errors: 0 [
EMG251]>
Port Counter Monitor Script Ending......
________________________________________________________________________
Login Out.......
logout
Returning to command line
[emg247]>
Batch Script—EMG CLI
This script runs the following EMG CLI commands, then runs the Monport Interface script:
show network port 1 host
show deviceport names
show script
connect script monport deviceport 7
The following is the screen output of the script:
[emg247]> se script runcli cli
[emg247]> show network port 1 host
___Current Hostname Settings____________________________________________
Hostname: emg247
Domain: <none>
[emg247]>
[emg247]> show deviceport names
___Current Device Port
Names____________________________________________
01 - SCS_ALIAS_Test 05 - Port-5
02 - Port-2 06 - Port-6
03 - Port-3 07 - EMG251
04 - Port-4 08 - Port-8
[emg247]>
[emg247]> show script
___Interface Scripts______Group/Permissions_____________________________
getSLC Adm/ad,nt,sv,dt,lu,ra,um,dp,pc,rp,rs,fc,dr,sn,wb,sk,po,do
Test Adm/ad,nt,sv,dt,lu,ra,um,dp,pc,rp,rs,fc,dr,sn,wb,sk,po,do
monport Adm/<none>
___Batch Scripts__________Group/Permissions_____________________________
cli Adm/ad,nt,sv,dt,lu,ra,um,dp,pc,rs,fc,dr,sn,wb,sk,po,do,rp
[emg247]>
[emg247]> connect script monport deviceport 7
login: Logging in....
sysadmin
sysadmin
Password: PASS
Welcome to the Lantronix Edge Management Gateway
Model Number: EMG851101
For a list of commands, type 'help'.