admin-service-modify

This command is used to modify the services on the switch.

Syntax   admin-service-modify

if if-string

Specify the interface to modify.

Specify one or more of the following options:

ssh|no-ssh

Specify if you want to connect to the switch using Secure Shell (SSH).

nfs|no-nfs

Specify if you want to use Network Files System (NFS) for the admin service.

web|no-web

Specify if you want to enable Web management.

web-ssl|
no-web-ssl

Specify if you want to use SSL and certificates for Web services.

web-ssl-port web-ssl-port-number

Specify the Web SSL port.

web-port web-port-number

Specify the port for Web management.

web-log|no-web-log

Specify if you want to turn on or off Web logging.

snmp|no-snmp

Specify if SNMP is allowed as a service.

net-api|no-net-api

Specify if APIs are allowed as a service.

icmp|no-icmp

Specify if Internet Control Message Protocol (ICMP) is allowed as a service.

Defaults   None

Access   CLI

History   

Version 1.2

Command introduced.

Version 3.0.0

The parameter, web-log|no-web-log, added.

Usage   Use this command to modify the administrative services on the switch.

Examples  To modify the admin service to enable SNMP, use the following command:

CLI network-admin@switch > admin-service-modify if eth.0 scope fabric snmp

admin-service-show

This command is used to display information about admin services configuration.

Syntax   admin-service-show

 

if if-string

Specifies the interface.


ssh|no-ssh

Specifies if the switch is running Secure Shell (SSH) as a service.

nfs|no-nfs

Specifies if the switch is running Network File System (NFS) as a service.

web|no-web

Specifies if Web is running as a service.

web-ssl|no-web-ssl

Specifies if SSL and certificates are used for Web services.

web-ssl-port web-ssl-port-number

Specifies the Web SSL port.

web-port web-port-number

Specifies the port for Web management.

web-log|no-web-log

Specify if you want to turn on or off Web logging.

snmp|no-snmp

Specifies if SNMP is running as a service.

net-api|no-net-api

Specifies if APIs are running as a service.

icmp|no-icmp

Specifies if Internet Control Message Protocol (ICMP) is running as a service.

Defaults   None

Access   CLI

History   

Version 1.2

Command introduced.

Version 3.0.0

The parameter, web-log|no-web-log, added.


Usage   Use this command to display information about admin services on the switch.

Examples  To display admin service information, use the following command:

CLI network-admin@switch > admin-service-show

switch      if   ssh nfs web web-ssl web-ssl-port web-port web-log snmp net-api icmp

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

draco-dev01 mgmt on  on  on  off     443          80       off     off  on      on   

draco-dev01 data on  on  on  off     443          80       off     off  on      on