sntp server priority
Syntax
sntp server priority
1 - 3 link-local-addr %vlan 1 - 3 [ oobm ][ 1 -7 ]
no sntp server priority
1 - 3 link-local-addr %vlan 1 - 3 [ oobm ][ 1 -7 ]
Description
Configures an IPv6 address for an SNTP server.
Parameters
server priority 1 - 3
-
Specifies the priority of the server addressing being configured. When the SNTP mode is set to unicast and more than one server is configured, this value determines the order in which the configured servers will be accessed for a time value. The switch polls multiple servers in order until a response is received or until all servers on the list have been tried without success. Up to three server addresses (IPv6 and/or IPv4) can be configured.
link-local-addr
-
Specifies the link-local IPv6 address of the destination device.
%vlan vid
-
Suffix specifying the interface on which the destination device is located. No spaces are allowed in the suffix.
global-unicast-addr
-
Specifies the global IPv6 address of the destination device.
oobm
-
For switches that have a separate OOBM port,
oobm
specifies that SNTP traffic goes through that port. (By default, SNTP traffic goes through the data ports.) [ 1 - 7 ]
-
This optional setting specifies the SNTP server version expected for the specified server. Default: 3
Example
To configure link-local and global unicast SNTP server addresses of:
-
fe80::215:60ff:fe7a:adc0 (on VLAN 10, configured on the switch)
-
2001:db8::215:60ff:fe79:8980
Switch(config)# sntp server priority 1 fe80::215:60ff:fe7a:adc0%vlan10 7
Switch(config)# sntp server priority 2 2001:db8::215:60ff:fe79:8980 7
In the preceding example, using a link-local address requires that you specify the local scope for the address; VLAN 10 in this case. This is always indicated by
%vlan
followed immediately (without spaces) by the VLAN identifier.