5 show sntp, Show sntp – PLANET XGS3-24042 User Manual
Page 1126
68-10
ip-address: IPv4 address of time server
ipv6-address: IPv6 address of time server
source: Specify the interface of the source address
vlan: Configure the virtual LAN
vlan no: Virtual LAN number, ranging from 1 to 4094
loopback: Configure loopback interface
loopback no: Loopback identifier, ranging from 1 to 1024
version: Configure the version for the server
version_no: Version number, ranging from 1 to 4, the default is 4
Default:
Do not configure the time server.
Command Mode:
Global mode
Example:
Configure the time server address as 1.1.1.1, specify the interface of the source address as vlan1:
Switch(config)#sntp server 1.1.1.1 source vlan 1
Delete the time server that the address is 1.1.1.1, the interface of the specified source address is
vlan1:
Switch(config)#no sntp server 1.1.1.1 source vlan 1
68.5 show sntp
Command:
show sntp
Function:
Displays current SNTP client configuration and server status.
Command Mode:
Admin and Configuration Mode.
Example:
Displaying current SNTP configuration.
Switch#show sntp
SNTP server Version Last Receive
2.1.0.2 1 6