3Com S7902E Command Reference Manual - page 2291
1-14
Use the
undo ntp-service
unicast-peer
command to remove the symmetric-passive peer designated
for the device.
No symmetric-passive peer is designated for the device by default.
z
To synchronize the PE to a PE or CE in a VPN, you need to provide
vpn-instance
vpn-instance-name
in your command.
z
If you include
vpn-instance vpn-instance-name
in the
undo ntp-service unicast-peer
command,
the command will remove the symmetric-passive peer with the IP address of
ip-address
in the
specified VPN; if you do not include
vpn-instance vpn-instance-name
in this command, the
command will remove the symmetric-passive peer with the IP address of
ip-address
in the public
network.
Examples
# Designate the device with the IP address of 10.1.1.1 as the symmetric-passive peer of the device, and
configure the device to run NTP version 3, and send NTP messages through VLAN-interface 1.
[Sysname] ntp-service unicast-peer 10.1.1.1 version 3 source-interface vlan-interface 1
ntp-service unicast-server
Syntax
ntp-service
unicast-server
[
vpn-instance vpn-instance-name
] {
ip-address
|
server-name
}
[
authentication-keyid
keyid
|
priority
|
source-interface
interface-type interface-number
|
version
number
] *
undo
ntp-service
unicast-server
[
vpn-instance vpn-instance-name
] {
ip-address
|
server-name
}
View
System view
Default Level
2: System level
Parameters
vpn-instance vpn-instance-name
: Specifies a VPN instance by its name, where
vpn-instance-name
is
a string of 1 to 31 characters.
ip-address
: IP address of the NTP server. It must be a host address, rather than a broadcast address, a
multicast address or the IP address of the local clock.
server-name
: Host name of the NTP server, a string of 1 to 20 characters.
authentication-keyid keyid
: Specifies the key ID to be used for sending NTP messages to the NTP
server, where
keyid
is in the range of 1 to 4294967295.
priority
: Specifies this NTP server as the first choice under the same condition.