Display list and details of Template Variable information.
msh(tsa********)> show template-variable <Templateset ID> [name <Variable Name>]
Parameter |
Description |
---|---|
<Templateset ID> |
ID of the Template |
(Optional) <Variable Name> |
Name of the Template Variable |
Output examples for commands are shown below.
Display list of Template Variables
msh(tsa********)> show template-variable 3
---
- TemplateVariable_0:
TemplateVariable Name: HOSTNAME
TemplateVariable DefaultValue: hostname
- TemplateVariable_1:
TemplateVariable Name: LAN0ADDRESS
TemplateVariable DefaultValue: 192.168.0.1
- TemplateVariable_2:
TemplateVariable Name: LAN0PREFIX
TemplateVariable DefaultValue: '24'
Display Template Variable details
msh(tsa********)> show template-variable 3 name HOSTNAME
---
TemplateVariable Name: HOSTNAME
TemplateVariable DefaultValue: hostname
Values:
- Value_0:
SA Code: tsw00000000
Value: SA_1
Adds a Template Variable.
msh(tsa********)> add template-variable <Templateset ID> <Variable Name> [defaultvalue <Default Value>]
<Templateset ID> |
ID of the Template |
<Variable Name> |
Name of the Template Variable |
(Optional) <Default Value> |
Template Variable default values |
Output examples for commands are shown below.
Add Template Variable
msh(tsa********)> add templaset-variable 3 name DHCP defaultvalue disable
---
TemplateVariable Name: DHCP
TemplateVariable DefaultValue: disable
msh(tsa********)>
Updates Template Variable detailed information.
msh(tsa********)> set template-variable <Templateset ID> <Variable Name> [defaultvalue <Default Value>] [values [<SA Code> <Value>]...]
Parameter |
Description |
---|---|
<Templateset ID> |
ID of the Template |
<Variable Name> |
Name of the Template Variable |
(Optional) <Default Value> |
Template Variable default values |
(Optional) <SA Code> |
SA code for service adaptor for which values are specified individually |
(Optional) <Value> |
Values specified on individual service adaptors |
Output examples for commands are shown below.
Add Template Variable
msh(tsa********)> set template-variable 3 name DHCP defaultvalue enable values tsw00000000 disable tsw11111111 disable
---
TemplateVariable Name: DHCP
TemplateVariable DefaultValue: enable
Values:
- Value_0:
SA Code: tsw00000000
Value: disable
- Value_1:
SA Code: tsw11111111
Value: disable
msh(tsa********)>
Allows you to delete a Template Variable.
msh(tsa********)> delete template-variable <Templateset ID> <Variable Name>
Parameter |
Description |
---|---|
<Templateset ID> |
ID of the Template |
<Variable Name> |
Name of the Template Variable |
Output examples for commands are shown below.
Add Template Variable
msh(tsa********)> delete template-variable 3 name DHCP
template-variable: TemplateVariable (TemplateSet ID 3, TemplateVariable Name DHCP) was deleted.
msh(tsa********)>