6. Enable the FTP server.
host1(config)#ftp-server enable
Monitoring the FTP Server
Use the dir command to monitor files on the FTP server. Use the show ftp-server
and show users commands to monitor settings of the FTP server.
show ftp-server
â– Use to display information about the FTP server.
â– Field descriptions
■FTP Server state—Status of the FTP server: enabled or disabled
■Open connections—Number of open connections to the FTP server
■Statistics since server was last started—Data about the connection attempts
since you enabled the FTP server
■Statistics since last system reload—Data about the connection attempts since
you last booted the system
■attempts—Number of attempts to connect
■failed hosts—Number of connection attempts that failed because of
disallowed host addresses
■failed users—Number of connection attempts that failed because users
were not authenticated
â– Example
host1#show ftp-server
FTP Server state: enabled, 0 open connections
Statistics since server was last started:
attempts: 32
failed hosts: 5
failed users: 7
Statistics since last system reload:
attempts: 35
failed hosts: 5
failed users: 8
â– See show ftp-server.
show users
â– Use to display information about users of the vty lines.
â– Specify the all keyword to view information for all configured lines (both
connected and not connected).
â– Specify the detail keyword to view detailed information.
â– Field descriptions
312 â– Transferring Files
JUNOSe 11.1.x System Basics Configuration Guide