switch-setup-modify
This command is used to modify the setup of a switch.
Syntax switch-setup-modify
Specify one or more of the following options: |
|
switch-name name-string |
Specify the name of the switch. |
mgmt-ip ip-address |
Specify the IP address that allows you to connect to the management interface through the dedicated 1000/100/10 Mbps mgmt0 or mgmt1 RJ45 management ports of the switch. |
mgmt-netmask netmask |
Specify the netmask for the IP address. |
mgmt-ip-assignment none |
Specify the IP assignment type for the management interface. |
mgmt-ip6 ip-address |
Specify the IPv6 IP address. |
mgmt-netmask-ip6 netmask |
Specify the IPv6 netmask. |
mgmt-ip6-assignment none |
Specify the IPv6 assignment type for the management interface. |
in-band-ip ip-address |
Specify the IP address to connect to the management interface through the network data ports of the switch. |
in-band-netmask netmask |
Specify the netmask for the IP address. |
in-band-ip6 ip-address |
Specify an IPv6 address for the in-band interface. |
in-band-netmask-ip6 netmask |
Specify the netmask. |
in-band-ip6-assign none|auto|conf |
Specify in-band IPv6 address assignment for the in-band interface. |
gateway ip-address |
Specify the IP address of the gateway that connects to the outside IP network. |
gateway-ip6 ip-address |
Specify the IPv6 address of the gateway that connects to the outside IP network. |
loopback-ip ip-address |
Specify the loopback IPv4 address. |
loopback-ip6 ip-address |
Specify the loopback IPv6 address. |
dns-ip ip-address |
Specify the IP address of the primary DNS for the switch. |
dns-secondary-ip ip-address |
Specify the IP address of a secondary DNS for the switch. |
domain-name domain-name-string |
Specify the domain name for the switch. |
ntp-server ntp-server-string |
Specify the name or IP address of the NTP server. |
ntp-secondary-server ntp-secondary-server-string |
Specify the name or IP address of the secondary NTP server. You can unset a configured NTP secondary server by using an empty string ("") as parameter. You can use either single-quotes ('') or double-quotes ("") to indicate the empty string. |
timezone timezone-name |
Specify the timezone for the switch. |
eula-accepted true|false |
Specify if the EULA is accepted or not. |
eula_timestamp date/time: yyyy-mm-ddThh:mm:ss |
Specify the timestamp for the EULA. |
password password-string |
Specify a password for the switch. |
date yyyy-mm-ddThh:mm:ss |
Specify the date using the designated format. |
analytics-store default|optimized |
Specify if you want to use the default analytics store or an optimized store. If you select optimized, you must have Fusion IO cards installed for storage. |
force|no-force |
Force the analytics store to change even if it means removing data. |
enable-host-ports| |
Host ports are disabled by default. |
motd motd-string |
Specify a “Message of the Day” string to display on the switch. You may enter up to 511 characters including spaces. This is a temporary or short term message to identify situations such as downtime, etc. |
banner banner-string |
Specify a banner to display on the switch. You may enter up to 511 characters including spaces. This is a static message that can be used to display switch information such as server identity. |
enable-disk-mirror|disable-disk-mirror |
Specify to enable or disable disk mirroring. This option is available only on NRU03 and NRU-S0301 platforms. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.1 |
The parameter, delete-mgmt-backup, is deprecated. The parameters, eula, and analytics store added. |
Version 2.2 |
The parameters to support IPv6 added. |
Version 2.2.3 |
The parameters, motd and banner, added. |
Version 2.3 |
The parameters for LAG on the management interface added. |
Version 2.4 |
The parameters, force and enable-host-ports, added. |
Version 2.6.1 |
The parameter, secondary-ntp-server, added. |
Version 2.6.2 |
The parameter, mgmt-lacp-mode, deprecated. |
Version 3.0.0 |
IPv6 parameters added for the in-band and management interfaces. |
Version 3.1.0 |
The parameter, phone-home, is deprecated. |
Version 6.0.0 |
Option to unset ntp-secondary-server introduced. |
Version 6.1.0 |
The parameters, enable-disk-mirror|disable-disk-mirror are added. This is available only on NRU03 and NRU-S0301 platforms. |
Usage Each switch must be setup when initially installed on the network. Use this command to modify the switch parameters.
Examples To set up the switch with the name, PN-switch-1, IP address 10.9.9.71 on a /16 subnet with the gateway 10.9.9.1, DNS servers 10.9.9.11 and 10.9.9.1, the domain name pluribusnetworks.com, and NTP server, 0.uspool.ntp.org. The switch is located in the US/Pacific timezone and the administrator is network-admin.
CLI network-admin@switch > switch-setup-modify name PN-switch-1 mgmt-ip 10.9.9.71 mgmt-netmask 16 gateway 10.9.9.1 dns 10.9.9.11 dns-secondary 10.9.9.1 domain-name pluribusnetworks.com ntp-server 0.us.pool.ntp.org username network-admin password adm1n