How To Use the Network Control Language (NCL) Commands To Manage a Router

Using PC Modem Access to Transfer Configuration and NCL Display

Syntax

 

zput config filename [append][format]

transfer router

 

configuration

zput NCL-command filename[append][format]

 

 

store display

 

command output

where:

 

filename is the name of a file on the remote PC host to store the output from this router.

NCL-commandis an NCL display command string on this router. Possible commands are listed above and described earlier in this chapter. If the command has parameters and thus includes a space, then enclose the command string in double quotes.

[append] (optional) specifies whether to append any existing file of the same name as filename, either of the following:

0(the default) prevents appending.

1allows appending.

[format](optional) selects the file formatting required by the host, either:

0(the default) ends lines with carriage returns and line feeds (CR LF), as needed by most PCs.

1ends lines with line feeds only (LF).

Examples

zput config inter1.cfg

zput "rgetr 10.1.2.1 public" pr1table.txt

In response, a status window temporarily appears to monitor transfer data and progress.

7-34