Changing NTP Secondary Server During Switch Setup


From Netvisor ONE version 6.0.0 and later release, you can undo or unset a configured NTP secondary server by using the switch-setup-modify command along with an empty string ("") as parameter.  You can use either single-quotes ('') or double-quotes ("") to indicate the empty string.


First, view the switch setup details using the command:



CLI (network-admin@sw-leaf1) > switch-setup-show

switch-name:               sw-leaf1

mgmt-ip:                   10.0.0.01/23

mgmt-ip-assignment:        static

mgmt-ip6:                  aa80::aab4:bbff:fffc:aa65/64

mgmt-ip6-assignment:       autoconf

mgmt-link-state:           up

mgmt-link-speed:           1g

in-band-ip:                10.168.0.02/24

in-band-ip6:               aa80::640a:94ff:ff52:aa9d/64

in-band-ip6-assign:        autoconf

gateway-ip:                10.0.0.1

dns-ip:                    10.10.0.13

dns-secondary-ip:          172.10.0.4

domain-name:               pluribusnetworks.com

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

ntp-secondary-server:      1.ubuntu.pool.ntp.org

timezone:                  America/Los_Angeles

date:                      2020-01-28,22:14:27

hostid:                    184556370

location-id:               6

enable-host-ports:         yes


To remove or unset the secondary NTP server, use the command with an empty string in single quotes or double quotes as below:


CLI (network-admin@sw-leaf1) > switch-setup-modify ntp-secondary-server

Server ip or host-name / empty string to unset


CLI (network-admin@sw-leaf1) > switch-setup-modify ntp-secondary-server ""


or 


CLI (network-admin@sw-leaf1) > switch-setup-modify ntp-secondary-server ''


Check the show output to view the changes by using the command:


CLI (network-admin@sw-leaf1) > switch-setup-show

switch-name:               sw-leaf1

mgmt-ip:                   10.0.0.01/23

mgmt-ip-assignment:        static

mgmt-ip6:                  aa80::aab4:bbff:fffc:aa65/64

mgmt-ip6-assignment:       autoconf

mgmt-link-state:           up

mgmt-link-speed:           1g

in-band-ip:                10.168.0.02/24

in-band-ip6:               aa80::640a:94ff:ff52:aa9d/64

in-band-ip6-assign:        autoconf

gateway-ip:                10.0.0.1

dns-ip:                    10.10.0.13

dns-secondary-ip:          172.10.0.4

domain-name:               pluribusnetworks.com

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

timezone:                  America/Los_Angeles

date:                      2020-01-28,22:14:27

hostid:                    184556370

location-id:               6

enable-host-ports:         yes


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south