178 TimeProvider 5000 User’s Guide 098-00028-000 Revision F – May, 2012
Chapter 3
TimeProvider 5000 CLI Command Set
set ntp
Use the set ntp command to configure the NTP parameters for the specified port .
This command allows the user to set the NTP and DSCP (DiffServ Code Point)
states, and to enter the desired values for TTL and DSCP for use in NTP packets.
Command Syntax
To enable or disable NTP on the specified port:
set ntp state ioc1-x {enable | disable}
To set the TTL field in NTP packets:
set ntp ttl ioc1-x <1-255>
To set the value of DSCP to use in NTP packets:
set ntp dscp ioc1-x <0-63>
To enable or disable the DSCP (DiffServ Code Point) field in NTP packets:
set ntp dscp-state ioc1-x {enable | disable}
To set the VLAN ID for the NTP server on the specified port:
set ntp vlan-id ioc1-x <1-4094>
Example 1:
To enable NTP on port 1 of the IOC card:
tp5000> set ntp state ioc1-1 enable
Example 2:
To configure port 1 of the IOC card with a TTL value of 50 to use in NTP packets:
tp5000> set ntp ttl ioc1-1 50
Example 3:
To configure port 1 with a DSCP value of 25 to use in NTP packets:
tp5000> set ntp dscp ioc1-1 25
Example 4:
To enable the DSCP field in NTP packets on port 1:
tp5000> set ntp dscp-state ioc1-1 enable
Level : Config and Admin