
62-372
Example:
Enable the function for receiving NTP multicast packets on vlan1 interface.
Switch(Config)# interface vlan 1
Switch(Config-if-Vlan1)#ntp multicast client
62.15 ntp server
Command:
ntp server {<
ip-address> | <ipv6-address>
} [version
<version_no
>] [key <
key-id
>]
no ntp server {<
ip-address>|<ipv6-address>
}
Function:
To enable specified time server of time source, the no form of this command cancels the specified time server of time
source.
Parameter:
ip-address: IPv4 address of time server.
ipv6-address: IPv6 address of time server.
version: The version information configured for server.
version_no: The version number of server, range is from 1 to 4, default is 4.
key: To configure key for server.
key-id: The key id.
Default:
Disabled.
Command Mode:
Global Mode.
Usage Guide:
None.
Example:
To configure time server address as 1.1.1.1 on switch.
Switch(config)#ntp server 1.1.1.1