19-13
View
System view
Default Level
2: System level
Parameters
interface-type interface-number
: Specifies an interface by its interface type and interface number.
Description
Use the
ntp-service source-interface
command to specify the source interface for NTP messages.
Use the
undo ntp-service source-interface
command to restore the default.
By default, no source interface is specified for NTP messages, and the system uses the IP address of
the interface determined by the matched route as the source IP address of NTP messages.
If you do not wish the IP address of a certain interface on the local device to become the destination
address of response messages, you can use this command to specify the source interface for NTP
messages, so that the source IP address in NTP messages is the primary IP address of this interface.
Examples
# Specify the source interface of NTP messages as VLAN-interface 1.
<Sysname> system-view
[Sysname] ntp-service source-interface vlan-interface 1
ntp-service unicast-peer
Syntax
ntp-service
unicast-peer
[
vpn-instance vpn-instance-name
] {
ip-address
|
peer-name
}
[
authentication-keyid
keyid
|
priority
|
source-interface
interface-type interface-number
|
version
number
] *
undo
ntp-service
unicast-peer
[
vpn-instance vpn-instance-name
] {
ip-address
|
peer-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 symmetric-passive peer. It must be a unicast address, rather than a
broadcast address, a multicast address or the IP address of the local clock.
peer-name
: Host name of the symmetric-passive peer, a string of 1 to 20 characters.
authentication-keyid keyid
: Specifies the key ID to be used for sending NTP messages to the peer,
where
keyid
is in the range of 1 to 4294967295.
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...