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.

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|
disable-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.

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.

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

switch-setup-show

This command is used to display basic setup parameters for a switch.

Syntax   switch-setup-show

Defaults   None.

Access   

History   Command introduced in nvOS Version 1.2.1.

Usage   Each switch requires an initial setup before installing on the network. Use this command to display basic parameters for the local switch.

Examples  To display basic parameters, use the following command:

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

switch-name:          draco-dev01

mgmt-ip:              10.14.24.76/23

mgmt-ip-assignment:   static

mgmt-ip6:             2222::3/92

mgmt-ip6-assignment:  static

mgmt-link-state:      up

mgmt-link-speed:      1g

in-band-ip:           192.168.103.76/24

in-band-ip6:          5555::3/92

gateway-ip:           10.14.24.1

gateway-ip6:          2222::100

dns-ip:               172.16.1.4

dns-secondary-ip:     10.135.1.13

domain-name:          pluribusnetworks.com

ntp-server:           0.ubuntu.pool.ntp.org

timezone:             Etc/UTC

date:                 2018-01-10,16:51:44

phone-home:           no

hostid:               184551677

location-id:          2

analytics-store:      default

enable-host-ports:    yes

banner:

switch-status-show

This command is used to display the status of the switch.

Syntax   switch-status-show

start-time date/time: yyyy-mm-ddThh:mm:ss

Specify a time to start statistic collection.

end-time date/time: yyyy-mm-ddThh:mm:ss

Specify a time to end statistic collection.

duration duration: #d#h#m#s

Specify the duration of statistic collection.

interval duration: #d#h#m#s

Specify an interval between statistic collection.

since-start|
no-since-start

Display statistics collected since start-time.

older-than duration: #d#h#m#s

Display statistics older than the specified time.

within-last duration: #d#h#m#s

Display statistics within the last time.

name name-string

Displays the hardware name.

value value-number

Displays the hardware value.

units degrees-C|volts|rpm

Displays the hardware units.

state ok|fault|fatal

Displays the hardware state.

Defaults   None

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   Use this command to display the status of a switch.

Examples  To display the status, use the following command:

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

switch        name            value units     state  

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

pleiades25    Switch Temp     37    degrees-C ok    

pleiades25    CPU1 Temp       41    degrees-C ok    

pleiades25    CPU2 Temp       45    degrees-C ok    

pleiades25    System Temp     39    degrees-C ok    

pleiades25    Peripheral Temp 30    degrees-C ok    

pleiades25    PCH Temp        45    degrees-C ok    

pleiades25    switch-5.0v         volts     ok    

pleiades25    switch-2.5v         volts     ok    

pleiades25    switch-0.95v        volts     ok    

pleiades25    switch-1.8v         volts     ok    

pleiades25    switch-1.2v         volts     ok    

pleiades25    fan-1         7050  rpm       ok    

pleiades25    fan-2         8057  rpm       ok    

pleiades25    fan-3         8057  rpm       ok    

pleiades25    fan-4         7050  rpm       ok


Switch:                         netops-1

x86-system-temp[C]:             37

x86-peripheral-temp[C]:         27

x86-pch-temp[C]   :             43

x86-s-vtt:                      ok

x86-1p1v:                       ok

x86-1p5v:                       ok

x86-3p3v:                       ok

x86-3p3vsb:                     ok

x86-5p0v:                       ok

x86-5p0vsb:                     ok

x86-12p0v:                      ok

x86-vbat:                       ok

switch-temp[C]:                 45

switch-0p95v:                   ok

switch-1p8v:                    45

switch-t1p2v:                   fault

fan1-speed[RPM]:                3525

fan2-speed[RPM]:                3525

fan3-speed[RPM]:                3525

fan4-speed[RPM]:                3760

switch-status-settings-modify

This command is used to modify the settings for a switch status.

Syntax   switch-status-settings-modify

Specify one or more of the following options:

enable|disable

Specify if you want to enable or disable collecting information about the switch status.

interval duration: #d#h#m#s

Specify an interval duration to collect status information.

disk-space disk-space-number

Specify the disk size for the status information.

Defaults   None

Access   CLI

History   Command introduced in Version 2.1.

Usage   Use this command to modify the settings for collecting status information on the switch.

Examples  To modify the disk space to 4Gb, use the following command:

CLI network-admin@switch > switch-status-settings-modify disk-space 4g

switch-status-settings-show

This command is used to display the settings for a switch status.

Syntax   switch-status-settings-modify enable|disable interval duration: #d#h#m#s disk-space disk-space-number

enable|disable

Specify if you want to enable or disable collecting information about the switch status.

interval duration: #d#h#m#s

Specify an interval duration to collect status information.

disk-space disk-space-number

Specify the disk size for the status information.

Defaults   None

Access   CLI

History   Command introduced in Version 2.1.

Usage   Use this command to display the settings for collecting status information on the switch.

Examples  To modify the disk space to 4Gb, use the following command:

CLI network-admin@switch > switch-status-settings-show

switch:     pubdev01

enable:     yes

interval:   1m

disk-space: 50M

switch:     pubdev03

enable:     yes

interval:   1m

disk-space: 50M

switch:     pubdev02

enable:     yes

interval:   1m

disk-space: 50M