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.


Netvisor ONE supports file transfer method SFTP.


SFTP is enabled by default. Because SFTP relies on Secure Shell (SSH), you must enable SSH before enabling SFTP.


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


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


switch:       Leaf-1

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:       Leaf-1

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:         on

 


To enable SSH, use the following command:

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


To enable SFTP, use the following command:

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


sftp password: <password>

confirm sftp password: <password>

 

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


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


sftp password: <password>

confirm sftp password: <password>


To display the details, use the commands:


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


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

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

Leaf1   mgmt  on   on   off   80       off   off     off


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


switch:     Leaf1

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.


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


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

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

Leaf1  mgmt  on  off  on   80     off   on      on