Script list, Display a script or all scripts, Script commands – Technicolor - Thomson ST585 V6 User Manual

Page 643: Syntax, Example, Related commands

Advertising
background image

E-DOC-CTC-20061027-0004 v1.0

Script Commands

619

script list

Display a script or all scripts.

SYNTAX:

where:

EXAMPLE

Some of the default scripts are shown below:

RELATED COMMANDS:

script list

[name = <string>]

name

Name of the script to be listed.

Note

If not specified, all the scripts are displayed.

OPTIONAL

=>script list
Script: autopvc_add_qos

0: qosbook add name _auto_$1_$2 class $3 tx_peakrate $4 tx_sustrate $5 tx_maxburst $6

rx_peakrate $4 rx_sustrate $5 rx_maxburst $6 dynamic yes

...

Script: autopvc_add_bridge

0: qosbook add name _auto_$1_$2 class $3 tx_peakrate $4 tx_sustrate $5 tx_maxburst $6

rx_peakrate $4 rx_sustrate $5 rx_maxburst $6 dynamic yes

1: phonebook add name _auto_$1_$2 addr $1.$2 type any dynamic yes
2: bridge ifadd intf _auto_$1_$2 dest _auto_$1_$2
3: bridge ifconfig intf _auto_$1_$2 qos _auto_$1_$2
4: bridge ifattach intf _auto_$1_$2

Script: autopvc_delete_bridge

0: bridge ifdetach intf _auto_$1_$2
1: bridge ifdelete intf _auto_$1_$2
2: phonebook delete name _auto_$1_$2
3: qosbook delete name _auto_$1_$2

Script: autopvc_add_pppoerelay

0: qosbook add name _auto_$1_$2 class $3 tx_peakrate $4 tx_sustrate $5 tx_maxburst $6

rx_peakrate $4 rx_sustrate $5 rx_maxburst $6 dynamic yes

1: phonebook add name _auto_$1_$2 addr $1.$2 type any dynamic yes
2: ethoa ifadd intf _auto_$1_$2 dest _auto_$1_$2
3: ethoa ifconfig intf _auto_$1_$2 qos _auto_$1_$2
4: ethoa ifattach intf _auto_$1_$2
5: ip ifwait intf _auto_$1_$2 timeout 15 adminstatus up
6: pppoe relay add port _auto_$1_$2

script add

Add a line to a script.

script delete

Delete a complete script or a line from a script.

Advertising