Fetch File in Logical File System

Contents

1Introduction

2

Procedure
2.1Fetch File in Logical File System

1   Introduction

This instruction describes how to fetch a file in the logical file system.

This operation can be used by Northbound Interface (NBI) clients (such as OSS, LCT, and CLI script), which need to fetch files from the logical file system. Only SSH File Transfer Protocol (SFTP) is supported.

Note:  
Port 2028 is used as the SFTP port in the Call Session Control Function (CSCF).

Depending on the security management rules, all or part of the SFTP protocol operations can be allowed. For more information, refer to Handling Files.

2   Procedure

2.1   Fetch File in Logical File System

Prerequisites

Steps

  1. Open an SFTP session, for example:

    shell$ sftp -oPort=2028 <user name>@<O&M IP or FQDN>

  2. Navigate to the folder containing the file, for example:

    >cd /var/filem/nbi_root/AlarmLogs

  3. Fetch the file using command get and specifying the full filename, for example:

    sftp>get FmAlarmLog_20130403_234240_20130403_234442.log

    For information about how to find correct directories and filenames, refer to List File Groups and File Information in Logical File System.

    The following is an example output when fetching a file from the AlarmLogs folder:

    Fetching FmAlarmLog_20130403_234240_20130403_234442.log
  4. Exit the SFTP session:

    sftp>exit