sntp server priority


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 ]


Configures an IPv6 address for an SNTP server.


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.


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.


Specifies the global IPv6 address of the destination device.


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


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

as the priority "1" and "2" SNTP servers, respectively, using version 7, you would enter these commands at the global config level, as shown below:
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.