[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Checklist for Displaying and Locating Files and Directories on a Router

Purpose

Table 40 provides links and commands for displaying and locating files and directories on a router.

Action

Table 40: Checklist for Displaying and Locating Files and Directories on a Router

Tasks

Command or Action

Copy a File on a Routing Engine  
  1. Copy a File from One Routing Engine to Another

file copy source destination

  1. Copy Files between the Local Router and a Remote System

file copy filename ftp://hostname/path/filename

file copy filename ftp://user:password@hostname/filename

file copy filename ftp://user@hostname/filename

file copy filename scp://user@hostname/path/filename

Maintain a Single Configuration File for Both Routing Engines  
  1. Configure the New Group

[edit groups]
set group-name

[edit groups re0]
set interfaces interface name unit unit family inet address address

[edit groups re0 system]
set host-name hostname
show
commit

  1. Apply the New Group

[edit]
set apply-groups group-name
show
commit

List Files and Directories on a Router

file list filename or directory

Display File Contents

file show filename

Rename a File on a Router

file rename source destination

Delete a File on a Router

file delete filename


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]