Setting the Date and Time


You can set the date and time on a switch by modifying the switch configuration using the switch-setup-modify command. For example, to change the date and time to September 24, 2019, 09:30:00, use the following command syntax:


CLI (network-admin@Leaf1) > switch-setup-modify date 2019-09-24T09:30:00


To display the configured setting,  use the switch-setup-show command:


CLI (network-admin@Leaf2) > switch-setup-show 

switch-name:               Leaf2

mgmt-ip:                   10.14.30.18/23

mgmt-ip-assignment:        static

mgmt-ip6:                  2721::3617:ebff:fef7:94c4/64

mgmt-ip6-assignment:       autoconf

mgmt-link-state:           up

mgmt-link-speed:           1g

in-band-ip:                192.168.101.7/24

in-band-ip6:               fe80::640e:94ff:fe83:cefa/64

in-band-ip6-assign:        autoconf

gateway-ip:                10.14.30.1

dns-ip:                    10.20.4.1

dns-secondary-ip:          172.16.1.4

domain-name:               pluribusnetworks.com

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

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

timezone:                  America/Los_Angeles

date:                      2019-09-24,09:30:00

hostid:                    184555395

location-id:               7

enable-host-ports:         yes

banner:                    * Welcome to Pluribus Networks Inc. Netvisor(R). This is a monitored system.   *

device-id:                 1WDQX42

banner:                    *                ACCESS RESTRICTED TO AUTHORIZED USERS ONLY                    *

banner:                    * By using the Netvisor(R) CLI,you agree to the terms of the Pluribus Networks *

banner:                    * End User License Agreement (EULA). The EULA can be accessed via              *

banner:                    * http://www.pluribusnetworks.com/eula or by using the command "eula-show"     *


Changing the Default Timezone


By default, Netvisor sets the default timezone to US/Pacific Standard Time (PST). 


To change the timezone, use the switch-setup-modify command:


CLI (network-admin@Leaf1) > switch-setup-modify timezone time-zone name


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south