Displays set template config.
msh(tsa********)> show template-config <Templateset ID> <Module ID>
Parameter |
Description |
---|---|
<Templateset ID> |
ID of the Template |
<Module ID> |
Module ID |
Displays template config
msh(tsa********)> show template-config 3 0
interface.ge0.ipv4.address: dhcp
interface.ge1.ipv4.address: ${GE1ADDRESS}/${GE1PREFIX}
route.ipv4.0.destination: default
route.ipv4.0.gateway: dhcp
interface.pppoe0.id: sacm@example.jp
interface.pppoe0.password: sacm
interface.pppoe0.ipcp: enable
resolver.service: enable
resolver.1.address: dhcp
resolver.domain: example.jp
dns-forwarder.service: enable
dns-forwarder.1.address: ipcp
dns-forwarder.2.address: 192.168.1.100
dns-forwarder.listen.ipv4.100.interface: pppoe0
msh(tsa********)>
Sets template config.
msh(tsa********)> set template-config <Templateset ID> <Module ID> [path <Config Path>]
Parameter |
Description |
---|---|
<Templateset ID> |
ID of the Template |
<Module ID> |
Module ID |
(Optional) <Config Path> |
Path of the template config |
Template config set from standard input
msh(tsa********)> set template-config 3 0
please enter data ("." for end of data)"")
interface.ge0.ipv4.address: dhcp
interface.ge1.ipv4.address: ${GE1ADDRESS}/${GE1PREFIX}
route.ipv4.0.destination: default
route.ipv4.0.gateway: dhcp
interface.pppoe0.id: sacm@example.jp
interface.pppoe0.password: sacm
interface.pppoe0.ipcp: enable
resolver.service: enable
resolver.1.address: dhcp
resolver.domain: example.jp
dns-forwarder.service: enable
dns-forwarder.1.address: ipcp
dns-forwarder.2.address: 192.168.1.100
dns-forwarder.listen.ipv4.100.interface: pppoe0
.
set template-config: TemplateConfig (TemplateSet ID 3, Module ID 0) was updated.
msh(tsa********)>
Specify file and set template config
msh(tsa********)> set template-config 3 0 config /tmp/template.config
set template-config: TemplateConfig (TemplateSet ID 3, Module ID 0) was updated.
msh(tsa********)>
Allows you to delete a Template config.
msh(tsa********)> delete template-config <Templateset ID> <Module ID>
Parameter |
Description |
---|---|
<Templateset ID> |
ID of the Template |
<Module ID> |
Module ID |
Displays template config
msh(tsa********)> delete template-config 3 0
delete template-config: TemplateConfig (TemplateSet ID 3, Module ID 0) was deleted.
msh(tsa********)>