The SBC SWe on AWS uses 169.254.169.123 as the default NTP server IP address to ensure the SBC time is in sync with AWS.
For more information, refer to: https://aws.amazon.com/blogs/aws/keeping-time-with-amazon-time-sync-service/.
The SBC SWe supports enabling multiple NTP servers. The SBC SWe syncs with each respective server, based on the amount of time it takes for the NTP server to respond. The "NTPQ" peers list the configured NTP servers with the current role using the following details:
When the SBC AWS instance is created, the default NTP server is ntp serverAdmin 169.254.169.123
.
To synchronize the NTP server with the SBC SWe on AWS, execute the following commands:
set addressContext default ipInterfaceGroup LIF1 ipInterface F1 portName pkt0 ipVarV4 IF2.IPV4 prefixVarV4 IF2.PrefixV4 state enabled mode inService commit set addressContext default ipInterfaceGroup LIF2 ipInterface F2 portName pkt1 ipVarV4 IF3.IPV4 prefixVarV4 IF3.PrefixV4 state enabled mode inService commit set addressContext default zone ZONE1 id 2 commit set addressContext default zone ZONE1 sipSigPort 1 portNumber 5060 transportProtocolsAllowed sip-tcp,sip-udp ipInterfaceGroupName LIF1 ipVarV4 IF2.IPV4 commit set addressContext default zone ZONE1 sipSigPort 1 mode inService state enabled commit set addressContext default zone ZONE2 id 3 commit set addressContext default zone ZONE2 sipSigPort 3 portNumber 5060 transportProtocolsAllowed sip-tcp,sip-udp ipInterfaceGroupName LIF2 ipVarV4 IF3.IPV4 commit set addressContext default zone ZONE2 sipSigPort 3 state enabled mode inService commit set addressContext default zone ZONE1 sipTrunkGroup SIP_INGRESS_TG mode inService state enabled media mediaIpInterfaceGroupName LIF1 commit set addressContext default zone ZONE1 sipTrunkGroup SIP_INGRESS_TG ingressIpPrefix 172.31.12.176 32 commit set addressContext default zone ZONE2 sipTrunkGroup SIP_EGRESS_TG mode inService state enabled media mediaIpInterfaceGroupName LIF2 commit set addressContext default zone ZONE2 ipPeer EGRESS_PEER ipAddress 172.31.13.25 ipPort 4030 commit set global callRouting routingLabel CLOUD routingLabelRoute 0 ipPeer EGRESS_PEER trunkGroup SIP_EGRESS_TG inService inService commit set global callRouting route trunkGroup SIP_INGRESS_TG VSBCSYSTEM standard Sonus_NULL 1 all all ALL none Sonus_NULL routingLabel CLOUD commit set profiles signaling ipSignalingProfile IPSP_A commit set profiles signaling ipSignalingProfile IPSP_B commit set addressContext default zone ZONE1 sipTrunkGroup SIP_INGRESS_TG signaling timers sessionKeepalive 0 commit set addressContext default zone ZONE2 sipTrunkGroup SIP_EGRESS_TG signaling timers sessionKeepalive 0 commit set addressContext default zone ZONE1 sipTrunkGroup SIP_INGRESS_TG policy signaling ipSignalingProfile IPSP_A commit set addressContext default zone ZONE2 sipTrunkGroup SIP_EGRESS_TG policy signaling ipSignalingProfile IPSP_B commit set profiles media packetServiceProfile PSP_A codec codecEntry1 G711-DEFAULT commit set profiles media packetServiceProfile PSP_A packetToPacketControl codecsAllowedForTranscoding thisLeg g711u commit set profiles media packetServiceProfile PSP_B codec codecEntry1 G729A-DEFAULT commit set profiles media packetServiceProfile PSP_B packetToPacketControl codecsAllowedForTranscoding thisLeg g729 commit set addressContext default zone ZONE1 sipTrunkGroup SIP_INGRESS_TG policy media packetServiceProfile PSP_A commit set addressContext default zone ZONE2 sipTrunkGroup SIP_EGRESS_TG policy media packetServiceProfile PSP_B commit set system ntp serverAdmin 169.254.169.123 commit set system ntp serverAdmin 169.254.169.123 state enabled commit set system ntp timeZone vsbcSystem zone asia-Kolkata commit set system ntp serverAdmin 169.254.169.123 minPoll 4 co set system ntp serverAdmin 169.254.169.123 maxPoll 16 co set oam eventLog typeAdmin debug filterLevel major commit set oam eventLog typeAdmin system filterLevel major commit set oam eventLog typeAdmin audit filterLevel major commit set addressContext default staticRoute 54.165.49.37 32 172.31.12.1 LIF1 F1 preference 100 commit set addressContext default staticRoute 0.0.0.0 0 172.31.13.1 LIF1 F1 preference 100 commit set oam eventLog typeAdmin acct fileCount 100 commit set oam eventLog typeAdmin acct fileSize 65535 commit set table system sweActiveProfile name standard_transcoding_profile commit
To edit the NTP server, perform the following steps:
root
user.Navigate to Configuration > System Setup > NTP > Server Admin.
Select the NTP server which is enabled. The Edit Selected Server Admin is displayed.
Select the Disable option. The message "Setting all NTP peers to disabled may be service affecting. Do you wish to continue?" is displayed.
Click Yes.
Make the required changes and click Save at the right hand bottom of the panel to save the changes.
To create a new Server Admin, click the New Server Admin tab on the Server Admin List panel.
The Create New Server Admin window is displayed.
Enter all the required fields. You can click Show only required fields at the left hand bottom of the panel to view and enter only the required fields to create a new Server Admin.
The following fields are displayed:
Make the required changes and click Save at the bottom right of the panel to save the changes made.