Cli Content Layer - Alcatel-Lucent 7450 System Management Manual

Ethernet service switch
Hide thumbs Also See for 7450:
Table of Contents

Advertisement

CLI Content Layer

CLI Content Layer
When using the CLI format at the NETCONF content layer, configuration changes and
configuration information retrieved are expressed as untagged (non-XML) CLI commands;
for example, CLI script.
The script must be correctly ordered and has the same dependencies and behavior as CLI. The
location of CR/LF (ENTER) within the CLI for an <edit-config> is significant and affects the
processing of the CLI commands, such as what CLI branch is considered the "working
context". In the following two examples the "working context" after the commands are issued
are different.
Example 1:
exit all
configure system time zone EST [<-ENTER]
Example 2:
exit all [<-ENTER]
configure
After example 1, the CLI working context is the root and immediately sending 'dst-zone
CEST' would return an error. After example 2, the CLI working context is
config>system>time and sending 'dst-zone CEST' would work as expected.
Configuration changes done via NETCONF trigger the same "change" log events (for
example, tmnxConfigCreate) as a normal CLI user doing the same changes.
The <with-defaults> tag (RFC 6243) is not supported in a CLI content layer request.
The operator can get a full configuration including defaults for a CLI Content Layer using an
empty <cli-info-detail>. The full configuration (equivalent to the CLI command 'admin
display-config [detail]') can be obtained via a <get-config> request in a CLI Content Layer
format with an empty <cli-info> or <cli-info-detail> tag inside a <config-format-cli-block>.
<report-all> is not supported.
Post-processing commands are ignored: "| match" (pipe match), "| count" (pipe count) and ">"
(redirect to file) and CLI ranges are not supported for any command; for example, show card
[1..5].
For more information, see "CLI Content Layer Examples".
Page 362
[<-ENTER]
[<-ENTER]
system
[<-ENTER]
time
[<-ENTER]
zone EST [<-ENTER]
7450 ESS System Mangement Guide

Advertisement

Table of Contents
loading

Table of Contents