:TRICK-MAN:™ FOREVER, Since 2007  
Front Page
Tag | Location | Media | Guestbook | Admin   
 
IEEE-1588v2 메세지 흐름

IEEE-1588v2 메시지의 처리 순서는 다음과 같다.



1. Slave -> Master 에게 REQUEST_UNICAST_TRANSMISSION Signaling 요청 메시지를 송신한다.
   (Announce 주기를 요청, Lease Duration 포함)

2. Master -> Slave 에게 GRANT_UNICAST_TRANSMISSION Signaling 응답 메시지를 전송한다.

3. Master -> Slave에게 Announce 메시지를 요청한 갯수만큼 초당 n개씩 메시지를 전달한다.

4. Slave는 다시 Master에게 REQUEST_UNICAST_TRANSMISSION Signaling 요청 메시지를 송신한다.
   (Sync 주기를 요청, Lease Duration 포함)

5. Master -> Slave에게 GRANT_UNICAST_TRANSMISSION Signaling 응답 메시지를 전송한다.

6. Master -> Slave에게 Sync 메시지를 요청한 갯수만큼 초당 n개씩 메시지를 전달한다. 
   * TWO_STEP Clock 인 경우에는 Follow_Up 메시지를 이어서 전송한다.

7. Slave -> Master 에게 네트워크 DELAY 보정용 DELAY_REQ 메시지를 송신한다.

8. Master -> Slave 에게 DELAY_RESP 메시지로 응답한다.

9. Lease Duration이 지나면 Slave는 Master에게 CANCEL_UNICAST_TRANSMISSION Signaling 요청 메시지를
   송신하여 세션을 종료한다.

10. Master -> Slave 에게 ACKNOWLEDGE_CANCEL_UNICAST_TRANSMISSION 메시지로 응답하고 세션을
    종료한다.
 

1 ~ 10 번과정을 반복하여 Slave는 Master의 클럭으로 동기화한다.

---8< --- Cut Here --- >8 ---

/* TLV Types */

#define PTP_V2_TLV_TYPE_RESERVED 0x0000
#define PTP_V2_TLV_TYPE_MANAGEMENT 0x0001
#define PTP_V2_TLV_TYPE_MANAGEMENT_ERROR_STATUS 0x0002
#define PTP_V2_TLV_TYPE_ORGANIZATION_EXTENSION 0x0003
#define PTP_V2_TLV_TYPE_REQUEST_UNICAST_TRANSMISSION        0x0004
#define PTP_V2_TLV_TYPE_GRANT_UNICAST_TRANSMISSION 0x0005
#define PTP_V2_TLV_TYPE_CANCEL_UNICAST_TRANSMISSION 0x0006
#define PTP_V2_TLV_TYPE_ACKNOWLEDGE_CANCEL_UNICAST_TRANSMISSION 0x0007
#define PTP_V2_TLV_TYPE_PATH_TRACE 0x0008
#define PTP_V2_TLV_TYPE_ALTERNATE_TIME_OFFSET_INDICATOR        0x0009
#define PTP_V2_TLV_TYPE_AUTHENTICATION 0x2000
#define PTP_V2_TLV_TYPE_AUTHENTICATION_CHALLENGE 0x2001
#define PTP_V2_TLV_TYPE_SECURITY_ASSOCIATION_UPDATE 0x2002
#define PTP_V2_TLV_TYPE_CUM_FREQ_SCALE_FACTOR_OFFSET        0x2003

---8< --- Cut Here --- >8 ---

* 아래 그림은 SLAVE -> MASTER tlvType이 4인 REQUEST_UNICAST_TRANSMISSION 메시지 덤프화면이다. ^^




 



IEEE-1588 Profiles

IEEE-1588v2 와 관련하여 Telco에서는 2가지의 Profile을 적용할 수 있습니다.

1) IEEE 1588 - 2008

2) ITU-T G.8265.1 Telecom Profile

IEEE-1588에서는 Profile(프로파일)을 아래와 같이 정의한다.
"한 디바이스에 적용할 수 있는 허용되는 PTP 기능의 집합"

PTP Profile의 목적은 단체들이(organizations) 동일한 전송망을 사용할 때 특정한 어플리케이션의 요구조건을 만족하는 성능을 성취하기 위하여 PTP(Precision Time Protocol)의 선택적으로 속성값(attribute values) 및 옵션 사항을 사용하는 것을 허락하는 것이다.

PTP Profile은 다음의 사항을 정의해야 한다.

1) Best master clock algorithms options

2) Configuration management options

3) Path delay mechanisms

4) The range and default values of all PTP configurable attributes and data set members

5) The transport mechanisms require, permitted, or prohibited

6) The node types required, permitted, or prohibited

7) The options required, permitted, or prohibited


예를 들어 IEEE-1588 Grandmaster 중의 하나인 TimeProvider5000에서는 아래와 같이 프로파일을 설정할 수 있다.

tp5000>set ptp profile ioc1-1 telecom-2008            <- Generic unicast profile for telecom before ITU-T G.8265.1

tp5000>set ptp profile ioc1-1 itu-g8265-1               <- Telecom Profile for frequency sync, see ITU-T G.8265.1


IDT IEEE-1588 Profiles_정리잘되어있음.pdf





Freescale MPC8313E RDB(Reference Design Board) 입고~

기다리던 MPC8313E Eval. 보드가 들어왔다.


전원 입력하고 파워 스위치를 눌렀더니 부팅이 잘 된다...감사...

U-Boot는 1.3.0 버전이고 리눅스 커널은 2.6.23 버전이네..

이제 슬슬 IEEE-1588v2 테스트를 해야겠다 ~




이클립스에서 consolas 글꼴 선택시 한글이 작게 보일 때



[Window]-[Preferences]를 선택한다.


[Preferences]화면에서 

General -> Appearance -> Colors and Fonts -> "Text Font" 를 선택하고 "Edit" 버튼을 클릭한다.

[글꼴] 화면에서

스크립트 부분에 "키릴 자모"를 선택하고 확인한다.




MPLS-TP Reality Check: Drivers, Development, and Deployment
As demand for multimedia services over IP networks skyrockets, so does the demand for carrier-class packet transport networks. MPLS Transport Profile, or MPLS-TP, brings the resiliency of the circuit-switched transport networks into the packet-switched world. The promise of resiliency and OAM for packet-switched networks is attracting plenty of attention and investment from service providers, as they migrate from their existing SONET/SDH infrastructures. This webinar explores the drivers for MPLS-TP adoption, covers progress on the standards development, and investigates the deployment challenges.




BLOG main image
jskwak[@]gmail.com 또는 ♬♬♬ jskwak[@]trickman.net, ▷◁▷◁ http://about.me/jskwak
 Notice
반/갑/습/니/다
곽/자/섭 입니다...
 Category
분류 전체보기 (151)
전송기술 (53)
이더넷 (3)
시스코자격증 (7)
임베디드 (4)
책읽기 (8)
주절주절 (70)
MAC OS X Life (1)
 TAGS
BLSR 아이팟 절체 코드검색 SONET 대립해소도 SDH CISCO CCNA 모공 1588 Telecom Profile ITU-T FRT CDP UPSR T-SDN 메모 ip OSX Linux OTN CCNP 구름 구글 CRT toc
 Calendar
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
 Recent Entries
 Recent Comments
 Archive
 Link Site
[01] 지원,지민 놀이터
 Visitor Statistics
Total :
Today :
Yesterday :
rss