Enabling Administrative Services


There are many features of the Pluribus Networks fabric that require or can be enhanced using remote access. For example, when packets are written to a log file, you may want to transfer that file from a switch to a different system for analysis. Also, if you are creating a NetVM environment, an IOS image of the guest OS must be loaded on the switch.

There are three file transfer methods:

  • Secure File Transfer Protocol (SFTP)
  • Network File System (NFS)


Both methods must be enabled before you can use them. Since SFTP relies on Secure Shell (SSH), you must enable SSH before enabling SFTP.


1. To check the status of SFTP, use the following command:


CLI (network-admin@Leaf1) > admin-service-show


switch:       Leaf-2

if:           mgmt

ssh:          on

nfs:          on

web:          on

web-ssl:      off

web-ssl-port: 443

web-port:     80

web-log:      off

snmp:         on

net-api:      on

icmp:         on

switch:       techpub-accton-2

if:           data

ssh:          on

nfs:          on

web:          on

web-ssl:      off

web-ssl-port: 443

web-port:     80

web-log:      off

snmp:         on

net-api:      on

icmp:         onf

 

To enable SSH, use the following command:


CLI (network-admin@Leaf1) > admin-service-modify nic mgmt ssh

admin-sftp-modify enable

sftp password: <password>

confirm sftp password: <password>

 

The default SFTP username is sftp and the password can be change using the admin-sftp-modify command:


CLI (network-admin@Leaf1) > admin-sftp-modify

sftp password: <password>

confirm sftp password: <password>


CLI (network-admin@Leaf1) > admin-service-show


switch      nic     ssh   nfs   web   web-port   snmp   net-api   icmp

------      ---     ---   ---   ---   --------   ----   -------   ----

pleiades24  mgmt    on    on    off   80         off    off       off

CLI (network-admin@Leaf1) > admin-sftp-show

switch:     pleiades24

sftp-user:  sftp

enable:     yes

 

Use SFTP from a host to the switch, and login with the username sftp and the password configured for SFTP. Then you can download the available files or upload files to the switch.


You can check the status of NFS service and enable it using the following command:


CLI (network-admin@Leaf1) > admin-service-show


switch     nic   ssh   nfs   web   web-port   snmp   net-api   icmp

------     ---   ---   ---   ---   --------   ----   -------   ----

pleiades01 mgmt  on    off   on    80         off    on        on

 

To enable NFS, use the following command:


CLI (network-admin@Leaf1) > admin-service-modify nic mgmt nfs


After you enable NFS, the directory /nvOS is mountable using NFS through the management IP addresses for access to the files in that directory.