Network Time Management Configuration. Content CHAPTER 1 SNTP CONFIGURATION... 1-1 CHAPTER 2 NTP FUNCTION CONFIGURATION... 2-1

Similar documents
Configuring Basic Settings

Configuring NTP. Information About NTP. NTP Overview. Send document comments to CHAPTER

Send document comments to

Domain Name System Server Round-Robin Functionality for the Cisco AS5800

Domain Name System (DNS) Services

Configuring NTP. Information about NTP. NTP Overview. Send document comments to CHAPTER

LAN TCP/IP and DHCP Setup

Interconnecting Cisco Networking Devices Part 2

Configuring DNS. Finding Feature Information

What communication protocols are used to discover Tesira servers on a network?

: Interconnecting Cisco Networking Devices Part 2 v1.1

Configuration Notes 0215

Terminology. Internet Addressing System

Network Layers. CSC358 - Introduction to Computer Networks

CCT vs. CCENT Skill Set Comparison

Domain Name System Submitted in partial fulfillment of the requirement for the award of degree of Computer Science

GS752TP, GS728TP, and GS728TPP Gigabit Smart Switches

Interconnecting Cisco Network Devices 1 Course, Class Outline

Ethernet. Customer Provided Equipment Configuring the Ethernet port.

Ethernet Port Quick Start Manual

Domain Name System :49:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Savvius Insight Initial Configuration

You can specify IPv4 and IPv6 addresses while performing various tasks in this feature. The resource

Understand Names Resolution

Document ID: Introduction

Appendix D: Configuring Firewalls and Network Address Translation

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

How To - Configure Virtual Host using FQDN How To Configure Virtual Host using FQDN

Lab - Observing DNS Resolution

IPv6 Diagnostic and Troubleshooting

How To Load Balance On A Bgg On A Network With A Network (Networking) On A Pc Or Ipa On A Computer Or Ipad On A 2G Network On A Microsoft Ipa (Netnet) On An Ip

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

Lab - Observing DNS Resolution

Management Software AT-S94. WEB User s Guide. For use with the AT-8000S Series Stackable Fast Ethernet Switches. Version

95 Methodist Hill Drive Suite 500 Rochester, New York 14623

AlliedWare Plus Version AT-9000 Layer 2-4 Gigabit Ethernet EcoSwitches Software Release Notes

Step-by-Step Guide for Setting Up IPv6 in a Test Lab

ProSafe Managed Switch

Application Note. SIP Domain Management

GLBP - Gateway Load Balancing Protocol

Lab Configure Basic AP Security through IOS CLI

How To Mirror On An Ipfix On An Rspan Vlan On A Pc Or Mac Or Ipfix (Networking) On A Network On A Pnet (Netnet) On An Uniden (Netlan

Flow Monitor Configuration. Content CHAPTER 1 MIRROR CONFIGURATION CHAPTER 2 RSPAN CONFIGURATION CHAPTER 3 SFLOW CONFIGURATION...

How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.

Application Note Multiple SIParator Distribution

COURSE AGENDA. Lessons - CCNA. CCNA & CCNP - Online Course Agenda. Lesson 1: Internetworking. Lesson 2: Fundamentals of Networking

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

Configuring Basic Settings

BITS-Pilani Hyderabad Campus CS C461/IS C461/CS F303/ IS F303 (Computer Networks) Laboratory 3

Intel Entry Storage System SS4200-E Active Directory Implementation and Troubleshooting

Swiss Time Systems. The new multipurpose time server for the LAN and NTP-based Distributed Time System. by MOBATIME DTS 4138.

Guideline for setting up a functional VPN

Lesson Plans Managing a Windows 2003 Network Infrastructure

Hosting more than one FortiOS instance on. VLANs. 1. Network topology

ACS 5.x and later: Integration with Microsoft Active Directory Configuration Example

Chapter 7 Troubleshooting

How To Learn Cisco Cisco Ios And Cisco Vlan

MCSE Core exams (Networking) One Client OS Exam. Core Exams (6 Exams Required)

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

SSVP SIP School VoIP Professional Certification

IPv6 for Cisco IOS Software, File 2 of 3: Configuring

How to configure WFS (Windows File Sharing ) Acceleration on SonicWALL WAN Acceleration Appliances

Sample Configuration Using the ip nat outside source static

Precision Clocks When you absolutely can't afford a time shift Installation and Operation Manual

NetSpective Global Proxy Configuration Guide

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

SSVVP SIP School VVoIP Professional Certification

Management Software. User s Guide AT-S84. For the AT-9000/24 Layer 2 Gigabit Ethernet Switch. Version Rev. B

How To Understand and Configure Your Network for IntraVUE

Lab 3.5.1: Basic VLAN Configuration (Instructor Version)

Securing Networks with PIX and ASA

Lab Diagramming External Traffic Flows

Implementing, Managing, and Maintaining a Microsoft Windows Server 2003 Network Infrastructure

HTG XROADS NETWORKS. Network Appliance How To Guide: EdgeDNS. How To Guide

Device Interface IP Address Subnet Mask Default Gateway

Topic 7 DHCP and NAT. Networking BAsics.

Flow Monitor Configuration. Content CHAPTER 1 MIRROR CONFIGURATION CHAPTER 2 SFLOW CONFIGURATION CHAPTER 3 RSPAN CONFIGURATION...

Configure IOS Catalyst Switches to Connect Cisco IP Phones Configuration Example

P and FTP Proxy caching Using a Cisco Cache Engine 550 an

ECE 4321 Computer Networks. Network Programming

KX-UT113/KX-UT123 KX-UT133/KX-UT136 KX-UT248

MINIMUM NETWORK REQUIREMENTS 1. REQUIREMENTS SUMMARY... 1

Innominate mguard Version 6

PT Activity 8.1.2: Network Discovery and Documentation Topology Diagram

Additional Information: A link to the conference website is available at:

Exam : Title : TS: Windows Server 2008 Network Infrastructure, Configuring Ver :

Chapter 6. About This Chapter. Before You Begin. Windows 2000 Naming Schemes. [Previous] [Next]

L2/L3 Switches. System. Configuration Guide

Domain Name System (DNS)

Networking 4 Voice and Video over IP (VVoIP)

How to Configure Captive Portal

Configuring SSL Termination

The Cisco IOS Firewall feature set is supported on the following platforms: Cisco 2600 series Cisco 3600 series

"Charting the Course...

Broadband Phone Gateway BPG510 Technical Users Guide

IP Power Stone 4000 User Manual

Introduction to the Domain Name System

Break Internet Bandwidth Limits Higher Speed. Extreme Reliability. Reduced Cost.

HP A5820X & A5800 Switch Series Network Management and Monitoring. Configuration Guide. Abstract

Chapter 10 Troubleshooting

Transcription:

Content Content CHAPTER 1 SNTP CONFIGURATION... 1-1 1.1 INTRODUCTION TO SNTP... 1-1 1.2 TYPICAL EXAMPLES OF SNTP CONFIGURATION... 1-1 CHAPTER 2 NTP FUNCTION CONFIGURATION... 2-1 2.1 INTRODUCTION TO NTP FUNCTION... 2-1 2.2 NTP FUNCTION CONFIGURATION TASK LIST... 2-1 2.3 TYPICAL EXAMPLES OF NTP FUNCTION... 2-3 2.4 NTP FUNCTION TROUBLESHOOTING... 2-3 CHAPTER 3 DNSV4/V6 CONFIGURATION... 3-1 3.1 INTRODUCTION TO DNS... 3-1 3.2 DNSV4/V6 CONFIGURATION TASK LIST... 3-1 3.3 TYPICAL EXAMPLES OF DNS... 3-3 3.4 DNS TROUBLESHOOTING... 3-4 CHAPTER 4 SUMMER TIME CONFIGURATION... 4-1 4.1 INTRODUCTION TO SUMMER TIME... 4-1 4.2 SUMMER TIME CONFIGURATION TASK SEQUENCE... 4-1 4.3 EXAMPLES OF SUMMER TIME... 4-1 4.4 SUMMER TIME TROUBLESHOOTING... 4-1 1

Chapter 1 SNTP Configuration Chapter 1 SNTP Configuration 1.1 Introduction to SNTP The Network Time Protocol (NTP) is widely used for clock synchronization for global computers connected to the Internet. NTP can assess packet sending/receiving delay in the network, and estimate the computer s clock deviation independently, so as to achieve high accuracy in network computer clocking. In most positions, NTP can provide accuracy from 1 to 50ms according to the characteristics of the synchronization source and network route. Simple Network Time Protocol (SNTP) is the simplified version of NTP, removing the complex algorithm of NTP. SNTP is used for hosts who do not require full NTP functions; it is a subset of NTP. It is common practice to synchronize the clocks of several hosts in local area network with other NTP hosts through the Internet, and use those hosts to provide time synchronization service for other clients in LAN. The figure below depicts a NTP/SNTP application network topology, where SNTP mainly works between second level servers and various terminals since such scenarios do not require very high time accuracy, and the accuracy of SNTP (1 to 50 ms) is usually sufficient for those services. Fig 1-1 Working Scenario 1-1

Chapter 1 SNTP Configuration Switch implements SNTPv4 and supports SNTP client unicast as described in RFC2030; SNTP client multicast and unicast are not supported, nor is the SNTP server function. 1.2 Typical Examples of SNTP Configuration SNTP/NTP SERVER SNTP/NTP SERVER SWITCH SWITCH SWITCH Fig 1-2 Typical SNTP Configuration All switches in the autonomous zone are required to perform time synchronization, which is done through two redundant SNTP/NTP servers. For time to be synchronized, the network must be properly configured. There should be reachable route between any switch and the two SNTP/NTP servers. Example: Assume the IP addresses of the SNTP/NTP servers are 10.1.1.1 and 20.1.1.1, respectively, and SNTP/NTP server function (such as NTP master) is enabled, then configurations for any switch should like the following: Switch#config Switch(config)#sntp server 10.1.1.1 1-2

Chapter 2 NTP Function Configuration Chapter 2 NTP Function Configuration 2.1 Introduction to NTP Function The NTP (Network Time Protocol) synchronizes timekeeping spans WAN and LAN among distributed time servers and clients, it can get millisecond precision. The introduction of event, state, transmit function and action are defined in RFC-1305. The purpose of using NTP is to keep consistent timekeeping among all clock-dependent devices within the network so that the devices can provide diverse applications based on the consistent time. For a local system running NTP, its time can be synchronized by other reference sources and can be used as a reference source to synchronize other clocks, also can synchronize each other by transmit NTP packets. 2.2 NTP Function Configuration Task List 1. To enable NTP function 2. To configure NTP server function 3. To configure the max number of broadcast or multicast servers supported by the NTP client 4. To configure time zone 5. To configure NTP access control list 6. To configure NTP authentication 7. To specified some interface as NTP broadcast/multicast client interface 8. To configure some interface can t receive NTP packets 9. Display information 10. Debug 1. To enable NTP function ntp enable ntp disable To enable or disable NTP function. 2. To configure NTP server function 2-1

Chapter 2 NTP Function Configuration ntp server {<ip-address> <ipv6-address>} [version <version_no>] [key <key-id>] no ntp server {<ip-address> <ipv6-address>} To enable the specified time server of time source. 3. To configure the max number of broadcast or multicast servers supported by the NTP client Set the max number of broadcast or multicast servers supported by the NTP ntp broadcast server count <number> client. The no operation will cancel the no ntp broadcast server count configuration and restore the default value. 4. To configure time zone clock timezone WORD {add subtract} <0-23> [<0-59>] no clock timezone WORD This command configures timezone in global mode, the no command deletes the configured timezone. 5. To configure NTP access control list ntp access-group server <acl> no ntp access-group server < acl> To configure NTP server access control list. 6. To configure NTP authentication ntp authenticate no ntp authenticate ntp authentication-key <key-id> md5 <value> no ntp authentication-key <key-id> To enable NTP authentication function. To configure authentication key for NTP authentication. 2-2

Chapter 2 NTP Function Configuration ntp trusted-key <key-id> no ntp trusted-key <key-id> To configure trusted key. 7. To specified some interface as NTP broadcast/multicast client interface vlan Configuration Mode ntp broadcast client no ntp broadcast client ntp multicast client no ntp multicast client ntp ipv6 multicast client no ntp ipv6 multicast client To configure specified interface to receive NTP broadcast packets. To configure specified interface to receive NTP multicast packets. To configure specified interface to receive IPv6 NTP multicast packets. 8. To configure some interface can t receive NTP packets vlan Configuration Mode ntp disable To disable the NTP function. no ntp disable 9. Display information Admin Mode show ntp status show ntp session [ <ip-address> <ipv6-address> ] To display the state of time synchronize. To display the information of NTP session. 10. Debug Admin Mode debug ntp authentication no debug ntp authentication To enable debug switch of NTP authentication. debug ntp packets [send receive] no debug ntp packets [send receive] To enable debug switch of NTP packet information. 2-3

Chapter 2 NTP Function Configuration debug ntp adjust no debug ntp adjust To enable debug switch of time update information. debug ntp sync no debug ntp sync To enable debug switch of time synchronize information. debug ntp events no debug ntp events To enable debug switch of NTP event information. 2.3 Typical Examples of NTP Function A client switch wanted to synchronize time with time server in network, there is two time server in network, the one is used as host, the other is used as standby, the connection and configuration as follows (Switch A and Switch B are the switch or route which support NTP server ): The configuration of Switch C is as follows: (Switch A and Switch B may have the different command because of different companies, we not explain there, our switches are not support NTP server at present) Switch C: Switch(config)#ntp enable Switch(config)#interface vlan 1 Switch(Config-if-Vlan1)#ip address 192.168.1.12 255.255.255.0 Switch(config)#interface vlan 2 Switch(Config-if-Vlan1)#ip address 192.168.2.12 255.255.255.0 Switch(config)#ntp server 192.168.1.11 Switch(config)#ntp server 192.168.2.11 2-4

Chapter 2 NTP Function Configuration 2.4 NTP Function Troubleshooting In configuration procedures, if there is error occurred, the system can give out the debug information. The NTP function disables by default, the show command can be used to display current configuration. If the configuration is right please use debug every relative debugging command and display specific information in procedure, and the function is configured right or not, you can also use show command to display the NTP running information, any questions please send the recorded message to the technical service center. 2-5

Chapter 3 DNSv4/v6 Configuration Chapter 3 DNSv4/v6 Configuration 3.1 Introduction to DNS DNS (Domain Name System) is a distributed database used by TCP/IP applications to translate domain names into corresponding IPv4/IPv6 addresses. With DNS, you can use easy-to-remember and signification domain names in some applications and let the DNS server translate them into correct IPv4/IPv6 addresses. There are two types of DNS services, static and dynamic, which supplement each other in application. Each time the DNS server receives a name query it checks its static DNS database first before looking up the dynamic DNS database. Some frequently used addresses can be put in the static DNS database, the reduction the searching time in the dynamic DNS database would increase efficiency. The static domain name resolution means setting up mappings between domain names and IPv4/IPv6 addresses. IPv4/IPv6 addresses of the corresponding domain names can be found in the static DNS database when you use some applications. Dynamic domain name resolution is implemented by querying the DNS server. A user program sends a name query to the resolver in the DNS client when users want to use some applications with domain name, the DNS resolver looks up the local domain name cache for a match. If a match is found, it sends the corresponding IPv4/IPv6 address back to the switch. If no match is found, it sends a query to a higher DNS server. This process continues until a result, whether success or failure, is returned. The Domain Name System (DNS) is a hierarchical naming system for computers, services, or any resource participating in the Internet. It associates various information with domain names assigned to such participants. Most importantly, it translates humanly meaningful domain names to the numerical (binary) identifiers associated with networking equipment for the purpose of locating and addressing these devices world-wide. An often used analogy to explain the Domain Name System is that it serves as the "phone book" for the Internet by translating human-friendly computer hostnames into IP addresses. The Domain Name System makes it possible to assign domain names to groups of Internet users in a meaningful way, independent of each user's physical location. Because of this, World-Wide Web (WWW) hyperlinks and Internet contact information can remain consistent and constant even if the current Internet routing arrangements change or the participant uses a mobile device. Internet domain names are easier to remember than IP addresses such as 208.77.188.166(IPv4) or 2001:db8:1f70::999:de8:7648:6e8 (IPv6). People take advantage of this when they recite meaningful URLs and e-mail addresses 3-1

Chapter 3 DNSv4/v6 Configuration without having to know how the machine will actually locate them. The Domain Name System distributes the responsibility for assigning domain names and mapping them to Internet Protocol (IP) networks by designating authoritative name servers for each domain to keep track of their own changes, avoiding the need for a central register to be continually consulted and updated. In general, the Domain Name System also stores other types of information, such as the list of mail servers that accept email for a given Internet domain. By providing a world-wide, distributed keyword-based redirection service, the Domain Name System is an essential component of the functionality of the Internet. 3.2 DNSv4/v6 Configuration Task List 1. To enable/disable DNS function 2. To configure/delete DNS server 3. To configure/delete domain name suffix 4. To delete the domain entry of specified address in dynamic cache 5. To enable DNS dynamic domain name resolution 6. Enable/disable DNS SERVER function 7. Configure the max number of client information in the switch queue 8. Configure the timeout value of caching the client information on the switch 9. Monitor and diagnosis of DNS function 1. To enable/disable DNS function ip domain-lookup no ip domain-lookup To enable/disable DNS dynamic lookup function. 2. To configure/delete DNS server dns-server {<ip-address> <ipv6-address>} [priority <value>] no dns-server {<ip-address> <ipv6-address>} To configure DNS server, the no form of this command deletes DNS server. 3. To configure/delete domain name suffix 3-2

Chapter 3 DNSv4/v6 Configuration ip domain-list <WORD> no ip domain-list <WORD> To configure/delete domain name suffix. 4. To delete the domain entry of specified address in dynamic cache Admin Mode clear dynamic-host {<ip-address> To delete the domain entry of specified <ipv6-address> all} address in dynamic cache. 5. To enable DNS dynamic domain name resolution To enable DNS dynamic domain name dns lookup {ipv4 ipv6} <hostname> resolution. 6. Enable/disable DNS SERVER function ip dns server no ip dns server Enable/disable DNS SERVER function. 7. Configure the max number of client information in the switch queue ip dns server queue maximum Configure the max number of client <1-5000> information in the switch queue. no ip dns server queue maximum 8. Configure the timeout value of caching the client information on the switch ip dns server queue timeout <1-100> Configure the timeout value of caching the no ip dns server queue timeout client information on the switch. 9. Monitor and diagnosis of DNS function Admin Mode and Configuration Mode 3-3

Chapter 3 DNSv4/v6 Configuration show dns name-server show dns domain-list show dns hosts show dns config show dns client debug dns {all packet [send recv] events relay} no debug dns {all packet [send recv] events relay} To show the configured DNS server information. To show the configured DNS domain name suffix information. To show the dynamic domain name information of resolved by switch. Display the configured global DNS information on the switch. Display the DNS Client information maintained by the switch. To enable/disable DEBUG of DNS function. 3.3 Typical Examples of DNS ip domain-lookup dns-server 219.240.250.101 dns-server 2001::1 DNS SERVER IP: 219.240.250.101 IPv6: 2001::1 SWITCH INTERNET Fig 3-1 DNS CLIENT typical environment As shown in fig, the switch connected to DNS server through network, if the switch want to visit sina Website, it needn t to know the IPv4/IPv6 address of sina Website, only need is to record the domain name of sina Website is www.sina.com.cn. The DNS server can resolute out the IPv4/IPv6 address of this domain name and send to switch, then the switch can visit sina Website correctly. The switch is configured as DNS client, basic configurations are as below: first to enable DNS dynamic domain name resolution function on switch, and configure DNS server address, then with some kinds of tools such as PING, the switch can get corresponding IPv4/IPv6 address with dynamic domain name 3-4

Chapter 3 DNSv4/v6 Configuration resolution function. client SWITCH INTERNET DNS SERVER IP:219.240.250.101 IPv6:2001::1 Fig 3-2 DNS SERVER typical environment The figure above is an application of DNS SERVER. Under some circumstances, the client PC doesn t know the real DNS SERVER, and points to the switch instead. The switch plays the role of a DNS SERVER in two steps: Enable the global DNS SERVER function, configure the IP address of the real DNS server. After the DNS SERVER function is globally enabled, the switch will look up its local cache when receiving a DNS request from a client PC. If there is a domain needed by the local client, it will directly answer the client s request; otherwise, the switch will relay the request to the real DNS server, pass the reply from the DNS Server to the client and record the domain and its IP address for a faster lookup in the future. Switch configuration for DNS CLIENT: Switch(config)# ip domain-lookup Switch(config)# dns-server 219.240.250.101 Switch(config)# dns-server 2001::1 Switch#ping host www.sina.com.cn Switch#traceroute host www.sina.com.cn Switch#telnet host www.sina.com.cn Switch configuration for DNS SERVER: Switch(config)# ip domain-lookup Switch(config)# dns-server 219.240.250.101 Switch(config)# dns-server 2001::1 Switch(config)# ip dns server 3.4 DNS Troubleshooting In configuring and using DNS, the DNS may fail due to reasons such as physical 3-5

Chapter 3 DNSv4/v6 Configuration connection failure or wrong configurations. The user should ensure the following: First make sure good condition of the TACACS+ server physical connection; Second all interface and link protocols are in the UP state (use show interface command); Then please make sure that the DNS dynamic lookup function is enabled (use the ip domain-lookup command) before enabling the DNS CLIENT function. To use DNS SERVER function, please enable it (use the ip dns server command); Finally ensure configured DNS server address (use dns-server command), and the switch can ping DNS server; If the DNS problems remain unsolved, please use debug DNS all and other debugging command and copy the DEBUG message within 3 minutes, send the recorded message to the technical service center of our company. 3-6

Chapter 4 Summer Time Configuration Chapter 4 Summer Time Configuration 4.1 Introduction to Summer Time Summer time is also called daylight saving time, it is a time system for saving energy sources. In summer the time is advanced 1 hour to keep early hours, reduce the lighting, so as to save electrolighting. The rule that adopt summer time is different in each country. At present, almost 110 countries implement summer time. Compare with the standard time, usually set summer time 1 hour late, for example, when summer time is implementing, 10:00 am of the standard time is considered 11:00 am of summer time. 4.2 Summer Time Configuration Task Sequence 1. Configure absolute or recurrent time range of summer time clock summer-time <word> absolute Set absolute time range of summer time, <HH:MM> <YYYY.MM.DD> <HH:MM> start and end summer time is configured <YYYY.MM.DD> [<offset>] with specified year. no clock summer-time clock summer-time <word> recurring <HH:MM> <MM.DD> <HH:MM> <MM.DD> [<offset>] Set recurrent time range of summer time, every year the summer time begins from the start time and end at the end time. no clock summer-time clock summer-time <word> recurring Set recurrent time range of summer time, <HH:MM> <week> <day> <month> every year the summer time begins from <HH:MM> <week> <day> <month> the start time and end at the end time. [<offset>] no clock summer-time 4-1

Chapter 4 Summer Time Configuration 4.3 Examples of Summer Time Example1: The configuration requirement in the following: The summer time from 23:00 on April 1th, 2012 to 00:00 on October 1th, 2012, clock offset as 1 hour, and summer time is named as 2012. Configuration procedure is as follows: Switch(config)# clock summer-time 2012 absolute 23:00 2012.4.1 00:00 2012.10.1 Example2: The configuration requirement in the following: The summer time from 23:00 on the first Saturday of April to 00:00 on the last Sunday of October year after year, clock offset as 2 hours, and summer time is named as time_travel. Configuration procedure is as follows: Switch(config)#clock summer-time time_travel recurring 23:00 first sat apr 00:00 last sun oct 120 4.4 Summer Time Troubleshooting If there is any problem happens when using summer time, please check whether the problem is caused by the following reasons: Check whether command mode in global mode Check whether system clock is correct 4-2