Use this procedure to configure the VLNC4x/VLNC6x time and date using Simple Network Time Protocol (SNTP).
Before you perform this procedure, you must have the following:
You must have already configured your network with the necessary network IP addresses.
You must know the IP address for the SNTP server you are using.
You must know the client mode (broadcast or unicast), client port (if other than 123), broadcast poll-interval, client poll-interval, poll-retry, and poll-timeout values you will use.
You must be familiar with the Command Line Interface (CLI).
Important!
The example commands in this procedure use an arbitrary prompt (ALU Switching) in illustrating the commands. The actual default prompt may appear or the prompt you chose when setting up the system using the set prompt command.
1 |
From the User EXEC prompt, [(ALU Switching) >], enter enable to enter the user privilege mode. Result: The user privilege prompt [(ALU Switching) #] displays. |
2 |
From the user privilege prompt, enter configure to enter the Global Config mode. Result: The Global Config prompt [(ALU Switching)(Config)#] displays. |
3 |
From the Global Config Mode, enter sntp server ipaddress [<priority> [<version> [<portid>]]], where ipaddress is the IP address of the SNTP time server you are using; priority is a value from 1 to 3 for each of servers; version is the IPv( ) version; and portid is a value from 1-65535, default 123. Generally, the priority, version, and portid are optional parameters. A maximum of three servers may be chosen. SNTP servers operating in multicast/broadcast mode periodically send out messages to designated local broadcast addresses or multicast group IP addresses and generally do not expect requests from sntp clients. SNTP servers in muticast mode may also accept unicast client requests as well as send out periodic messages. In unicast mode, the unicast client (VLNC4x/VLNC6x) sends a request to the SNTP server and expects to receive a reply from the server. |
4 |
From the Global Config Mode, enter sntp client mode {broadcast | unicast}, where broadcast or unicast is the mode you are going to use. In unicast mode, the client (VLNC4x/VLNC6x) sends a request to the SNTP server and expects to receive a reply from the server. In broadcast mode, the client (VLNC4x/VLNC6x) sends no request but waits for a broadcast message from one or more servers depending on the configuration. |
5 |
If required, from the Global Config Mode, enter sntp client port <portid>, where portid is a value from 1-65535, default 123. Important! Port 123 is the port assigned to NTP. It generally does not need to be changed. |
6 |
Configure broadcast client poll-interval, if required in broadcast mode. From the Global Config Mode, enter sntp broadcast client poll-interval <poll-interval> where poll-interval is a value in seconds as a power of two where poll-interval is a value from 6 to 10. For example, 2 to the power of 6 equals 64 seconds, 2 to the power of 10 equals 1024 seconds, default is 6. |
7 |
Configure unicast client parameters, if required in unicast mode. From the Global Config Mode, enter sntp unicast client poll-interval <poll-interval> where poll-interval is a value in seconds as a power of two where poll-interval is a value from 6 to 10. For example, 2 to the power of 6 equals 64 seconds, 2 to the power of 10 equals 1024 seconds, default is 6. Enter sntp unicast client poll-retry <poll-retry> where poll-retry is a value in seconds from 0 to 10, default is 1. |
8 |
Refer to the Alcatel-Lucent 1850 Transport Service Switch (TSS-5) Command Line Interface Guide, for help on using other CLI commands. End of steps |
Copyright © 2011 Alcatel-Lucent. All rights reserved. |