Chapter 6: Command line mode
NS3550-8T-2S Industrial Managed Switch User Manual
301
Example:
Enable NTP mode:
NS3552-8P-2S:/>
ip ntp mode enable
IP NTP Server Add
Description:
Add NTP server entry.
Syntax:
IP NTP Server Add <server_index> <ip_addr_string>
Parameters:
<server_index>
: The server index (1-5)
<ip_addr_string>
: IP host address (a.b.c.d) or a host name string
Example:
To add NTP server:
NS3552-8P-2S:/>
ip ntp server add 1 60.249.136.151
IP NTP Server IPv6 Add
Description:
Add NTP server IPv6 entry.
Syntax:
IP NTP Server Ipv6 Add <server_index> <server_ipv6>
Parameters:
<server_index>
: The server index (1-5)
<server_ipv6>
: IPv6 server address. IPv6 address is in 128-bit records
represented as eight fields of up to four hexadecimal digits with a
colon separating each field (:). For example, 'fe80::215:c5ff:fe03:4dc7'.
The symbol '::' is a special syntax that can be used as a shorthand
way of representing multiple 16-bit groups of contiguous zeros; but it
can only appear once. It also uses a following legally IPv4 address.
For example,'::192.1.2.34'
.
Example:
To add IPv6 NTP server:
NS3552-8P-2S:/>
ip
ntp server ipv6 add 1 2001:7b8:3:2c::123
IP NTP Server Delete
Description:
Delete NTP server entry.
Syntax:
IP NTP Server Delete <server_index>
Parameters:
<server_index>
: The server index (1-5)
Example:
To delete NTP server:
NS3552-8P-2S:/>
ip
ntp server delete 1