KR101589474B1 - Apparatus and method for packet transport service based on MPLS-TP network - Google Patents

Apparatus and method for packet transport service based on MPLS-TP network Download PDF

Info

Publication number
KR101589474B1
KR101589474B1 KR1020110036899A KR20110036899A KR101589474B1 KR 101589474 B1 KR101589474 B1 KR 101589474B1 KR 1020110036899 A KR1020110036899 A KR 1020110036899A KR 20110036899 A KR20110036899 A KR 20110036899A KR 101589474 B1 KR101589474 B1 KR 101589474B1
Authority
KR
South Korea
Prior art keywords
packet
information
mpls
transmission
lsp
Prior art date
Application number
KR1020110036899A
Other languages
Korean (ko)
Other versions
KR20120072301A (en
Inventor
나용욱
정태식
최창호
강태규
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to US13/334,721 priority Critical patent/US20120163165A1/en
Publication of KR20120072301A publication Critical patent/KR20120072301A/en
Application granted granted Critical
Publication of KR101589474B1 publication Critical patent/KR101589474B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2408Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 MPLS-TP(Transport profile) 망을 통해 종단간 서비스 품질을 보장하고 신뢰성 있는 패킷을 전송하기 위한 패킷 처리 장치 및 방법에 관한 것이다.
본 발명에 따른 본 발명에 따른 MPLS-TP 망에 위치하여 LSP(Label switched path)를 통해 다수의 망으로부터 입력된 패킷을 전송하는 패킷 처리 장치에 있어서, 제어 레지스터의 제어 정보에 따라 추출된 입력된 패킷의 필드 정보의 포트 정보로부터 입력된 패킷이 제어 패킷인지 혹은 일반 패킷인지를 분류하여, 입력된 패킷이 일반 패킷이면, 일반 패킷이 수신 패킷인지 아니면 송신 패킷인지에 따라 일반 패킷을 전송할 서비스 타입을 결정하는 패킷 분류부와, 일반 패킷의 필드 정보로부터 LSP 조건 정보 또는 어드레스 정보를 획득하고, 획득한 LSP 조건 정보 또는 어드레스 정보를 참조하여 패킷 분류부로부터 결정된 서비스 타입으로 입력된 패킷 전송 및 입력된 패킷의 해더 또는 어드레스 정보를 업데이트하는 패킷 처리부를 포함한다. 본 발명의 이 같은 양상에 따라, 다수의 로컬 망, 프로바이더 브릿지 망 및 MPLS 망으로부터 입력되는 패킷의 필드 정보에 포함되는 포트정보, C-VID, S-VID, 소스 맥 어드레스, E-Type 정보, MPLS 레이블 정보를 조합하여 서비스 타입을 생성하고, LSP 정보를 추출하기 위한 PTL 인덱스 정보를 포함하는 LSP 조건 정보를 획득할 수 있다.
The present invention relates to a packet processing apparatus and method for ensuring end-to-end quality of service through an MPLS-TP (Transport Profile) network and for transmitting a reliable packet.
A packet processing apparatus for transmitting a packet input from a plurality of networks via an LSP (Label Switched Path) located in an MPLS-TP network according to the present invention, the apparatus comprising: If the packet inputted from the port information of the field information of the packet is a control packet or a general packet, and if the input packet is a general packet, whether the general packet is a received packet or a transmitted packet, The LSP condition information or the address information from the field information of the general packet, referring to the acquired LSP condition information or the address information, and transmits the packet inputted as the service type determined from the packet classifying unit and the inputted packet And a packet processing unit for updating the header or address information of the header. In accordance with this aspect of the present invention, there is provided a method for transmitting a packet, which includes port information, C-VID, S-VID, source MAC address and E-Type information included in field information of a packet input from a plurality of local networks, a provider bridge network and an MPLS network , And MPLS label information to obtain LSP condition information including PTL index information for extracting LSP information.

Description

MPLS-TP 망에서 패킷 전송 서비스를 위한 패킷 처리 장치 및 방법{Apparatus and method for packet transport service based on MPLS-TP network}[0001] The present invention relates to a packet processing apparatus and method for a packet transmission service in an MPLS-TP network,

본 발명은 MPLS-TP(Transport profile) 망을 통해 종단간 서비스 품질을 보장하고 신뢰성 있는 패킷을 전송하기 위한 패킷 처리 장치 및 방법에 관한 것이다.The present invention relates to a packet processing apparatus and method for ensuring end-to-end quality of service through an MPLS-TP (Transport Profile) network and for transmitting a reliable packet.

일반적으로 전송 서비스는 SONET(Synchronous optical network) 또는 SDH(Synchronous digital hierachy)을 통해 시간분할 다중화 방식으로 점대점 연결 서비스를 제공하는 것이었다. 그러나, 이 같은 전송 서비스는 제한된 속도로 인한 용량 증설 비용에 대한 부담 등으로 새로운 비즈니스 모델을 수용하기에 유연하지 못하는 실정이다. 한편, 아이피 기반의 전송 서비스는 SONET(Synchronous optical network) 또는 SDH(Synchronous digital hierachy) 망보다 용량 증설 및 비용에 대한 부담이 상대적으로 낮은 반면, 종단간 품질 보장 서비스(Quality of service : 이하 QoS라 함)를보장하기 위해서는 엄격한 SLA(Service-level agreements)를 적용해야하는 문제가 있다.In general, the transmission service was to provide a point-to-point connection service in a time division multiplexing manner through a SONET (Synchronous Optical Network) or a SDH (Synchronous Digital Hierarchy). However, such a transmission service is not flexible enough to accommodate a new business model due to the burden of the capacity increase due to the limited speed. On the other hand, the IP-based transmission service is less expensive than the SONET (Synchronous Optical Network) or SDH (Synchronous Digital Hierarchy) network, and the burden on the cost is relatively low. On the other hand, the quality of service (QoS) There is a problem that strict SLA (Service-level agreements) must be applied.

따라서, IETF(Internet engineering task force)는 자체 규정한 MPLS-TP(Transport profile), IEEE802.1ah(PBB) 및 IEEE802.1ag(PBB-TE)와 같은 표준의 데이터 링크 계층을 이용하여 확장성 및 종단간 QoS를 제공하는 전송 서비스에 대한 방안이 모색되었다. 한편, MPLS-TP는 ITU-T(International telecommunication union telecommunication standardization sector)에서 진행해오던 T-MPLS 표준화 작업을 IETF에서 진행하면서 변경된 명칭이다. 이 같은 MPLS-TP는 기존의 MPLS 아키텍쳐와 PWE3 아키텍쳐를 기초로 전송 네트워크 요구사항을 IETF MPLS에 적용하여 IETF MPLS의 포워딩, OAM, survivability, network management 및 control plane protocol을 확장하여 표준화 작업이 진행 중이다. 또한, MPLS-TP는 RFC5654 이전의 기존 MPLS에서 전송 요구사항에 부합되는 요소들과, 새로운 전송 요구사항에 기반한 추가 기능들을 제안하고 있으며, 특히, 장애 복구 및 신뢰성 향상과 관련된 Transport-like OAM, Transport-like Resilience, Transport-like operation 등의 기능들이 제안되고 있다.Therefore, the Internet engineering task force (IETF) uses a standard data link layer such as self-defined MPLS-TP (Transport Profile), IEEE802.1ah (PBB) and IEEE802.1ag (PBB-TE) A scheme for a transmission service that provides inter-QoS has been sought. Meanwhile, the MPLS-TP is a name changed from the IETF to the T-MPLS standardization work which has been conducted by the International Telecommunication Union Telecommunication Standardization Sector (ITU-T). The MPLS-TP is standardized by applying IETF MPLS forwarding, OAM, survivability, network management, and control plane protocol by applying the transport network requirements to the IETF MPLS based on the existing MPLS architecture and the PWE3 architecture. In addition, MPLS-TP proposes additional features based on new transport requirements and elements that meet the transport requirements in pre-existing MPLS prior to RFC5654. In particular, Transport-like OAM, Transport -like resilience, and transport-like operation.

이에 따라, 본 발명에서는 MPLS-TP 망과 커스터머(Customer) 망, 프로바이더 브릿지(Provider bridge) 망 또는 MPLS 망과의 연동 및 PWE3 서비스 제공 시, 데이터 링크 계층 정보를 이용하여 서비스를 생성 및 관리하고, 서비스 별 패킷 처리 과정을 수행함으로써, 각 서비스 별 경로관리 및 보호절체, QoS, 통계치 관리, 연결수락제어, 시스템 운영 및 관리 등의 기능을 제공함을 목적으로 한다.Accordingly, in the present invention, when an MPLS-TP network is interworked with a customer network, a provider bridge network, or an MPLS network and a PWE3 service is provided, services are generated and managed using data link layer information QoS management, statistics management, connection admission control, and system operation and management by performing packet-based processing for each service.

나아가, 본 발명에서는 인그레스(Ingress) PE(Provider Edge) 노드, 트랜짓(Transit) P 노드, 이그레스(Egress) PE 노드의 구분없이 동일한 방식으로 패킷 처리 기능을 제공함을 목적으로 한다.Furthermore, the present invention aims at providing a packet processing function in the same manner without distinguishing between an Ingress PE, a Transit P node, and an Egress PE node.

더 나아가, 본 발명에서는 망구성의 계층 구조에 제한을 없애기 위한 MPLS-TP 레이어 스택 및 레이블 스택 개수에 제한없는 스택킹 기능을 제공함을 목적으로 한다.Furthermore, the present invention aims to provide an MPLS-TP layer stack and a stacking function without limit to the number of label stacks for eliminating restrictions on the hierarchical structure of the network configuration.

전술한 기술적 과제는 후술하는 본 발명의 특징적인 양상들에 의해 달성된다. 본 발명에 따른 MPLS-TP 망에 위치하여 LSP(Label switched path)를 통해 다수의 망으로부터 입력된 패킷을 전송하는 패킷 처리 장치에 있어서, 제어 레지스터의 제어 정보에 따라 추출된 입력된 패킷의 필드 정보의 포트 정보로부터 입력된 패킷이 제어 패킷인지 혹은 일반 패킷인지를 분류하여, 입력된 패킷이 일반 패킷이면, 일반 패킷이 수신 패킷인지 아니면 송신 패킷인지에 따라 일반 패킷을 전송할 서비스 타입을 결정하는 패킷 분류부와, 일반 패킷의 필드 정보로부터 LSP 조건 정보 또는 어드레스 정보를 획득하고, 획득한 LSP 조건 정보 또는 어드레스 정보를 참조하여 패킷 분류부로부터 결정된 서비스 타입으로 입력된 패킷 전송 및 입력된 패킷의 해더 또는 어드레스 정보를 업데이트하는 패킷 처리부를 포함한다.The above-described technical problem is achieved by the characteristic aspects of the present invention described later. A packet processing apparatus for transmitting a packet input from a plurality of networks via an LSP (Label Switched Path) located in an MPLS-TP network according to the present invention, the packet processing apparatus comprising: If the input packet is a general packet, whether the general packet is a received packet or a transmitted packet is classified as a control packet or a general packet, And receives the LSP condition information or the address information from the field information of the general packet, refers to the obtained LSP condition information or address information, and transmits the packet inputted in the service type determined from the packet classifying section and the header or address And a packet processing unit for updating information.

본 발명의 추가적인 양상에 따르면, 패킷 분류부는 입력된 패킷이 제어 패킷이면, 제어 패킷을 CPU 인터페이스를 통해 상위 제어 채널로 전송하며, 패킷 처리부는 체크 결과, 입력된 패킷이 수신 패킷이면, 수신 패킷과 관련된 서비스 타입을 생성하고, 생성된 서비스 타입과 관련된 테이블로부터 LSP 조건 정보을 획득하는 수신 패킷 처리부와, 체크 결과, 입력된 패킷이 송신 패킷이면, 송신 패킷의 목적지가 PW 종단지인지에 따라 송신 패킷을 LSP로 전송하기 위한 LSP 전송 정보 또는 어드레스 정보를 획득하는 송신 패킷 처리부를 포함한다.According to a further aspect of the present invention, if the input packet is a control packet, the packet classification unit transmits the control packet to the upper control channel through the CPU interface. If the input packet is a received packet, A receiving packet processing unit for generating an associated service type and obtaining LSP condition information from a table related to the generated service type; and if the input packet is a transmission packet, if the destination of the transmission packet is a PW type, And a transmission packet processing unit for acquiring LSP transmission information or address information for transmission to the LSP.

본 발명의 추가적인 양상에 따르면, 수신 패킷 처리부는 패킷 분류부로부터 결정된 서비스 타입에 따라 수신 패킷의 필드 정보에 포함된 포트 정보, C-VID, S-VID 정보를 조합하여 결정된 서비스 타입을 생성하고, PW FEC 테이블부로부터 LSP 정보를 추출하기 위한 PTL 인덱스 정보와 태그 제어 정보를 획득하는 PW FEC 룩업부를 포함한다.According to a further aspect of the present invention, the received packet processing unit generates a service type determined by combining port information, C-VID, and S-VID information included in field information of a received packet according to a service type determined from a packet classification unit, And a PW FEC lookup unit for obtaining PTL index information and tag control information for extracting LSP information from the PW FEC table unit.

본 발명의 추가적인 양상에 따르면, 수신 패킷 처리부는 수신 패킷의 필드 정보에 포함된 포트 정보, C-VID, S-VID, 소스 맥 어드레스, E-Type 정보를 조합하여 결정된 서비스 타입을 생성하고, IP FEC 테이블부로부터 LSP 정보를 추출하기 위한 PTL 인덱스 정보, ELSP를 제어하기 위한 제어 플래그 및 ELSP 레이블 정보를 획득하는 IP FEC 룩업부를 포함한다.According to a further aspect of the present invention, the received packet processing unit generates a service type determined by combining port information, C-VID, S-VID, source MAC address, and E-Type information included in field information of a received packet, An IP FEC lookup section for obtaining PTL index information for extracting LSP information from the FEC table section, a control flag for controlling ELSP, and ELSP label information.

본 발명의 추가적인 양상에 따르면, 수신 패킷 처리부는 수신 패킷의 필드 정보에 포함된 포트 정보 및 MPLS 레이블 정보를 이용하여 결정된 서비스 타입을 생성하고, MPLS ILM 테이블부로부터 LSP 정보를 추출하기 위한 PTL 인덱스 정보 및 SDT, 뉴태그, MPLS 제어 정보 및 기타 제어를 위한 태그 제어 정보를 획득하는 MPLS 레이블 룩업부를 포함한다.According to a further aspect of the present invention, the received packet processing unit generates the service type determined using the port information and the MPLS label information included in the field information of the received packet, and generates PTL index information for extracting LSP information from the MPLS ILM table unit And an MPLS label lookup unit for obtaining SDT, new tag, MPLS control information, and tag control information for other control.

본 발명의 이 같은 양상에 따라, 수신 패킷 처리부는 다수의 로컬 망, 프로바이더 브릿지 망 및 MPLS 망으로부터 입력되는 패킷의 필드 정보에 포함되는 포트 정보, C-VID, S-VID, 소스 맥 어드래스, E-Type 정보, MPLS 레이블 정보를 조합하여 서비스 타입을 생성하고, LSP 정보를 추출하기 위한 PTL 인덱스 정보를 포함하는 LSP 조건 정보를 획득할 수 있다.In accordance with this aspect of the present invention, the received packet processing unit includes port information, C-VID, S-VID, source MAC address, and port information included in field information of packets input from a plurality of local networks, a provider bridge network, , E-Type information, and MPLS label information to obtain LSP condition information including PTL index information for extracting LSP information.

본 발명의 추가적인 양상에 따르면, 수신 패킷 처리부는 각각의 룩업부들 중 적어도 하나의 룩업부에서 획득한 정보의 일치 여부에 따라, 해당 룩업부에서 생성된 서비스 타입을 결정하고, 인덱스 테이블부로부터 LSP를 통해 수신 패킷을 전송하기 위한 스위치 패브릭 및 송수신 출력 포트, 태그값, TM 큐 인덱스, TB 프로파일, 패킷 카운터 및 기타 제어를 위한 태그 제어 정보를 획득하는 제1 NHLFE 룩업부와, 서비스 테이블부로부터 MPLS-TP 레이어 관련 SLSP 레이블, 다수의 TLSP 레이블, EXP, Stack, TTL, Next PTL 인덱스 정보, D-MAC 또는 M-ID 및 레이블 제어 정보를 획득하는 제2 NHLFE 룩업부를 더 포함한다.According to a further aspect of the present invention, the received packet processing unit determines the service type generated in the corresponding lookup unit according to whether the information obtained by at least one of the lookup units matches, and extracts the LSP from the index table unit A first NHLFE lookup unit for acquiring tag control information for a switch fabric and a transmission / reception output port, a tag value, a TM queue index, a TB profile, a packet counter, and other controls for transmitting a received packet through the MPLS- A second NHLFE lookup section for obtaining SLSP labels related to the TP layer, a plurality of TLSP labels, EXP, Stack, TTL, Next PTL index information, D-MAC or M-ID and label control information.

본 발명의 추가적인 양상에 따르면, 패킷 처리부는 PTL 테이블부로부터 QoS를 보장하기 위한 폴리싱 혹은 쉐이핑용 토큰 버킷 인덱스 및 토큰 버킷 프로파일 정보를 획득하는 PTL 룩업부와, 제2 NHLFE 룩업부로부터 획득한 SLSP 레이블과 서비스 테이블부에 저장된 SLSP 레이블의 일치 여부에 따라, 생성된 서비스 타입 또는 해쉬 테이블에 기저장된 임시 서비스 타입으로 수신 패킷의 전송을 결정하는 해쉬/TB 카운터 룩업부를 더 포함하며, 해쉬/TB 카운터 룩업부는 두 SLSP 레이블이 일치하면, 해쉬 테이블부에 저장된 서비스 타입을 생성된 서비스 타입으로 갱신하며, 생성된 서비스 타입으로의 전송이면, PTL 테이블부로부터 획득한 정보를 러닝하여 새로운 해쉬 엔트리를 추기하여 해쉬 테이블부를 업데이트하고, 서비스 타입의 요구 대역폭이 TB 카운터 테이블부에 저장된 임계값을 초과하는지에 따라 미터링을 통해 칼라마킹된 패킷 순서대로 상기 수신 패킷의 전송 여부를 결정한다.According to a further aspect of the present invention, the packet processing unit includes a PTL lookup unit for obtaining token bucket index and token bucket profile information for policing or shaping to guarantee QoS from the PTL table unit, a SLSP label obtained from the second NHLFE lookup unit And a hash / TB counter lookup unit for determining the transmission of the received packet to the temporary service type previously stored in the generated service type or the hash table according to whether the SLSP label stored in the service table unit matches the hash / If the two SLSP labels match, the service type stored in the hash table portion is updated to the created service type. If the SLSP label is transmitted to the generated service type, the information obtained from the PTL table portion is run to add a new hash entry, The table portion is updated, and the required bandwidth of the service type is updated in the TB counter table In that in accordance with the stored exceeds the threshold value, as through the metering collar the marked packet in order to determine whether or not to send the received packet.

본 발명의 이 같은 양상에 따라, PW FEC 룩업부, IP FEC 룩업부 및 MPLS 레이블 룩업부 중 적어도 하나의 룩업부에서 생성된 서비스 타입으로 수신 패킷을 전송할지를 결정할 수 있으며, 결정된 서비스 타입의 대역폭 프로파일(CIR-Committed Information Rate, EIR-Excess Information Rate)에 따라 해당 서비스 타입으로의 수신 패킷의 전송 여부를 결정할 수 있다.According to this aspect of the present invention, it is possible to determine whether to transmit the received packet to a service type generated in the lookup section of at least one of the PW FEC lookup section, the IP FEC lookup section and the MPLS label lookup section, It is possible to determine whether to transmit a received packet to the corresponding service type according to a CIR-committed information rate (CIR-committed information rate).

본 발명의 추가적인 양상에 따르면, 패킷 처리부는 해쉬/TB 카운터 룩업부로부터의 수신 패킷의 전송 여부 결정에 따라 또는 상위 제어 채널로부터 CPU 인터페이스를 통해 설정된 QoS 프로파일에 따라 수신 패킷의 전송을 종료하는 트래픽 관리부와, 제1 및 제2 NHLFE 룩업부로부터 획득한 정보를 통해 3개의 Internal 헤더를 생성하는 헤더 생성부와, LSP를 통해 수신 패킷을 목적지 망으로 전송하기 위해 MPLS-TP 레이어 관련 TLSP 및 SLSP 레이블의 푸쉬/스왑 또는 팝 기능을 통한 인캡슐레이션, 디캡슐레이션 및 헤더 생성부로부터 획득한 3개의 Internal 헤더 인캡슐레이션과 목적지 망에 적합하도록 제1 NHLFE 룩업부로부터 획득한 VLAN 태그 정보들을 수신 패킷의 필드 정보에 태그 삽입 또는 제거 또는 변경을 수행하는 헤더 프로세싱부를 더 포함한다.According to a further aspect of the present invention, the packet processing unit includes a traffic management unit for terminating the transmission of the received packet according to the determination of whether or not the received packet is transmitted from the hash / TB counter lookup unit or according to the QoS profile set through the CPU interface from the upper control channel A header generator for generating three internal headers based on the information obtained from the first and second NHLFE lookups, and a header generator for generating three internal headers based on the TLSP and SLSP labels associated with the MPLS-TP layer to transmit the received packet to the destination network through the LSP. Encapsulation via the push / swap or pop function, encapsulation of three internal headers obtained from the decapsulation and header generation unit, and VLAN tag information obtained from the first NHLFE lookup unit to the destination network, And a header processing unit for performing tag insertion, removal, or modification of the field information.

본 발명의 추가적인 양상에 따르면, 패킷 처리부는 MPLS-TP 레이어 관련 최상위 레이블(TLSP 또는 SLSP)이 스왑되면, TTL을 차감하고, 팝(Pop)이면 TTL 프로세싱 모드에 따라 TTL 복사를 수행하며, 푸쉬(Push)이면, 제2 NHLFE 룩업부로부터 획득한 TTL 값으로부터 TTL을 초기화하는 TTL 제어부를 더 포함하며, 헤더 프로세싱부는 TTL 제어부로부터 TTL 차감, TTL 복사, TTL 초기화를 통해 인가되는 인자값에 따라 MPLS-TP 레이어 관련 최상위 레이블의 TTL 필드를 업데이트하며, 패킷 메모리부에 저장된 헤더 조건 정보에 따라, 수신 패킷의 헤더에 헤더 생성부로부터 생성된 Internal 헤더를 삽입 또는 변경 또는 제거한다.According to a further aspect of the present invention, the packet processing unit subtracts the TTL when the MPLS-TP layer related top level label (TLSP or SLSP) is swapped, performs a TTL copy according to the TTL processing mode if the MPLS- Push), the TTL control unit initializes the TTL from the TTL value acquired from the second NHLFE lookup unit. The header processing unit receives the MPLS-TTL from the TTL control unit according to a factor value applied through TTL subtraction, TTL copy, Updates the TTL field of the highest layer label associated with the TP layer and inserts, changes or removes the Internal header generated from the header generator in the header of the received packet according to the header condition information stored in the packet memory.

본 발명의 추가적인 양상에 따르면, 패킷 처리부는 OAM 테이블부에 저장된 SLSP OAM, TLSP OAM, PW OAM을 이용하여 분류된 패킷의 경로의 이상 여부를 체크하는 OAM 패킷 처리부와, OAM 패킷 처리부의 체크 결과 패킷이 입력되는 경로에 이상이 있는 것으로 체크되면, 패킷이 입력되는 경로와 관련된 경로로 보호절체를 수행하는 경로 보호절체부를 더 포함한다.According to a further aspect of the present invention, the packet processing unit includes an OAM packet processing unit for checking whether the path of the packet classified by using the SLSP OAM, the TLSP OAM, and the PW OAM stored in the OAM table unit is abnormal, If the input path is checked to be abnormal, the path protection switching unit performs protection switching with a path related to a path through which the packet is input.

본 발명의 이 같은 양상에 따라 수신 패킷에 포함된 필드 정보의 헤더, MPLS-TP 레이블 및 L2 VLAN 태그의 삽입, 제거, 변경을 수행할 수 있으며, 패킷이 입력되는 경로의 이상 여부에 따라, 패킷이 입력 가능한 경로로의 보호절체를 수행할 수 있다.According to this aspect of the present invention, the header, MPLS-TP label, and L2 VLAN tag of the field information included in the received packet can be inserted, removed, or changed. It is possible to perform protection switching to this inputtable path.

본 발명의 추가적인 양상에 따르면, 송신 패킷 처리부는 송신 패킷이 Internal 헤더를 포함하는 MPLS 송신 패킷이 아니면, 송신 패킷의 필드 정보에 포함된 출력 포트로부터 소스 맥 어드레스를 업데이트하며, S-MAC 테이블부로부터 출력 포트의 소스 맥 어드레스, TM 큐 인덱스, 패킷 카운터 인덱스 정보를 획득하는 포트 룩업부와, Internal 헤더를 포함하는 MPLS 송신 패킷이면, MPLS 송신 패킷의 필드 정보에 포함된 출력 포트와 MPLS-TP 레이어 관련 최상위 레이블로부터 소스 맥 어드레스를 업데이트하며, 포트 레이블 테이블부로부터 출력 포트의 소스 맥 어드레스, TM 큐 인덱스, 패킷 카운터 인덱스 정보를 획득하는 포트 레이블 룩업부를 포함한다.According to a further aspect of the present invention, if the transmission packet is not an MPLS transmission packet including the Internal header, the transmission packet processing unit updates the source MAC address from the output port included in the field information of the transmission packet, A port lookup section for obtaining a source MAC address, a TM queue index and a packet counter index information of an output port, and an MPLS transmission packet including an internal header, an output port included in the field information of the MPLS transmission packet and an MPLS- And a port label lookup unit for obtaining the source MAC address, the TM queue index, and the packet counter index information of the output port from the port label table unit.

본 발명의 추가적인 양상에 따르면, 송신 패킷 처리부는 추출된 필드 정보에 포함되는 적어도 하나의 레이블의 M-ID 정보 및 플래그를 통해 송신 패킷을 멀티캐스트 또는 유니캐스트로 전송할지를 결정하고, 멀티캐스트 테이블부를 통해 MPLS-TP 망에 설정된 LSP로 송신 패킷을 전송을 위한 D-MAC(Destination MAC) 어드레스, PTL 인덱스, MPLS-TP 레이어 레이블, EXPs, STACKs, TTLs, 태그 값, TM 큐 인덱스, 카운터 인덱스, 제어 정보를 획득하는 멀티캐스트 룩업부를 더 포함한다.According to a further aspect of the present invention, the transmission packet processing unit determines whether to transmit the transmission packet by multicast or unicast through the M-ID information and the flag of at least one label included in the extracted field information, (D-MAC) address, PTL index, MPLS-TP layer label, EXPs, STACKs, TTLs, tag value, TM queue index, counter index, control for sending packet to LSP set in MPLS-TP network And a multicast lookup section for obtaining information.

본 발명의 추가적인 양상에 따르면, 송신 패킷 처리부는 추출된 필드 정보에 포함되는 적어도 하나의 레이블의 M-ID 정보 및 플래그를 통해 송신 패킷을 멀티캐스트 또는 유니캐스트로 전송할지를 결정하고, PW 멀티캐스트 테이블부을 통해 MPLS-TP 망에 설정된 LSP로 상기 송신 패킷을 전송하기 위한 SDT, PTL 인덱스, 태그 값, TM 큐 인덱스 및 제어 정보를 획득하는 PW 멀티캐스트 룩업부와, PW 종료 플래그가 인에이블 되면, PW를 제거하는 PW 디캡슐레이션부를 더 포함한다.According to a further aspect of the present invention, the transmission packet processing unit determines whether to transmit the transmission packet by multicast or unicast through the M-ID information and the flag of at least one label included in the extracted field information, A PW multicast lookup unit for acquiring an SDT, a PTL index, a tag value, a TM queue index and control information for transmitting the transmission packet to an LSP set in the MPLS-TP network through a payload; And a PW decapsulation unit for removing the PW decapsulation unit.

본 발명의 이 같은 양상에 따르면, 송신 패킷 처리부는 송신 패킷에 포함된 출력 포트 또는 M-ID 정보 또는 M-ID 및 플래그 정보를 통해 송신 패킷을 멀티캐스트로 전송할지 아니면 유니캐스트로 전송할지를 결정할 수 있다.According to this aspect of the present invention, the transmission packet processing unit can determine whether to transmit the transmission packet by multicast or unicast through the output port or M-ID information or M-ID and flag information included in the transmission packet have.

를 포함Include

본 발명을 통해 MPLS-TP 망과 커스터머 망, 프로바이더 브릿지 망 또는 MPLS 망과의 연동 및 PWE3 서비스 제공 시, 데이터 링크 계층 정보를 이용하여 서비스를 생성 및 관리하고, 서비스 별 패킷 처리 과정을 수행함으로써, 각 서비스 별 경로관리 및 보호절체, QoS, 통계치 관리, 연결수락제어, 시스템 운영 및 관리 등의 기능을 제공할 수 있다.In the present invention, when an MPLS-TP network is interworked with a customer network, a provider bridge network, or an MPLS network and a PWE3 service is provided, service creation and management are performed using data link layer information, , Route management and protection switching for each service, QoS, statistics management, connection admission control, and system operation and management.

또한, 본 발명을 통해 인그레스 PE 노드, 트랜짓 P 노드, 이그레스 PE 노드의 구분없이 동일한 방식으로 패킷 처리 기능을 제공할 수 있다.In addition, through the present invention, it is possible to provide a packet processing function in the same manner without discrimination between an ingress PE node, a transit P node, and an egress PE node.

또한, 본 발명을 통해 망구성의 계층구조에 제한없이 MPLS-TP 레이어 스택 및 레이블 스택에 제한없는 스택킹(Stacking) 기능을 제공할 수 있다.In addition, through the present invention, it is possible to provide an unlimited stacking function to the MPLS-TP layer stack and the label stack without limitation to the hierarchical structure of the network configuration.

도 1은 본 발명의 일 실시예에 따른 패킷 처리 장치를 포함하는 패킷 전송 시스템의 구조를 나타내는 예시도,
도 2는 본 발명의 일 실시예에 따른 MPLS-TP 망에 위치하는 패킷 처리 장치에서 LSP를 통해 외부 망으로부터 입력되는 패킷을 전송하는 방법의 흐름도,
도 3은 본 발명의 일 실시예에 따른 패킷 처리 장치에서 LSP 정보를 추출하기 위한 LSP 조건 정보를 획득하는 방법의 흐름도,
도 4은 본 발명의 일 실시예에 따른 MPLS-TP 망에 위치하는 패킷 처리 장치에서 송신 패킷을 전송하는 방법의 흐름도,
도 5는 본 발명의 일 실시예에 따른 패킷 전송 서비스를 제공하는 패킷 처리 장치의 블록도,
도 6은 본 발명의 일 실시예에 따른 패킷 처리 장치에서 MPLS-TP 표준에 따라 제공하는 서비스 타입의 예시도,
도 7은 본 발명의 일 실시예에 따른 패킷 처리 장치의 제어 관리부에서 제어하는 제어 신호의 예시도,
도 8은 본 발명의 일 실시예에 따른 송신 패킷의 필드 정보에 포함되는 Internal 헤더의 위치를 나타내는 예시도,
도 9a는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 LSP를 통해 패킷 전송 서비스를 수행하는 예시도,
도 9b는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 또다른 LSP를 통해 패킷 전송 서비스를 수행하는 예시도,
도 10a는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 LSP를 통해 패킷 전송 서비스를 수행하는 예시도,
도 10b는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 또다른 LSP를 통해 패킷 전송 서비스를 수행하는 예시도,
도 11a는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 LSP를 통해 패킷 전송 서비스를 수행하는 예시도,
도 11b는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 또다른 LSP를 통해 패킷 전송 서비스를 수행하는 예시도이다.
1 is a diagram illustrating a structure of a packet transmission system including a packet processing apparatus according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method of transmitting a packet input from an external network through an LSP in a packet processing apparatus located in an MPLS-TP network according to an embodiment of the present invention;
3 is a flowchart of a method for acquiring LSP condition information for extracting LSP information in a packet processing apparatus according to an embodiment of the present invention;
4 is a flowchart illustrating a method of transmitting a transmission packet in a packet processing apparatus located in an MPLS-TP network according to an embodiment of the present invention.
5 is a block diagram of a packet processing apparatus for providing a packet transmission service according to an embodiment of the present invention;
FIG. 6 is an exemplary view illustrating a service type provided according to the MPLS-TP standard in the packet processing apparatus according to an embodiment of the present invention;
7 is an exemplary diagram illustrating a control signal to be controlled by the control management unit of the packet processing apparatus according to an embodiment of the present invention;
8 is an exemplary diagram illustrating a location of an internal header included in field information of a transmission packet according to an exemplary embodiment of the present invention.
FIG. 9A is an exemplary diagram illustrating a packet transmission service through an LSP established in an MPLS-TP network according to an embodiment of the present invention. FIG.
9B illustrates an example of performing a packet transmission service through another LSP set in an MPLS-TP network according to an embodiment of the present invention.
10A is a diagram illustrating an example of performing a packet transmission service through an LSP established in an MPLS-TP network according to an embodiment of the present invention.
FIG. 10B illustrates an example of performing a packet transmission service through another LSP set in an MPLS-TP network according to an embodiment of the present invention.
11A is a diagram illustrating an example of performing a packet transmission service through an LSP established in an MPLS-TP network according to an embodiment of the present invention.
FIG. 11B illustrates an example of performing a packet transmission service through another LSP set in an MPLS-TP network according to an embodiment of the present invention.

전술한, 그리고 추가적인 본 발명의 양상들은 첨부된 도면을 참조하여 설명되는 바람직한 실시예들을 통하여 더욱 명백해질 것이다. 이하에서는 본 발명을 이러한 실시예들을 통해 당업자가 용이하게 이해하고 재현할 수 있도록 상세히 설명하기로 한다.BRIEF DESCRIPTION OF THE DRAWINGS The foregoing and further aspects of the present invention will become more apparent from the following detailed description of preferred embodiments with reference to the accompanying drawings. Hereinafter, the present invention will be described in detail in order that those skilled in the art can easily understand and reproduce the present invention through these embodiments.

도 1은 본 발명의 일 실시예에 따른 패킷 처리 장치를 포함하는 패킷 전송 시스템의 구조를 나타내는 예시도이다.1 is an exemplary diagram illustrating a structure of a packet transmission system including a packet processing apparatus according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 패킷 전송 시스템은 MPLS-TP(Multi protocol label switching transport profile)망(10), 다수의 로컬망(20,30,40), 프로바이더 브릿지 망(50,60), MPLS 망(70,80)을 통해 다수의 유저(1~5)들에게 패킷을 전달한다. 즉, MPLS-TP 망(10)에 위치하는 다수의 패킷 처리 장치(100a~100h)들은 다수의 유저(1~5)들과 물리적으로 연결되며, 로컬망(20,30,40) 또는 프로바이더 브릿지 망(50,60) 내에 위치하는 다수의 액세스 스위치들 또는 MPLS 망(70,80) 내에 위치하는 다수의 액세스 스위치들로부터 입력되는 패킷을 전송한다. 이 같은 다수의 패킷 처리 장치(100a~100h)들은 미리 설정되거나 또는 링크상태 프로토콜에 의해 동적으로 생성된 LSP(Label switched path)를 통해 다수의 로컬망(20,30,40) 또는 프로바이더 브릿지 망(50,60) 또는 MPLS 망(70,80)을 통해 입력되는 패킷을 서비스 타입에 따라 다수의 유저(1~5)들과 물리적으로 연결된 액세스 스위치 또는 커스터머 에지 (21,22,51,52)로 전송할 수 있다.1, the packet transmission system includes a Multi Protocol Label Switching Transport Protocol (MPLS-TP) network 10, a plurality of local networks 20, 30 and 40, a provider bridge networks 50 and 60, And delivers the packet to a plurality of users (1-5) through the MPLS network (70,80). That is, a plurality of packet processing apparatuses 100a to 100h located in the MPLS-TP network 10 are physically connected to a plurality of users 1 to 5 and are connected to the local network 20, 30, And transmits a packet input from a plurality of access switches located in the bridge networks 50 and 60 or a plurality of access switches located in the MPLS networks 70 and 80. The plurality of packet processing apparatuses 100a to 100h may be connected to a plurality of local networks 20, 30, 40 or a provider bridge network 100 through a LSP (Label Switched Path) (21, 22, 51, 52), which are physically connected to a plurality of users (1 to 5) according to the service type, through an MPLS network (70, 80) Lt; / RTI >

이 같이, MPLS-TP 망(10)에 위치하는 패킷 처리 장치(100a~100h)들이 LSP를 통해 다수의 로컬 망, 프로바이더 브릿지 망 및 MPLS 망 중 적어도 하나의 망으로부터 입력되는 패킷을 전송하는 방법은 다음과 같다. 먼저, MPLS-TP 망(10)에 위치하는 패킷 처리 장치(100a~100h)들 중 적어도 하나의 패킷 처리 장치가 LSP를 통해 다수의 로컬 망, 프로바이더 브릿지 망 및 MPLS 망 중 적어도 하나의 망으로부터 입력되는 수신 패킷을 전송하는 방법에 대해 상세히 설명하기로 한다.In this way, the packet processing apparatuses 100a to 100h located in the MPLS-TP network 10 transmit packets input from at least one of the plurality of local networks, the provider bridge networks, and the MPLS networks via the LSP Is as follows. First, at least one of the packet processing apparatuses 100a to 100h located in the MPLS-TP network 10 is connected to at least one of the plurality of local networks, the provider bridge network, and the MPLS network through the LSP A method for transmitting an input received packet will be described in detail.

도 2는 본 발명의 일 실시예에 따른 MPLS-TP 망에 위치하는 패킷 처리 장치에서 LSP를 통해 외부 망으로부터 입력되는 패킷을 전송하는 방법의 흐름도이다.2 is a flowchart illustrating a method of transmitting a packet input from an external network through an LSP in a packet processing apparatus located in an MPLS-TP network according to an embodiment of the present invention.

도시된 바와 같이, LSP를 통해 다수의 로컬 망, 프로바이더 브릿지 망 및 MPLS 망 중 적어도 하나의 망으로부터 패킷이 입력되면, 패킷 처리 장치는 입력된 패킷이 제어 패킷인지 아니면 일반 패킷인지를 체크한다(200). 체크 결과, 제어 패킷이면, 패킷 처리 장치는 제어 패킷으로 분류된 입력 패킷을 CPU 인터페이스를 통해 상위 제어 채널로 전송한다(201). 한편, 체크 결과, 입력된 패킷이 일반 패킷이면, 패킷 처리 장치는 일반 패킷으로 체크된 입력 패킷이 수신 패킷인지를 체크한다(202). 체크 결과, 수신 패킷이면, 패킷 처리 장치는 수신 패킷의 종류에 따라 전송할 서비스 타입을 결정한다. 이후, 패킷 처리 장치는 결정된 서비스 타입에 따라, 수신 패킷에 포함된 이더넷 헤더 정보, 필드 정보 및 MPLS 레이블 정보 중 적어도 하나의 정보를 이용하여 결정된 서비스 타입을 생성하고 생성된 서비스 타입에 따라 LSP 정보를 추출하기 위한 LSP 조건 정보를 획득한다(203). 한편, 체크 결과, 송신 패킷일 경우 수행하는 방법은 하기에서 상세히 설명하기로 하고, LSP 정보를 추출하기 위한 LSP 조건 정보를 획득하는 방법에 대해 설명하기로 한다.As shown, when a packet is input from at least one network among a plurality of local networks, a provider bridge network, and an MPLS network through the LSP, the packet processing apparatus checks whether the input packet is a control packet or a general packet 200). As a result of the check, if the control packet is a control packet, the packet processing device transmits the input packet classified as the control packet to the upper control channel through the CPU interface (201). On the other hand, if it is determined that the input packet is a general packet, the packet processing apparatus checks whether the input packet checked as a general packet is a received packet (202). As a result of the check, if the received packet is a packet, the packet processing device determines the type of the service to be transmitted according to the type of the received packet. Thereafter, the packet processing apparatus generates a service type determined using at least one of Ethernet header information, field information, and MPLS label information included in the received packet according to the determined service type, and generates LSP information according to the generated service type LSP condition information for extraction is obtained (203). Meanwhile, as a result of checking, a method performed in the case of a transmission packet will be described in detail below, and a method of acquiring LSP condition information for extracting LSP information will be described.

도 3은 본 발명의 일 실시예에 따른 패킷 처리 장치에서 LSP 정보를 추출하기 위한 LSP 조건 정보를 획득하는 방법의 흐름도이다.3 is a flowchart of a method for acquiring LSP condition information for extracting LSP information in a packet processing apparatus according to an embodiment of the present invention.

도시된 바와 같이, 먼저, 패킷 처리 장치는 수신 패킷에 포함된 필드 정보를 참조하여 수신 패킷이 MPLS 서비스 패킷 또는 PW 서비스 패킷 또는 IP 서비스 패킷인지를 체크하여 각 패킷들을 전송할 서비스 타입을 결정한다(300). 체크 결과, 수신 패킷이 MPLS 서비스 패킷이면, 패킷 처리 장치는 수신 패킷에 포함된 필드 정보로부터 포트 정보 및 MPLS 레이블 정보를 획득한다. 이후, 패킷 처리 장치는 획득한 포트 정보와 MPLS 레이블 정보를 이용하여 결정된 서비스 타입을 생성한다(301). 이후, 패킷 처리 장치는 MPLS ILM 테이블부로부터 단계 301을 통해 생성된 서비스 타입과 관련된 LSP 정보를 추출하기 위한 PTL 인덱스 정보를 포함하는 LSP 조건 정보를 획득한다(306).As shown in the figure, the packet processing apparatus determines whether a received packet is an MPLS service packet, a PW service packet, or an IP service packet by referring to the field information included in the received packet, ). As a result of the check, if the received packet is an MPLS service packet, the packet processing device acquires the port information and the MPLS label information from the field information included in the received packet. Thereafter, the packet processing apparatus generates a service type determined using the obtained port information and MPLS label information (301). Thereafter, the packet processing apparatus obtains LSP condition information including PTL index information for extracting LSP information related to the service type generated through step 301 from the MPLS ILM table unit (306).

한편, 체크 결과, 수신 패킷이 PW 서비스 패킷이면, 패킷 처리 장치는 수신 패킷의 필드 정보에 포함된 포트 정보, C-VID, S-VID 정보를 조합하여 결정된 서비스 타입을 생성한다(302,303). 이후, 패킷 처리 장치는 단계 306을 수행하여 PW FEC 테이블로부터 단계 303을 통해 생성된 서비스 타입과 관련된 LSP 정보를 추출하기 위한 PTL 인덱스 정보를 포함하는 LSP 조건 정보를 획득한다. 한편, 체크 결과, 수신 패킷이 IP 서비스 패킷이면, 패킷 처리 장치는 수신 패킷의 필드 정보에 포함된 포트정보, C-VID, S-VID, S-MAC, E-Type 등 정보를 획득한다(304). 이후, 패킷 처리 장치는 획득한 포트정보, C-VID, S-VID, S-MAC, E-Type 등 정보를 이용하여 서비스 타입을 생성한다(305). 이후, 패킷 처리 장치는 단계 306을 수행하여 IP FEC 테이블로부터 단계 305를 통해 생성된 서비스 타입과 관련된 PTL 인덱스 정보를 포함하는 LSP 조건 정보를 획득한다.If it is determined that the received packet is a PW service packet, the packet processing apparatus generates a service type determined by combining port information, C-VID, and S-VID information included in the field information of the received packet (302, 303). Thereafter, the packet processing apparatus performs step 306 to obtain LSP condition information including PTL index information for extracting LSP information related to the service type generated through step 303 from the PW FEC table. If the received packet is an IP service packet, the packet processing apparatus obtains information such as port information, C-VID, S-VID, S-MAC, and E-Type included in the field information of the received packet ). Thereafter, the packet processing apparatus generates the service type using the acquired port information, the C-VID, the S-VID, the S-MAC, and the E-Type (305). Thereafter, the packet processing apparatus performs step 306 to obtain LSP condition information including PTL index information related to the service type generated through step 305 from the IP FEC table.

이와 같이, 패킷 처리 장치는 수신 패킷이 어떤 패킷인지에 따라, 수신 패킷에 포함된 정보들을 이용하여 서비스 타입을 생성하고, LSP 정보를 추출하기 위한 PTL 인덱스 정보를 포함하는 LSP 조건 정보를 획득할 수 있다.In this manner, the packet processing apparatus can generate the service type using the information included in the received packet according to the received packet, and acquire the LSP condition information including the PTL index information for extracting the LSP information have.

이 같이, 패킷의 타입에 따라, LSP 조건 정보가 획득되면, 패킷 처리 장치는 획득한 LSP 조건 정보에 포함된 PTL 인덱스 정보와 기설정된 PTL 인덱스 정보의 일치 여부에 따라, NHLFE 테이블로부터 LSP 정보를 포함하기 위한 TLSP, SLSP 또는 ELSP 레이블 정보를 포함하는 포워딩 정보 및 헤더 정보를 획득한다(204). SLSP 레이블 정보를 포함하는 포워딩 정보 및 헤더 정보가 획득되면, 패킷 처리 장치는 획득한 포워딩 정보에 포함된 SLSP 레이블 정보와 QoS를 보장하기 위한 폴리싱(Policing) 혹은 쉐이핑(Shaping)용 토큰 버킷 인덱스 및 토큰 버킷(Token Bucket) 프로파일 정보를 획득하고, 해쉬 테이블에 저장된 SLSP 정보가 일치하는지를 체크한다(205,206). 체크 결과, 포워딩 정보에 포함된 SLSP 레이블 정보와 해쉬 테이블에 저장된 SLSP 정보가 일치하지 않으면, 패킷 처리 장치는 수신 패킷을 전송할 서비스 타입을 해쉬 테이블부에 저장된 임시 서비스 타입으로 결정한다(207). 이때, 패킷 처리장치는 러닝(Learning)을 통해 해쉬 테이블에 새로운 서비스 타입으로 SLSP 및 관련 QoS 프로파일 등을 추가하여 업데이트 하고, 해쉬 테이블에 저장된 서비스 타입을 임시 서비스 타입으로 갱신한다.When the LSP condition information is obtained according to the packet type, the packet processing apparatus includes LSP information from the NHLFE table according to whether the PTL index information included in the acquired LSP condition information matches the predetermined PTL index information (204), including forwarding information and header information including TLSP, SLSP or ELSP label information. When the forwarding information and the header information including the SLSP label information are obtained, the packet processing apparatus obtains SLSP label information included in the acquired forwarding information, a token bucket index for policing or shaping to guarantee QoS, Bucket profile information, and checks whether the SLSP information stored in the hash table coincides with each other (205, 206). If it is determined that the SLSP label information included in the forwarding information does not match the SLSP information stored in the hash table, the packet processing apparatus determines the type of the service to which the received packet will be transmitted as the temporary service type stored in the hash table unit (207). At this time, the packet processor updates SLSP and related QoS profile as a new service type to the hash table through learning, updates the service type stored in the hash table to the temporary service type.

한편, 체크 결과, 포워딩 정보에 포함된 SLSP 레이블 정보와 해쉬 테이블에 저장된 SLSP 정보가 일치하면, 패킷 처리 장치는 수신 패킷의 서비스 타입을 생성된 서비스 타입으로 결정한다(208). 이때, 패킷 처리 장치는 해쉬 테이블에 기저장된 서비스 타입을 결정된 서비스 타입으로 갱신함이 바람직하다. 한편, 패킷 처리 장치는 결정된 서비스 타입의 요구 대역폭이 기설정된 임계값을 초과하는지를 체크하고(209), 체크 결과, 임계값을 초과하면, 미터링(Metering)을 통해 칼라마킹(Color Marking)된 그린(Green), 옐로우(Yellow), 레드(Red) 패킷의 순서대로 QoS 를 보장하며, 레드 패킷부터 수신 패킷의 전송을 종료한다(210). 한편, 체크 결과, 서비스 타입의 요구 대역폭이 기설정된 임계값을 초과하지 않으면, 패킷 처리 장치는 수신 패킷의 헤더 업데이트 및 MPLS-TP 관련 레이블들을 인캡슐레이션시켜 전송한다(211).If it is determined that the SLSP label information included in the forwarding information matches the SLSP information stored in the hash table, the packet processing apparatus determines the service type of the received packet as the generated service type (208). At this time, it is preferable that the packet processing apparatus updates the service type pre-stored in the hash table to the determined service type. Meanwhile, the packet processing apparatus checks whether the requested bandwidth of the determined service type exceeds a preset threshold value (Step 209). If the determined bandwidth exceeds the threshold value as a result of the check, the packet processing apparatus performs a color- Green, yellow, and red packets, and terminates the transmission of the received packet from the red packet (210). On the other hand, if it is determined that the requested bandwidth of the service type does not exceed the preset threshold value, the packet processing device encapsulates the header update of the received packet and encapsulates the MPLS-TP related labels (211).

한편, 단계 202을 통해 입력된 패킷이 송신 패킷이면, 패킷 처리 장치는 다음과 같은 방법을 통해 송신 패킷을 전송할 수 있다.On the other hand, if the packet input through step 202 is a transmission packet, the packet processing apparatus can transmit the transmission packet through the following method.

도 4은 본 발명의 일 실시예에 따른 MPLS-TP 망에 위치하는 패킷 처리 장치에서 송신 패킷을 전송하는 방법의 흐름도이다.4 is a flowchart illustrating a method of transmitting a transmission packet in a packet processing apparatus located in an MPLS-TP network according to an embodiment of the present invention.

도시된 바와 같이, 입력된 패킷이 송신 패킷이면, 패킷 처리 장치는 설정된 LSP를 통해 송신 패킷을 전송할 목적지가 PW 종단인지를 체크한다(400). 이후, 패킷 처리 장치는 체크 결과에 따라, 송신 패킷을 LSP로 전송하기 위한 LSP 전송 정보 또는 송신 패킷의 출력 포트별 또는 MPLS 레이블별 소스 맥 어드레스를 획득한다. 즉, 체크 결과, 송신 패킷을 전송한 목적지가 PW 종단이 아니면, 패킷 처리 장치는 송신 패킷이 MPLS 패킷인지 체크한다(401). 체크 결과, 송신 패킷이 MPLS 패킷이면, 패킷 처리 장치는 포트 레이블 테이블로부터 출력 포트와 MPLS 레이블별 소스 맥 어드레스를 획득한다(402). 한편, 체크 결과, 송신 패킷이 MPLS 패킷이 아니면, 패킷 처리 장치는 S-MAC 테이블로부터 출력 포트별 소스 맥 어드레스를 획득한다(403). 이후, 패킷 처리 장치는 송신 패킷에 포함된 필드 정보를 통해 송신 패킷을 멀티캐스트 또는 유니캐스트로 전송할지를 체크한다(406). 체크 결과, 유니캐스트로 전송하는 것으로 체크되면, 패킷 처리 장치는 단계 410을 통해 출력 포트별 소스 맥 어드레스 정보 및 Internal 헤더로부터 획득된 태그 제어 정보와 새로운 태그를 추가 또는 변경할지를 결정하여 기획득한 출력 포트별 또는 MPLS 레이블별 소스 맥 어드레스 정보의 업데이트를 수행한다.As shown in the figure, if the input packet is a transmission packet, the packet processing apparatus checks whether the destination of transmission of the transmission packet through the set LSP is the PW termination (400). Thereafter, the packet processing apparatus obtains the source MAC address for each output port or MPLS label of the LSP transmission information or the transmission packet for transmitting the transmission packet to the LSP, according to the check result. That is, if it is determined that the destination of the transmission packet is not the PW termination, the packet processing apparatus checks whether the transmission packet is an MPLS packet (401). As a result of the check, if the transmission packet is an MPLS packet, the packet processing apparatus obtains a source MAC address for each output port and MPLS label from the port label table (402). On the other hand, if it is determined that the transmitted packet is not an MPLS packet, the packet processing apparatus obtains a source MAC address for each output port from the S-MAC table (403). Thereafter, the packet processing apparatus checks whether to transmit the transmission packet by multicast or unicast through the field information included in the transmission packet (406). As a result of checking, if it is checked that the unicast is transmitted, the packet processing device determines whether to add or change the tag control information and the new tag, which are acquired from the source MAC address information and the internal header for each output port, through step 410, And updates the source MAC address information by MPLS label or by MPLS label.

한편, 체크 결과, 멀티캐스트로 전송하는 것으로 체크되면, 패킷 처리 장치는 멀티캐스트 테이블을 통해 LSP로 전송하기 위한 LSP 전송 정보를 획득한다(407). 이후, 패킷 처리 장치는 멀티캐스트 그룹내 출력 포트가 모두 서비스 되었는지를 체크하여(409), 멀티캐스트 그룹내 출력 포트가 남았으면, 단계 407을 통해 LSP로 전송하기 위한 LSP 전송 정보의 획득을 재수행한다. 한편, 체크 결과, 멀티캐스트 그룹내 출력 포트가 모두 사용되었으면, 패킷 처리 장치는 LSP로 전송하기 위하여 획득한 LSP 전송 정보를 이용하여 송신해야될 멀티캐스트 그룹내 출력 포트별 송신 패킷의 해더 및 새로운 태그를 추가 변경할지를 결정하여 업데이트를 수행한다(410).On the other hand, if it is checked that the multicast transmission is performed as a result of the check, the packet processing apparatus acquires LSP transmission information for transmission to the LSP through the multicast table (407). Thereafter, the packet processing apparatus checks whether all of the output ports in the multicast group are served (409). If the output ports in the multicast group remain, the packet processing apparatus re-acquires LSP transmission information for transmission to the LSP through step 407 . On the other hand, if all of the output ports in the multicast group have been used as a result of the check, the packet processing apparatus uses the LSP transmission information acquired for transmission to the LSP, And performs an update (410).

한편, 단계 400에서 송신 패킷을 전송할 목적지가 PW 종단이면, 패킷 처리 장치는 송신 패킷에 포함된 PW 헤더를 제거한다(404). 이후, 패킷 처리 장치는 PW 멀티캐스트 테이블로부터 송신 패킷을 LSP로 전송하기 위한 LSP 전송 정보를 획득한다(405). 즉, 패킷 처리 장치는 PW 멀티캐스트 테이블로부터 송신 패킷을 LSP로 전송하기 위한 SDT, PTL 인덱스, 태그 값, TM 큐 인덱스 및 제어 정보를 획득한다. 이후, 패킷 처리 장치는 송신 패킷을 멀티캐스트로 전송할지 아니면 유니캐스트로 전송할지를 체크한다(406). 체크 결과, 유니캐스트로 전송하는 것으로 체크되면, 패킷 처리 장치는 단계 410을 통해 단계 405에서 기획득한 LSP 전송 정보를 이용하여 송신 패킷의 헤더를 업데이트한다. 한편, 체크 결과, 멀티캐스트로 전송하는 것으로 체크되면, 패킷 처리 장치는 멀티캐스트 테이블을 통해 LSP로 전송하기 위한 LSP 전송 정보를 획득한다(407). 이후, 패킷 처리 장치는 PW 멀티캐스트 테이블로부터 L2 정보 및 레이블 정보를 저장한 후(408), 멀티캐스트 그룹내 출력 포트가 모두 서비스 되었는지를 체크한다(409). 체크 결과, 멀티캐스트 그룹내 출력 포트가 남았으면, 패킷 처리 장치는 단계 407을 통해 LSP로 전송하기 위한 LSP 전송 정보의 획득을 재수행한다. 한편, 체크 결과, 멀티캐스트 그룹내 출력 포트가 모두 사용되었으면, 패킷 처리 장치는 단계 407을 통해 획득한 LSP 전송 정보를 이용하여 송신 패킷의 헤더를 업데이트한다(410).On the other hand, if it is determined in step 400 that the destination of the transmission packet is the PW termination, the packet processing apparatus removes the PW header included in the transmission packet (step 404). Thereafter, the packet processing apparatus obtains LSP transmission information for transmitting the transmission packet from the PW multicast table to the LSP (405). That is, the packet processing device acquires the SDT, the PTL index, the tag value, the TM queue index, and the control information for transmitting the transmission packet from the PW multicast table to the LSP. Thereafter, the packet processing apparatus checks whether the transmission packet is to be transmitted by multicast or unicast (406). If it is checked that the packet is transmitted in unicast as a result of the check, the packet processing apparatus updates the header of the transmission packet using the LSP transmission information estimated in step 405 through step 410. On the other hand, if it is checked that the multicast transmission is performed as a result of the check, the packet processing apparatus acquires LSP transmission information for transmission to the LSP through the multicast table (407). Thereafter, the packet processing apparatus stores L2 information and label information from the PW multicast table (408), and then checks whether the output ports in the multicast group are all served (409). As a result of the check, if the output port in the multicast group remains, the packet processing apparatus re-acquires LSP transmission information for transmission to the LSP through step 407. [ If all of the output ports in the multicast group are used as a result of the check, the packet processor updates the header of the transmission packet using the LSP transmission information obtained in step 407 (410).

지금까지, MPLS-TP 망에 위치하는 패킷 처리 장치가 LSP를 통해 다수의 로컬 망, 프로바이더 브릿지 망 및 MPLS 망 중 적어도 하나의 망으로부터 입력되는 수신 패킷 또는 송신 패킷을 전송하는 방법에 대해 상세히 설명하기로 한다. 이하에서는 MPLS-TP 망에서 LSP를 통해 외부 망으로부터 입력되는 패킷을 서비스 타입에 따라 전송하는 패킷 처리 장치의 각 구성에 대해 상세히 설명하기로 한다.A packet processing apparatus located in an MPLS-TP network transmits a received packet or a transmission packet input from at least one of a plurality of local networks, a provider bridge network and an MPLS network through an LSP . Hereinafter, each configuration of a packet processing apparatus for transmitting packets input from an external network via an LSP in an MPLS-TP network according to a service type will be described in detail.

도 5는 본 발명의 일 실시예에 따른 패킷 전송 서비스를 제공하는 패킷 처리 장치의 블록도이다.5 is a block diagram of a packet processing apparatus for providing a packet transmission service according to an embodiment of the present invention.

도시된 바와 같이, 패킷 처리 장치는 패킷 분류부(500)와 패킷 처리부(520)를 포함한다. 패킷 분류부(500)는 다수의 로컬망, 프로바이더 브릿지 망 및 MPLS 망 중 적어도 하나의 망으로부터 패킷이 입력되면, 제어 레지스터의 제어 정보에 따라, 입력된 패킷의 이더넷 헤더 정보, 필드 정보 및 MPLS 레이블 정보를 추출한다. 이후, 패킷 분류부(500)는 추출한 정보들 중 필드 정보에 포함되는 포트정보를 통해 입력된 패킷이 제어 패킷인지 아니면 일반 패킷인지를 분류하고, 그 결과, 제어 패킷이면, CPU 인터페이스를 통해 상위 제어 채널로 전송한다. 한편, 입력된 패킷이 일반 패킷이면, 패킷 분류부(500)는 일반 패킷으로 분류된 패킷이 수신 패킷인지 아니면 송신 패킷인지를 체크한다. 체크 결과, 수신 패킷이면, 패킷 분류부(500)는 제어 레지스터의 제어 정보에 따라, 수신 패킷을 전송할 서비스 타입을 결정한다.As shown, the packet processing apparatus includes a packet classifying unit 500 and a packet processing unit 520. When a packet is input from at least one of the plurality of local networks, the provider bridge network, and the MPLS network, the packet classifying unit 500 classifies the Ethernet header information, the field information, and the MPLS information of the input packet according to the control information of the control register. And extracts the label information. Then, the packet classifying unit 500 classifies whether the packet input through the port information included in the field information is a control packet or a general packet, and if the packet is a control packet, Channel. On the other hand, if the input packet is a general packet, the packet classifying unit 500 checks whether a packet classified as a general packet is a received packet or a transmitted packet. As a result of the check, if the received packet is a packet, the packet classifying unit 500 determines the type of the service to which the received packet is to be transmitted according to the control information of the control register.

패킷 처리부(520)는 일반 패킷의 필드 정보로부터 LSP 조건 정보 또는 어드레스 정보를 획득하고, 획득한 LSP 조건 정보 또는 어드레스 정보를 참조하여 패킷 분류부(500)로부터 결정된 서비스 타입으로 입력된 패킷 전송 및 입력된 패킷의 해더 또는 어드레스 정보를 업데이트한다. 이 같은 패킷 처리부(520)는 수신 패킷 처리부(521), 송신 패킷 처리부(525)를 통해 일반 패킷의 필드 정보로부터 LSP 조건 정보 또는 어드레스 정보를 획득할 수 있다. 수신 패킷 처리부(521)는 입력된 패킷이 수신 패킷이면, 수신 패킷과 관련된 서비스 타입을 생성하고, 생성된 서비스 타입과 관련된 테이블로부터 LSP 조건 정보를 획득한다. 송신 패킷 처리부(525)는 입력된 패킷이 송신 패킷이면, 송신 패킷의 목적지가 PW 종단인지에 따라 송신 패킷을 LSP로 전송하기 위한 LSP 전송 정보 또는 어드레스 정보를 획득한다. 이 같은 수신 패킷 처리부(521)와 송신 패킷 처리부(525)를 통해 입력된 수신 패킷 또는 송신 패킷의 필드 정보로부터 LSP 조건 정보 또는 어드레스 정보를 획득할 수 있다. 보다 구체적으로, 수신 패킷 처리부(521)는 PW FEC 룩업부(522), IP FEC 룩업부(523) 및 MPLS 레이블 룩업부(524)를 통해 달성할 수 있으며, 송신 패킷 처리부(525)는 포트 룩업부(526), 포트 레이블 룩업부(527), 멀티캐스트 룩업부(528), PW 멀티캐스트 룩업부(529) 및 PW 디캡슐레이션부(530)를 통해 달성할 수 있다. PW FEC 룩업부(522)는 패킷 분류부(500)로부터 결정된 서비스 타입에 따라 수신 패킷의 필드 정보에 포함된 포트 정보, C-VID, S-VID 정보를 조합하여 결정된 서비스 타입을 생성 및 관리한다. 또한, PW FEC 룩업부(522)는 PW FEC 테이블부(540)로부터 LSP와 QoS 보장을 위한 파라미터 값을 획득할 수 있는 PTL(Packet transport layer) 인덱스 정보와 기타 제어를 위한 태그 제어 정보를 획득한다. 여기서, PW FEC 테이블부(540)는 상위 제어 채널로부터 CPU 인터페이스를 통해 MPLS-TP 망에서 LSP를 설정하기 위한 LSP 정보를 추출하기 위한 PTL 인덱스 정보 및 기타 제어를 위한 태그 제어 정보가 저장되며, PTL 인덱스 정보는 후술할 제1 NHLFE 룩업부(531)에서 사용되는 정보이다.The packet processor 520 obtains the LSP condition information or the address information from the field information of the general packet, refers to the obtained LSP condition information or address information, and transmits and inputs the packet, which is input from the packet classifier 500, And updates the header or address information of the packet. The packet processor 520 may obtain the LSP condition information or the address information from the field information of the general packet through the received packet processor 521 and the transmitted packet processor 525. If the input packet is a received packet, the received packet processing unit 521 generates a service type related to the received packet, and obtains LSP condition information from the table related to the generated service type. If the input packet is a transmission packet, the transmission packet processing unit 525 acquires LSP transmission information or address information for transmitting the transmission packet to the LSP according to whether the destination of the transmission packet is the PW termination. The LSP condition information or the address information can be obtained from the field information of the received packet or the transmitted packet inputted through the received packet processing unit 521 and the transmitted packet processing unit 525. More specifically, the received packet processing unit 521 can be achieved through the PW FEC lookup unit 522, the IP FEC lookup unit 523 and the MPLS label lookup unit 524, A port label lookup section 527, a multicast lookup section 528, a PW multicast lookup section 529, The PW FEC lookup unit 522 generates and manages the service type determined by combining the port information, the C-VID, and the S-VID information included in the field information of the received packet according to the determined service type from the packet classifying unit 500 . In addition, the PW FEC lookup unit 522 obtains the packet transport layer (PTL) index information and the tag control information for the other control that can obtain the LSP and parameter values for guaranteeing QoS from the PW FEC table unit 540 . Here, the PW FEC table unit 540 stores PTL index information for extracting LSP information for setting an LSP in the MPLS-TP network from the upper control channel through the CPU interface, and tag control information for other control, The index information is information used in the first NHLFE lookup unit 531 to be described later.

IP FEC 룩업부(523)는 패킷 분류부(500)로부터 추출된 수신 패킷의 필드 정보에 포함된 포트정보, C-VID, S-VID, 소스 맥 어드레스, E-Type(Ether Type) 정보를 이용하여 패킷 분류부(500)로부터 결정된 서비스 타입을 생성한다. 또한, IP FEC 룩업부(523)는 IP FEC 테이블부(541)로부터 LSP와 QoS 보장을 위한 파라미터 값을 획득할 수 있는 PTL 인덱스 정보와 ELSP(Encapsulation LSP)를 제어하기 위한 플래그, ELSP 레이블 정보를 획득한다. 여기서, IP FEC 테이블부(541)는 상위 제어 채널로부터 CPU 인터페이스를 통해 MPLS-TP 망에서 LSP를 설정하기 위한 LSP 정보를 추출하기 위한 PTL 인덱스 정보 및 기타 제어를 위한 ELSP, ELSP 레이블 정보가 저장되며, PTL 인덱스 정보는 제1 NHLFE 룩업부(531)에서 사용되는 정보이다.The IP FEC lookup unit 523 uses the port information, the C-VID, the S-VID, the source MAC address, and the E-Type (Ether Type) information included in the field information of the received packet extracted from the packet classifying unit 500 And generates the determined service type from the packet classifying unit 500. In addition, the IP FEC lookup unit 523 receives the PSP index information, the flag for controlling the ELSP (Encapsulation LSP), and the ELSP label information that can acquire the LSP and parameter values for guaranteeing QoS from the IP FEC table unit 541 . Here, the IP FEC table unit 541 stores PTL index information for extracting LSP information for setting an LSP in the MPLS-TP network from the upper control channel through the CPU interface, and ELSP and ELSP label information for other control , And the PTL index information is information used in the first NHLFE lookup unit 531.

MPLS 레이블 룩업부(524)는 패킷 분류부(500)로부터 추출된 수신 패킷의 필드 정보에 포함된 포트정보 및 MPLS 레이블 정보를 이용하여 패킷 분류부(500)로부터 결정된 서비스 타입을 생성한다. 또한, MPLS 레이블 룩업부(524)는 MPLS ILM 테이블부(542)로부터 LSP와 QoS를 보장하기 위한 파라미터 값을 획득할 수 있는 PTL 인덱스 정보 및 SDT(Service delimiting tag), 뉴 태그, MPLS 제어 정보 및 기타 제어를 위한 태그 제어 정보를 획득한다. 여기서, MPLS ILM 테이블부(524)는 상위 제어 채널로부터 CPU 인터페이스를 통해 MPLS-TP 망의 LSP 정보를 추출하기 위한 PTL 인덱스 정보 및 SDT(Service delimiting tag), 뉴 태그, MPLS 제어 정보 및 기타 제어를 위한 태그 제어 정보가 저장되며, PTL 인덱스 정보는 제1 NHLFE 룩업부(531)에서 사용되는 정보이다.The MPLS label lookup unit 524 generates a service type determined from the packet classifying unit 500 using the port information and the MPLS label information included in the field information of the received packet extracted from the packet classifying unit 500. In addition, the MPLS label lookup unit 524 extracts the PTL index information, SDT (Service delimiting tag), new tag, MPLS control information and the like, which can acquire the LSP and parameter values for QoS from the MPLS ILM table unit 542, And acquires tag control information for other control. Here, the MPLS ILM table unit 524 includes PTL index information, SDT (Service delimiting tag), new tag, MPLS control information, and other control for extracting LSP information of the MPLS-TP network from the upper control channel through the CPU interface And the PTL index information is information used in the first NHLFE lookup unit 531. The first NHLFE look-

이 같이, PW FEC 룩업부(522), IP FEC 룩업부(523), MPLS 레이블 룩업부(524) 중 적어도 하나의 룩업부로부터 서비스 타입이 생성되고, LSP 정보를 추출하기 위한 정보가 획득되면, 제1 NHLFE 룩업부(531)는 PW FEC 룩업부(522), IP FEC 룩업부(523), MPLS 레이블 룩업부(524) 중 적어도 하나의 룩업부로부터 생성된 서비스 타입을 결정한다. 즉, 제1 NHLFE 룩업부(531)는 PW FEC 룩업부(522), IP FEC 룩업부(523), MPLS 레이블 룩업부(524) 중 적어도 하나의 룩업부로부터 획득한 정보의 일치 여부에 따라, 해당 룩업부에서 생성된 서비스 타입을 결정한다. 실시예에 따라, 제1 NHLFE 룩업부(531)는 PW FEC 룩업부(522), IP FEC 룩업부(523), MPLS 레이블 룩업부(524) 중 적어도 하나의 룩업부로부터 획득한 정보들 중 PTL 인덱스 정보와 기저장된 PTL 인덱스 정보가 일치하는지를 체크하여 일치하면, 해당 룩업부에서 생성된 서비스 타입을 결정한다.When the service type is generated from at least one of the PW FEC lookup unit 522, the IP FEC lookup unit 523, and the MPLS label lookup unit 524, and information for extracting the LSP information is obtained, The first NHLFE lookup section 531 determines the service type generated from the lookup section of at least one of the PW FEC lookup section 522, the IP FEC lookup section 523 and the MPLS label lookup section 524. That is, the first NHLFE lookup unit 531 determines whether the information obtained from the lookup unit of at least one of the PW FEC lookup unit 522, the IP FEC lookup unit 523, and the MPLS label lookup unit 524 matches, And determines the service type generated by the lookup unit. According to the embodiment, the first NHLFE lookup unit 531 receives information from the lookup unit of at least one of the PW FEC lookup unit 522, the IP FEC lookup unit 523, and the MPLS label lookup unit 524, If the index information matches the pre-stored PTL index information, the service type is determined by the lookup unit.

또한, 제1 NHLFE 룩업부(531)는 인덱스 테이블부(543)로부터 MPLS-TP 망에 설정된 LSP를 통해 수신 패킷을 전송하기 위한 스위치 패브릭 및 송수신 출력 포트, 태그 값, TM(Traffic manager) 큐 인덱스, TB(Token bucket) 프로파일, 패킷 카운터, 기타 제어를 위한 태그 제어 정보를 획득한다. The first NHLFE lookup unit 531 receives a switch fabric for transmitting a received packet through the LSP set in the MPLS-TP network from the index table unit 543, a transmit / receive output port, a tag value, a TM , A TB (Token bucket) profile, a packet counter, and other control information for control.

한편, 제2 NHLFE 룩업부(532)는 PW FEC 룩업부(522), IP FEC 룩업부(523), MPLS 레이블 룩업부(524) 중 적어도 하나의 룩업부로부터 획득한 정보들 중 PTL 인덱스 정보와 기저장된 PTL 인덱스정보가 일치하는지를 체크하여 일치하면, 해당 룩업부에서 생성된 서비스 타입을 결정한다. 또한, 제2 NHLFE 룩업부(532)는 서비스 테이블부(544)로부터 MPLS-TP 망에 설정된 LSP 정보를 수신 패킷에 포함하기 위한 MPLS-TP 레이어 관련 정보들 및 레이블 제어 정보를 획득한다. 여기서, 서비스 테이블부(544)는 상위 제어 채널로부터 CPU 인터페이스를 통해 MPLS-TP 망에 설정된 LSP 정보를 해당 수신 패킷에 포함하기 위한 MPLS-TP 레이어 관련 SLSP(Service LSP) 레이블, TLSP(Transport LSP) 레이블, EXP, Stack, TTL, PTL 인덱스, D-MAC(Destination MAC) 또는 M-ID(Multicast ID)정보 및 레이어 제어 정보를 포함한다.The second NHLFE lookup unit 532 receives the PTL index information and the PTL index information of the information obtained from the lookup unit of at least one of the PW FEC lookup unit 522, the IP FEC lookup unit 523, and the MPLS label lookup unit 524, It is checked whether or not the previously stored PTL index information coincides with each other, and if they match, the service type generated by the lookup unit is determined. Also, the second NHLFE lookup unit 532 acquires MPLS-TP layer related information and label control information for incorporating the LSP information set in the MPLS-TP network into the received packet from the service table unit 544. The service table unit 544 includes an MPLS-TP layer-related SLSP (Service LSP) label, a TLSP (Transport LSP) label for incorporating the LSP information set in the MPLS-TP network into the corresponding received packet from the upper control channel through the CPU interface, A label, an EXP, a Stack, a TTL, a PTL index, a Destination MAC (D-MAC) or Multicast ID (M-ID)

이와 같이, 서비스 테이블부(544)에 저장되는 MPLS-TP 레이어 관련 레이블들은 도 6에 도시된 바와 같다.As described above, the MPLS-TP layer related labels stored in the service table unit 544 are as shown in FIG.

도 6은 본 발명의 일 실시예에 따른 패킷 처리 장치에서 MPLS-TP 표준에 따라 제공하는 서비스 타입의 예시도이다.6 is an exemplary diagram illustrating a service type provided according to the MPLS-TP standard in the packet processing apparatus according to an embodiment of the present invention.

도시된 바와 같이, MPLS-TP 표준 관련하여 PWAL(PW adaptation layer)와 NAL(Network adaptation layer)로 구분되며, MPLS-TP 레이어(600)의 레이블 중 ELSP(Encapsulation label)은 서비스 타입에 따라 선택적으로 사용되다. 한편, 본 발명에서 언급되는 레이어 스택(Layer stack)은 MPLS-TP 레이어의 기본 레이블(SLSP,TLSP 또는 ELSP,SLSP,TLSP)들을 모두 스택(Stack)하는 것을 의미하며, 레이블 스택은 TLSP 만을 스택하는 것을 의미하고, 이는 제어 관리부(533)의 레이블 제어 정보를 통해 지원된다. 따라서, 제2 NHLFE 룩업부(532)는 제어 관리부(533)의 제어 명령에 따라 MPLS-TP 레이어 관련 SLSP(Service LSP) 레이블, TLSP(Transport LSP) 레이블, EXP, Stack, TTL, PTL 인덱스, D-MAC(Destination MAC) 또는 M-ID(Multicast ID)정보 및 레이어 제어 정보를 획득한다.As shown, the MPLS-TP layer 600 is divided into a PW adaptation layer (PWAL) and a network adaptation layer (NAL) in relation to the MPLS-TP standard. An ELSP (Encapsulation label) be used. The layer stack referred to in the present invention means to stack all the basic labels (SLSP, TLSP or ELSP, SLSP, TLSP) of the MPLS-TP layer. The label stack stacks only the TLSP , Which is supported through the label control information of the control management unit 533. Accordingly, the second NHLFE lookup unit 532 receives the MPLS-TP layer related SLSP (Service LSP) label, TLSP (Transport LSP) label, EXP, Stack, TTL, PTL index, D -MAC (Destination MAC) or M-ID (Multicast ID) information and layer control information.

한편, 제어 관리부(533)에서 관리되는 제어 신호들은 도 7과 같다.The control signals managed by the control management unit 533 are shown in FIG.

도 7은 본 발명의 일 실시예에 따른 패킷 처리 장치의 제어 관리부에서 제어하는 제어 신호의 예시도이다.7 is an exemplary diagram illustrating a control signal to be controlled by the control management unit of the packet processing apparatus according to an embodiment of the present invention.

도시된 바와 같이, 제어 신호는 PW 서비스 인에이블(Pseudo Wire Service Enabled)(700), 멀티캐스트 인에이블(Ingress Multicast Enabled, Egress Multicast Enabled)(701,702), MPLS-TP 레어어 스택(Layer Stack Enabled)(703), 멀티캐스트 카피 인에이블(Multicast copy Enabled)(704), 송수신단에서의 멀티캐스트 인에이블(RX Enabled, TX Enabled)(705,706), PW termination flag(707), 태그 제어(Tag Control)(708), Label Valid Flag(709)를 포함한다. 따라서, 제어 관리부(533)는 이 같은 제어 신호들을 제2 NHLFE 룩업부(532), 헤더 프로세서부(534), 멀티캐스트 룩업부(528), PW 멀티캐스트 룩업부(529)로 전송한다.As shown, the control signals include a pseudo wire service enable 700, an ingress multicast enable 701 and 702, an MPLS-TP layer stack enable, 703, a multicast copy enabled 704, a multicast enable (RX Enabled, TX Enabled) 705, 706 at a transmitting / receiving end, a PW termination flag 707, (708), and a Label Valid Flag (709). Accordingly, the control management unit 533 transmits the control signals to the second NHLFE lookup unit 532, the header processor unit 534, the multicast lookup unit 528, and the PW multicast lookup unit 529.

한편, 본 발명의 추가적인 양상에 따라, 패킷 처리부(520)는 PTL 룩업부(535)를 더 포함한다. PTL 룩업부(535)는 제2 NHLFE 룩업부(532)로부터 획득한 SLSP 레이블 정보로부터 QoS 보장을 위한 토큰 버킷 인덱스 및 PTL 테이블부(549)로부터 QoS를 보장하기 위한 폴리싱, 쉐이핑용 토큰 버킷 인덱스 및 토큰 버킷 프로파일 정보를 획득한다.Meanwhile, according to a further aspect of the present invention, the packet processing unit 520 further includes a PTL lookup unit 535. The PTL lookup unit 535 extracts a token bucket index for QoS assurance from the SLSP label information obtained from the second NHLFE lookup unit 532, and policing to guarantee QoS from the PTL table unit 549, a token bucket index for shaping, Token bucket profile information.

한편, 본 발명의 추가적인 양상에 따라, 패킷 처리부(520)는 해쉬 TB(Hash/Token bucket) 카운터 룩업부(536)와 트래픽 관리부(537)를 더 포함한다. 해쉬 TB(Hash/Token bucket) 카운터 룩업부(536)는 제2 NHLFE 룩업부(532)로부터 획득한 SLSP 레이블 정보와 해쉬 테이블부(545)에 저장된 SLSP 레이블 정보의 일치 여부를 체크한다. 체크 결과, 제2 NHLFE 룩업부(532)로부터 획득한 SLSP 레이블 정보와 해쉬 테이블부(545)에 저장된 SLSP 레이블 정보가 일치하지 않으면, 해쉬/TB 카운터 룩업부(536)는 PTL 테이블부(549)로부터 획득한 토큰 버킷 프로파일 정보 등을 러닝(Learning)을 통해 새로운 해쉬 엔트리(Hash entries)를 추가하여 해쉬 테이블부(545)에 새로운 서비스 타입을 추가하여 업데이트하고, 수신 패킷을 전송하도록 결정한다. According to a further aspect of the present invention, the packet processing unit 520 further includes a hash TB (Hash / Token bucket) counter lookup unit 536 and a traffic management unit 537. The hash TB (Hash / Token bucket) counter lookup unit 536 checks whether the SLSP label information obtained from the second NHLFE lookup unit 532 matches the SLSP label information stored in the hash table unit 545. If the SLSP label information obtained from the second NHLFE lookup unit 532 does not match the SLSP label information stored in the hash table unit 545 as a result of the check, the hash / TB counter lookup unit 536 checks the PTL table unit 549, And adds a new hash entry to the hash table unit 545 through learning to update the hash table unit 545, and determines to transmit the received packet.

한편, 체크 결과, 두 SLSP 레이블 정보가 일치하면, 해쉬/TB 카운터 룩업부(536)는 생성된 서비스 타입으로 수신 패킷을 전송하도록 결정한다. 이후, 해쉬/TB 카운터 룩업부(536)는 해쉬 테이블부(545)에 기저장된 서비스 타입을 해당 서비스 타입으로 갱신한다. 이때, 해쉬/TB 카운터 룩업부(536)는 해당 서비스 타입의 요구 대역폭이 TB 카운터 테이블부(546)에 저장된 임계값을 초과하는지를 체크하여 임계값을 초과하면, 미터링(Metering)을 통한 그린(Green), 옐로우(Yellow), 레드(Red) 와 같은 칼라마킹(Color Marking)을 한 후 트래픽 관리부(228)로 수신 패킷 전송 종료와 관련된 제어 신호를 전송한다.On the other hand, if the two SLSP label information match as a result of the check, the hash / TB counter lookup unit 536 determines to transmit the received packet to the generated service type. Thereafter, the hash / TB counter lookup unit 536 updates the service type previously stored in the hash table unit 545 to the corresponding service type. At this time, the hash / TB counter lookup unit 536 checks whether the requested bandwidth of the corresponding service type exceeds the threshold stored in the TB counter table unit 546, and if the threshold value is exceeded, ), Yellow (Yellow), and Red (Red), and then transmits a control signal related to the termination of the reception packet transmission to the traffic management unit 228.

이에 따라, 트래픽 관리부(537)는 해쉬/TB 카운터 룩업부(536)로부터 전송된 수신 패킷 전송 종료와 관련된 제어 신호에 따라 해당 수신 패킷의 전송을 종료한다. 뿐만 아니라, 트래픽 관리부(537)는 상위 제어 채널로부터 CPU 인터페이스를 통해 설정된 QoS 프로파일부(553) 의 QoS 프로파일 정보에 따라 해당 수신 패킷에 대한 폴리싱(Policing) 및 쉐이핑(Shaping)을 적용한 후 패킷을 전송한다. Accordingly, the traffic management unit 537 terminates the transmission of the received packet according to the control signal related to the end of transmission of the received packet transmitted from the hash / TB counter lookup unit 536. In addition, the traffic management unit 537 applies policing and shaping for the received packet according to the QoS profile information of the QoS profile unit 553 set through the CPU interface from the upper control channel, and then transmits a packet do.

본 발명의 추가적인 양상에 따라, 패킷 처리부(220)는 TTL 제어부(538)를 더 포함한다. TTL 제어부(538)는 MPLS-TP 레이어 관련 최상위 레이블(TLSP or SLSP) 이 스왑(Swap)이면 TTL 차감, 팝(Pop)이면 TTL 프로세싱 모드(Short Pipe 모델 또는 Uniform 모델)에 따라 TTL 복사 기능, 푸쉬(Push)이면 제2 NHLFE 룩업부(532)로부터 획득한 TTL 값으로 TTL 을 초기화하는 기능을 수행한다. According to a further aspect of the present invention, the packet processing unit 220 further includes a TTL control unit 538. [ The TTL control unit 538 performs a TTL copy function if the TLSP or SLSP related to the MPLS-TP layer is a TTL subtraction if it is a swap or a TTL copy function according to a TTL processing mode (a Short Pipe model or a Uniform model) (Push), and performs a function of initializing the TTL with the TTL value acquired from the second NHLFE lookup unit 532.

한편, 본 발명의 추가적인 양상에 따라, 패킷 처리부(220)는 헤더 프로세싱부(534)와 헤더 생성부(539)를 더 포함한다. 헤더 생성부(539)는 제1 및 제2 NHLFE 룩업부(531,532)로부터 획득한 정보를 통해 S-Tag 위치에 입력 스위치 포트 및 출력 스위치 포트 정보를 포함하는 Internal 헤더 1을 생성한다. 그리고, 헤더 생성부(539)는 S-MAC 위치에 출력 라인카드 포트, 멀티캐스트 제어정보, PW 종단 제어, PW 태그(Tag) 제어 정보, SDT 타입 정보, QoS 제어를 위한 칼라 마킹된 칼라(Color) 정보, 활성화(Active)된 스위치인지 비 활성화(Stand-by)된 스위치인지를 나타내는 스위치 상태정보, 보호절체를 위한 워킹(Working) 패스인지, 프로텍션(Protection) 패스인지를 나타내는 패스 상태정보, SLSP 가 푸쉬(Push) 되었는지를 나타내는 제어 정보, 새로운 태그(Tag) 정보를 포함하는 Internal 헤더 2를 생성한다. 마지막으로, 헤더 생성부(539)는 D-MAC 위치에 유니캐스트일 때는 Internal 헤더 3을 유니캐스트 D-MAC으로 이용을 하고, 멀티캐스트일 때는 멀티캐스트 ID(M-ID) 정보를 포함하는 Internal 헤더 3 을 생성하는 기능을 수행한다.Meanwhile, according to a further aspect of the present invention, the packet processing unit 220 further includes a header processing unit 534 and a header generating unit 539. The header generating unit 539 generates the internal header 1 including the input switch port and the output switch port information at the S-Tag position through the information obtained from the first and second NHLFE lookup units 531 and 532. The header generation unit 539 generates an output line card port, multicast control information, PW termination control, PW tag control information, SDT type information, and color-marking color ), Switch state information indicating whether the switch is an active switch or a stand-by switch, a working path for protection switching, a path state information indicating whether the switch is a protection path, a SLSP And internal header 2 including control information indicating whether the tag is pushed and new tag information. Finally, the header generating unit 539 uses the internal header 3 as the unicast D-MAC when the D-MAC position is unicast, and uses the internal header 3 including the multicast ID (M-ID) And generates a header 3.

헤더 프로세싱부(534)는 MPLS-TP 망에 설정된 LSP를 통해 수신 패킷을 목적지 망으로 전송하기 위해 제어 관리부(533)의 제어 명령에 따라 MPLS-TP 레이어 관련 TLSP 및 SLSP 또는 ELSP 레이블의 푸쉬(Push), 스왑(Swap) 또는 팝(Pop) 기능을 설정한다. The header processing unit 534 processes the MPLS-TP layer-related TLSP and the SLSP or ELSP label in accordance with the control command of the control management unit 533 to transmit the received packet to the destination network through the LSP set in the MPLS- ), Swap (Swap) or pop (Pop) function is set.

이 같은 헤더 프로세싱부(534)는 TTL 제어부(538)로부터 TTL 차감, TTL 복사, TTL 세팅등의 기능을 통해 인가되는 인자값에 따라 MPLS-TP 레이어 관련 최상위 레이블(TLSP or SLSP) 의 TTL 필드을 업데이트 한다. 또한, 헤더 프로세싱부(534)는 목적지 망에 적합하도록 수신 패킷의 필드 정보에 태그를 삽입하거나, 제거하거나 또는 변경을 수행한다. 이 같은 헤더 프로세싱부(534)는 헤더 생성부(539)로부터 제1 및 제2 NHLFE 룩업부(531,532)로부터 획득한 정보에 따라 생성된 3개의 Internal 헤더를 수신 패킷에 포함시킨다. 즉, 헤더 프로세싱부(534)는 수신 패킷인 경우에는 패킷 메모리부(547)에 저장된 패킷을 헤더 조건 정보에 따라, 제2 NHLFE 룩업부(532)에서 획득한 TLSP, SLSP 레이블등을 인캡슐레이션(Encapsulation) 시키고, 수신 패킷의 헤더에 헤더 생성부(534)로부터 생성된 3개의 Internal 헤더를 삽입하고, 송신패킷의 경우에는 Internal 헤더를 제거한 후, Internal 헤더 위치에 D-MAC(Destination MAC address)은 멀티캐스트인 경우에만 업데이트, 그리고 S-MAC(Source MAC address)을 업데이트 시킨후, 로컬망, 프로바이더 브릿지 망, MPLS 망 등 목적지 망에 적합하도록 L2 VLAN 태그를 추가, 제거 또는 변경할 수 있다.The header processing unit 534 updates the TTL field of the highest-level label (TLSP or SLSP) related to the MPLS-TP layer according to the factor value applied through the TTL subtraction, the TTL copy, and the TTL setting from the TTL control unit 538 do. In addition, the header processing unit 534 inserts, removes, or changes the tag in the field information of the received packet so as to be suitable for the destination network. The header processing unit 534 includes three internal headers generated according to the information obtained from the first and second NHLFE lookup units 531 and 532 from the header generating unit 539 in the received packet. That is, in the case of a received packet, the header processing unit 534 encapsulates the packet stored in the packet memory unit 547 with the TLSP and the SLSP label acquired in the second NHLFE lookup unit 532 according to the header condition information, (D-MAC) address at the internal header position after removing the internal header in the case of the transmission packet, inserting the D-MAC (Destination MAC address) Only the multicast is updated, and the source MAC address (S-MAC) is updated. Then, the L2 VLAN tag can be added, removed or changed to the destination network such as the local network, the provider bridge network, and the MPLS network.

한편, 본 발명의 추가적인 양상에 따라, 패킷 처리부(520)는 OAM 패킷 처리부(550)와 경로 보호절체부(551)를 더 포함한다. OAM 패킷 처리부(550)는 OAM 테이블부(548)에 저장된 SLSP OAM, TLSP OAM, PW OAM을 이용하여 패킷 분류부(500)로부터 분류된 패킷의 경로의 이상 여부를 체크한다. 즉, OAM 패킷 처리부(550)는 입력된 패킷으로 CCM(Continuity check message)을 전송하고 그에 따른 응답 메시지를 수신하여 해당 패킷이 입력되는 경로에 문제가 있는지를 체크한다. 그러나, 본 발명은 이에 한정되지 않으며, OAM 패킷 처리부(550)는 LTM(Link trace message), LTR(Link trace reply), LBM(Loopback message), LBR(Loopback reply) 등을 CPU 인터페이스를 통해 상위 프로세서로 전송하고, 그에 따른 응답 메시지를 수신하여 패킷이 입력되는 경로에 문제가 있는지를 체크할 수 있다. 이 같은 응답 메시지에 따라, 경로에 이상이 있는 것으로 체크되면, 경로 보호절체부(551)는 현재 서비스되고 있는 경로를 대체 가능한 경로로 보호절체를 수행한다.According to a further aspect of the present invention, the packet processing unit 520 further includes an OAM packet processing unit 550 and a path protection switching unit 551. The OAM packet processing unit 550 checks whether the path of the packet classified from the packet classifying unit 500 is abnormal by using the SLSP OAM, the TLSP OAM, and the PW OAM stored in the OAM table unit 548. That is, the OAM packet processing unit 550 transmits a Continuity Check message (CCM) to the input packet, receives a response message corresponding thereto, and checks whether there is a problem in the path through which the packet is input. However, the present invention is not limited to this, and the OAM packet processing unit 550 may transmit a link trace message (LTM), a link trace reply (LTR), a loopback message (LBM) And can check whether there is a problem in the path through which the packet is input by receiving the response message accordingly. According to the response message, if it is checked that there is an error in the path, the path protection switching unit 551 carries out a protection switching with a path that can replace the path currently being serviced.

한편, 패킷 분류부(500)로부터 분류된 일반 패킷이 송신 패킷인 것으로 체크되면, 전술한 바와 같이, 송신 패킷 처리부(525)는 포트 룩업부(526), 포트 레이블 룩업부(527), 멀티캐스트 룩업부(528), PW 멀티캐스트 룩업부(529) 중 하나의 룩업부를 통해 획득한 정보를 이용하여 송신 헤더 업데이트 및 SDT(Service Delimiting Tag), 새로운 VLAN 태그를 변경, 추가, 제거등을 할 수 있다. 포트 룩업부(234)는 일반 패킷으로 분류된 패킷이 MPLS 패킷이 아닌 송신 패킷이면, 도 8과 같이 Internal 헤더를 포함하는 송신 패킷의 필드 정보에 포함된 출력 포트로부터 소스 맥 어드레스를 업데이트하며, S-MAC 테이블부(560)로부터 출력 포트의 소스 맥 어드레스, TM 큐 인덱스, 패킷 카운터 인덱스 정보를 획득한다.If it is checked that the general packet classified by the packet classifying unit 500 is a transmission packet, as described above, the transmission packet processing unit 525 includes a port lookup unit 526, a port label lookup unit 527, It is possible to change transmission header, SDL (Service Delimiting Tag), and change, add or remove a new VLAN tag by using the information obtained through the lookup unit of one of the lookup unit 528 and the PW multicast lookup unit 529 have. If the packet classified as a general packet is a transmission packet other than an MPLS packet, the port lookup unit 234 updates the source MAC address from the output port included in the field information of the transmission packet including the Internal header as shown in FIG. 8, And obtains the source MAC address, the TM queue index, and the packet counter index information of the output port from the MAC table unit 560.

도 8은 본 발명의 일 실시예에 따른 송신 패킷의 필드 정보에 포함되는 Internal 헤더의 위치를 나타내는 예시도이다.8 is a diagram illustrating an example of a location of an internal header included in field information of a transmission packet according to an embodiment of the present invention.

도시된 바와 같이, Internal 헤더 1,2,3은 S-TAG, S-MAC, D-MAC의 위치에 포함된다. 따라서, 포트 룩업부(526)는 S-TAG, S-MAC, D-MAC로부터 Internal 헤더 1,2,3을 획득하고, 그 획득한 Internal 헤더에 실려오는 출력 포트 정보를 통해 소스 맥 어드레스를 업데이트할 수 있다.As shown, the Internal Headers 1, 2, and 3 are included in the positions of the S-TAG, the S-MAC, and the D-MAC. Accordingly, the port lookup unit 526 acquires Internal Headers 1, 2, and 3 from the S-TAG, the S-MAC, and the D-MAC, updates the source MAC address through the output port information loaded in the acquired Internal header can do.

한편, 포트 레이블 룩업부(527)는 일반 패킷으로 분류된 패킷이 MPLS 송신 패킷이면, Internal 헤더를 포함하는 송신 패킷의 필드 정보에 포함된 출력 포트와 최상위 MPLS 레이블로부터 소스 맥 어드레스를 업데이트하며, 포트 레이블 테이블부(561)로부터 출력 포트의 소스 맥 어드레스, TM 큐 인덱스, 패킷 카운터 인덱스 정보를 획득한다. 한편, 멀티캐스트 룩업부(528)는 송신 패킷의 필드 정보에 포함되는 적어도 하나의 레이블의 M-ID 정보 및 플래그를 통해 송신 패킷을 멀티캐스트로 전송할지 아니면, 유니캐스트로 전송할지를 결정한다. 또한, 멀티캐스트 룩업부(528)는 멀티캐스트 테이블부(562)을 통해 MPLS-TP 망에 설정된 LSP로 송신 패킷을 전송하기 위한 D-MAC(Destination MAC) 어드레스, PTL 인덱스, MPLS-TP 레이어 레이블들, EXPs, STACKs, TTLs, 태그 값(Value), TM 큐 인덱스, 카운터 인덱스, 제어 정보를 획득한다.On the other hand, if the packet classified as a general packet is an MPLS transmission packet, the port label lookup unit 527 updates the source MAC address from the output port included in the field information of the transmission packet including the Internal header and the highest MPLS label, The source MAC address, the TM queue index, and the packet counter index information of the output port are obtained from the label table unit 561. Meanwhile, the multicast lookup unit 528 determines whether to transmit the multicast or unicast packet through the M-ID information and the flag of at least one label included in the field information of the transmission packet. The multicast lookup unit 528 also receives a D-MAC (Destination MAC) address, a PTL index, an MPLS-TP layer label for transmitting a transmission packet to the LSP set in the MPLS-TP network through the multicast table unit 562 EXPs, STACKs, TTLs, Tag value, TM queue index, counter index, and control information.

한편, PW 멀티캐스트 룩업부(529)는 송신 패킷의 필드 정보에 포함되는 적어도 하나의 레이블의 M-ID 정보 및 플래그를 통해 송신 패킷을 멀티캐스트 또는 유니캐스트로 전송할지를 결정한다. 또한, PW 멀티캐스트 룩업부(529)는 PW 멀티캐스트 테이블부(563)로부터 MPLS-TP 망에 설정된 LSP로 송신 패킷을 전송하기 위한 SDT, PTL 인덱스, 태그 값, TM 큐 인덱스 및 제어 정보를 획득한다. 이때, PW 종료 플래그가 인에이블 되면, PW 디캡슐레이션부(530)는 PW를 제거한다.Meanwhile, the PW multicast lookup unit 529 determines whether to transmit the transmission packet by multicast or unicast through the M-ID information and the flag of at least one label included in the field information of the transmission packet. The PW multicast lookup unit 529 acquires the SDT, the PTL index, the tag value, the TM queue index, and the control information for transmitting the transmission packet from the PW multicast table unit 563 to the LSP set in the MPLS-TP network do. At this time, if the PW termination flag is enabled, the PW decapsulation unit 530 removes the PW.

지금까지, 본 발명에 따른 패킷 처리 장치의 각 구성에 대해 상세히 설명하였다. 이하에서는 도9 내지 도 11을 통해 패킷 처리 장치에서 패킷 전송 서비스를 수행하는 예를 설명하도록 한다.Up to now, each configuration of the packet processing apparatus according to the present invention has been described in detail. Hereinafter, an example of performing a packet transmission service in the packet processing apparatus will be described with reference to FIG. 9 through FIG.

도 9a는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 LSP를 통해 패킷 전송 서비스를 수행하는 예시도이며, 도 9b는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 또다른 LSP를 통해 패킷 전송 서비스를 수행하는 예시도이다.FIG. 9A illustrates an example of performing a packet transmission service through an LSP established in an MPLS-TP network according to an exemplary embodiment of the present invention. FIG. FIG. 2 is a diagram illustrating an example of performing a packet transmission service through the Internet.

먼저, 도 9a는 입력된 패킷에 포함된 입력 포트와 C-Tag를 이용한 Network adaptation layer 서비스(#1)이다. 이 같은 입력 포트와 C-Tag를 이용한 Network adaptation layer 서비스(#1)는 도 1과 같이 유저1 -> 커스터머 망(20)에 위치한 액세스 스위치 -> 패킷 처리 장치(100h) -> 패킷 처리 장치(100g) -> 커스터머 망(30)에 위치한 액세스 스위치 -> 유저3 순서로 MPLS-TP 망의 LSP#1을 통해 패킷 서비스가 제공된다. 즉, 커스터머 망(20)을 통해 입력된 패킷(900)은 MPLS-TP 망에서 패킷 전송 프레임(910)으로 변환되며, 그 변환된 패킷 전송 프레임(910)은 패킷 처리 장치(100h)를 통해 목적지 망에 위치한 패킷 처리 장치(100g)로 전송된다. 여기서, 패킷 전송 프레임(910)에 포함되는 ELSP의 존재 유무는 서비스 타입 결정시 E-Type을 볼 것인지에 따라 결정되며, 2개의 TLSP 중 한 개는 필수이며, 두번째 TLSP는 선택적으로 레이블 스택이 이루어진 것이다. 따라서, MPLS-TP 망 구성 요소에 따라 TLSP 레이블 스택의 추가는 가능하다. 한편, 목적지 망에 위치하는 패킷 처리 장치(100g)는 태그 제어 정보를 이용하여 해당 패킷 전송 프레임(910)으로부터 C-Tag 및 S-Tag의 존재 유무를 결정하여 패킷 전송 프레임(910)의 헤더를 업데이트 한 후, 목적지인 커스터머 망(30)으로 패킷 전송 프레임(910)과 관련된 송신 패킷(920)을 전송한다.9A is a network adaptation layer service (# 1) using an input port and a C-Tag included in an input packet. As shown in FIG. 1, the network adaptation layer service (# 1) using the input port and the C-Tag includes an access switch, a packet processing device 100h, and a packet processing device 100h located in the user 1 -> customer network 20 The packet service is provided through the LSP # 1 of the MPLS-TP network in order of access switch-> user 3 located in the customer network 30. That is, the packet 900 inputted through the customer network 20 is converted into a packet transmission frame 910 in the MPLS-TP network, and the converted packet transmission frame 910 is transmitted through the packet processing device 100h to the destination And is transmitted to the packet processing apparatus 100g located in the network. Here, the presence or absence of the ELSP included in the packet transmission frame 910 is determined depending on whether the E-Type is determined when determining the service type, one of the two TLSPs is mandatory, and the second TLSP is selectively provided with a label stack . Therefore, it is possible to add a TLSP label stack according to the MPLS-TP network element. On the other hand, the packet processing apparatus 100g located in the destination network determines whether the C-Tag and the S-Tag exist from the corresponding packet transmission frame 910 using the tag control information, and stores the header of the packet transmission frame 910 And transmits a transmission packet 920 related to the packet transmission frame 910 to the customer network 30 as a destination.

도 6b는 입력된 패킷에 포함된 입력 포트와 S-Tag를 이용한 Network adaptation layer 서비스(#2)이다. 이 같은 입력 포트와 S-Tag를 이용한 Network adaptation layer 서비스(#2)는 도 1과 같이, 유저2 -> 프로바이더 브릿지 망(50)에 위치한 액세스 스위치 -> 패킷 처리 장치(100a) -> 패킷 처리 장치(100f) -> 패킷 처리 장치(100e) -> 프로바이더 브릿지 망(60) -> 유저5의 순서로 MPLS-TP 망의 LSP#2와 LSP#11를 통해 패킷 서비스가 제공된다. 즉, 프로바이더 브릿지 망(50)을 통해 입력된 패킷(930)은 MPLS-TP 망에서 패킷 전송 프레임(940)으로 변환되며, 그 변환된 패킷 전송 프레임(940)은 목적지 망에 위치한 패킷 처리 장치(100e)로 전송된다. 여기서, 패킷 전송 프레임(940)에 포함되는 ELSP의 존재 유무는 서비스 타입 결정 시, E-Type으로 볼것인지에 따라 결정되며, 2개의 TLSP 중 한 개는 필수이며, 두번째 TLSP는 선택적으로 레이블 스택으로 이루어진 것이다. 따라서, MPLS-TP 망 구성 요소에 따라 TLSP 레이블 스택의 추가는 가능하다. 한편, 목적지 망에 위치하는 패킷 처리 장치(100e)는 태그 제어 정보를 이용하여 패킷 전송 프레임(940)의 C-Tag 및 S-Tag의 존재 유무를 결정하여 해당 패킷 전송 프레임(940)의 헤더를 업데이트 한 후, 목적지인 프로바이더 브릿지 망(60)으로 패킷 전송 프레임(940)과 관련된 송신 패킷(950)을 전송한다.6B is a network adaptation layer service (# 2) using an S-Tag and an input port included in the input packet. As shown in FIG. 1, the network adaptation layer service (# 2) using the input port and the S-Tag includes an access switch, a packet processing device 100a located in the user 2 -> provider bridge network 50, The packet service is provided through the LSP # 2 and the LSP # 11 of the MPLS-TP network in the order of the processing apparatus 100f, the packet processing apparatus 100e, the provider bridge network 60, and the user 5. That is, the packet 930 inputted through the provider bridge network 50 is converted into a packet transmission frame 940 in the MPLS-TP network, and the converted packet transmission frame 940 is transmitted to the packet processing unit 940, 0.0 > 100e. ≪ / RTI > Here, the presence or absence of the ELSP included in the packet transmission frame 940 is determined depending on whether the ELSP is included in the E-Type when determining the service type, one of the two TLSPs is mandatory, and the second TLSP is optional will be. Therefore, it is possible to add a TLSP label stack according to the MPLS-TP network element. Meanwhile, the packet processing apparatus 100e located in the destination network determines whether the C-Tag and the S-Tag exist in the packet transmission frame 940 using the tag control information, and transmits the header of the packet transmission frame 940 And transmits the transmission packet 950 related to the packet transmission frame 940 to the provider bridge network 60 which is the destination.

도 10a는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 LSP를 통해 패킷 전송 서비스를 수행하는 예시도이며, 도 10b는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 또다른 LSP를 통해 패킷 전송 서비스를 수행하는 예시도이다.FIG. 10A illustrates an example of performing a packet transmission service through an LSP established in an MPLS-TP network according to an exemplary embodiment of the present invention. FIG. FIG. 2 is a diagram illustrating an example of performing a packet transmission service through the Internet.

도 10a는 입력된 패킷에 포함된 입력 포트와 MPLS 레이블을 이용한 Network adaptation layer 서비스(#3)이다. 이 같은 입력 포트와 MPLS 레이블을 이용한 Network adaptation layer 서비스(#3)는 도 1과 같이, MPLS 망(70)에 위치한 액세스 스위치 -> 패킷 처리 장치(100b) -> 패킷 처리 장치(100c) -> 패킷 처리 장치(100f) -> MPLS 망(80)에 위치한 액세스 스위치의 순서로 MPLS-TP 망의 LSP#8과 LSP#7을 통해 패킷 서비스가 제공된다. 즉, MPLS 망(70)을 통해 입력된 패킷(1000)은 MPLS-TP 망에서 패킷 전송 프레임(1010)으로 변환되며, 그 변환된 패킷 전송 프레임(1010)은 목적지 망에 위치한 패킷 처리 장치(100c)로 전송된다. 여기서, 패킷 전송 프레임(1010)에 포함되는 ELSP의 존재 유무는 서비스 타입 결정 시, E-Type으로 볼것인지에 따라 결정되며, 2개의 TLSP 중 한 개는 필수이며, 두번째 TLSP는 선택적으로 레이블 스택으로 이루어진 것이다. 따라서, MPLS-TP 망 구성 요소에 따라 TLSP 레이블 스택의 추가는 가능하다. 한편, 목적지 망에 위치하는 패킷 처리 장치(100c)는 태그 제어 정보를 이용하여 패킷 전송 프레임(1010)의 C-Tag 및 S-Tag의 존재 유무를 결정하여 해당 패킷 전송 프레임(1010)의 헤더를 업데이트 한 후, 목적지인 MPLS 망(80)으로 패킷 전송 프레임(1010)과 관련된 송신 패킷(1020)을 전송한다.10A is a network adaptation layer service (# 3) using an MPLS label and an input port included in an input packet. As shown in FIG. 1, the network adaptation layer service (# 3) using the input port and the MPLS label includes the access switch-> the packet processing apparatus 100b-> the packet processing apparatus 100c-> located in the MPLS network 70. [ The packet service is provided through the LSP # 8 and the LSP # 7 of the MPLS-TP network in the order of the access switch located in the packet processing apparatus 100f-> the MPLS network 80. [ That is, the packet 1000 input through the MPLS network 70 is converted into a packet transmission frame 1010 in the MPLS-TP network, and the packet transmission frame 1010 is transmitted to the packet processing apparatus 100c ). Here, the presence or absence of the ELSP included in the packet transmission frame 1010 is determined according to whether the E-Type is considered when determining the service type, one of the two TLSPs is mandatory, and the second TLSP is optionally made up of a label stack will be. Therefore, it is possible to add a TLSP label stack according to the MPLS-TP network element. On the other hand, the packet processing apparatus 100c located in the destination network determines whether the C-Tag and the S-Tag exist in the packet transmission frame 1010 using the tag control information and stores the header of the packet transmission frame 1010 And transmits a transmission packet 1020 related to the packet transmission frame 1010 to the MPLS network 80 as a destination.

도 10b는 입력 포트와 S-Tag를 이용한 Network adaptation layer 서비스(#2)와 목적지 망이 다른 경우의 입력된 패킷의 입력 포트 및 S-Tag를 이용한 Network adaptation layer 서비스(#4)이다. 이 같은 입력된 패킷의 입력 포트 및 S-Tag를 이용한 Network adaptation layer 서비스(#4)는 도 1과 같이, 유저2 -> 프로바이더 브릿지 망(50)에 위치하는 액세스 스위치 -> 패킷 처리 장치(100a) -> 패킷 처리 장치(100b) -> 패킷 처리 장치(100d) -> 커스터머 망(40)에 위치한 액세스 스위치 -> 유저4 순서로 MPLS-TP 망의 LSP#4와 LSP#10을 통해 패킷 서비스가 제공된다. 즉, 프로바이더 브릿지 망(50)을 통해 입력된 패킷(1000)은 MPLS-TP 망에서 패킷 전송 프레임(1030)으로 변환되며, 그 변환된 패킷 전송 프레임(1030)은 목적지 망에 위치한 패킷 처리 장치(100d)로 전송된다. 여기서, 패킷 전송 프레임(1030)에 포함되는 ELSP의 존재 유무는 서비스 타입 결정 시, E-Type으로 볼것인지에 따라 결정되며, 2개의 TLSP 중 한 개는 필수이며, 두번째 TLSP는 선택적으로 레이블 스택으로 이루어진 것이다. 따라서, MPLS-TP 망 구성 요소에 따라 TLSP 레이블 스택의 추가는 가능하다. 한편, 목적지 망에 위치하는 패킷 처리 장치(100d)는 태그 제어 정보를 이용하여 패킷 전송 프레임(1010)의 C-Tag 및 S-Tag의 존재 유무를 결정하여 해당 패킷 전송 프레임(1010)의 헤더를 업데이트 한 후, 목적지인 커스터머 망(40)으로 패킷 전송 프레임(1040)과 관련된 송신 패킷(1050)을 전송한다.10B is a network adaptation layer service (# 4) using an input port and an S-Tag of an input packet when the destination network is different from the network adaptation layer service (# 2) using an input port and an S-Tag. As shown in FIG. 1, the network adaptation layer service (# 4) using the input port of the input packet and the S-Tag is connected to the access switch-> packet processing device The access router located in the customer network 40 receives the packet through the LSP # 4 and the LSP # 10 of the MPLS-TP network in the order of the user 4 and the access router located in the customer network 40, Service is provided. That is, the packet 1000 inputted through the provider bridge network 50 is converted into a packet transmission frame 1030 in the MPLS-TP network, and the converted packet transmission frame 1030 is transmitted to the packet processing apparatus 1030 located in the destination network. (100d). The presence or absence of the ELSP included in the packet transmission frame 1030 is determined depending on whether the ELSP is included in the E-Type when determining the service type, one of the two TLSPs is mandatory, and the second TLSP is optional will be. Therefore, it is possible to add a TLSP label stack according to the MPLS-TP network element. On the other hand, the packet processing apparatus 100d located in the destination network determines the presence or absence of the C-Tag and the S-Tag in the packet transmission frame 1010 using the tag control information and transmits the header of the packet transmission frame 1010 And transmits the transmission packet 1050 related to the packet transmission frame 1040 to the customer network 40, which is the destination.

도 11a는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 LSP를 통해 패킷 전송 서비스를 수행하는 예시도이며, 도 11b는 본 발명의 일 실시예에 따른 MPLS-TP 망에 설정된 또다른 LSP를 통해 패킷 전송 서비스를 수행하는 예시도이다.FIG. 11A illustrates an example of performing a packet transmission service through an LSP established in an MPLS-TP network according to an exemplary embodiment of the present invention. FIG. FIG. 2 is a diagram illustrating an example of performing a packet transmission service through the Internet.

도 11a는 입력된 패킷에 포함된 입력 포트와 C-Tag를 이용한 PW adaptation layer 서비스(#5)이다. 이 같은 입력 포트와 C-Tag를 이용한 PW adaptation layer 서비스(#5)는 도 1과 같이, 커스터머 에지 노드(21) -> 패킷 처리 장치(100a) -> 패킷 처리 장치(100f) -> 커스터머 에지 노드(22) 순서로 MPLS-TP 망의 LSP#4, LSP#8 및 LSP#10을 통해 패킷 서비스가 제공된다. 즉, 커스터머 에지 노드(21)을 통해 입력된 패킷(1100)은 MPLS-TP 망에서 패킷 전송 프레임(1110)으로 변환되며, 그 변환된 패킷 전송 프레임(1110)은 목적지 망에 위치한 패킷 처리 장치(100f)로 전송된다. 여기서, 패킷 전송 프레임(1110)에 포함되는 PW Encap, PW Label, TLSP는 필수이며, MPLS-TP 망의 구성 요소에 따라 TLSP 레이블 스택의 추가는 가능하다. 한편, 목적지 망에 위치하는 패킷 처리 장치(100f)는 PW의 두가지 모드(Raw 모드, Tagged 모드) 중 하나의 모드와 관련된 SDT 제어 정보를 이용하여 C-Tag 및 S-Tag 삽입, 제거, 변경 유무를 결정한다. 이후, 패킷 처리 장치(100f)는 해당 패킷 전송 프레임(1110)의 헤더를 업데이트 한 후, 목적지인 커스터머 에지 노드(22)로 해당 패킷 전송 프레임(1110)과 관련된 송신 패킷(1120)을 전송한다.11A is a PW adaptation layer service (# 5) using an input port included in an input packet and a C-Tag. The PW adaptation layer service (# 5) using the input port and the C-Tag is connected to the customer edge node 21, the packet processing apparatus 100a, the packet processing apparatus 100f, The packet service is provided through LSP # 4, LSP # 8 and LSP # 10 of the MPLS-TP network in the order of the node 22. That is, the packet 1100 input through the customer edge node 21 is converted into a packet transmission frame 1110 in the MPLS-TP network, and the packet transmission frame 1110 is transmitted to a packet processing apparatus 100f. Here, the PW Encap, PW Label and TLSP included in the packet transmission frame 1110 are mandatory, and it is possible to add a TLSP label stack according to the constituent elements of the MPLS-TP network. On the other hand, the packet processing apparatus 100f located in the destination network uses the SDT control information related to one of the two modes (Raw mode, Tagged mode) of the PW to determine whether the C-Tag and the S- . The packet processing apparatus 100f updates the header of the corresponding packet transmission frame 1110 and then transmits the transmission packet 1120 related to the packet transmission frame 1110 to the customer edge node 22 as the destination.

도 11b는 입력된 패킷에 포함된 입력 포트와 S-Tag를 이용한 PW adaptation layer 서비스(#6)이다. 이 같은 입력 포트와 S-Tag를 이용한 PW adaptation layer 서비스(#6)는 도 1과 같이, 커스터머 에지 노드(51) -> 패킷 처리 장치(100a) -> 패킷 처리 장치(100f) -> 커스터머 에지 노드(52) 순서로 MPLS-TP 망의 LSP#2를 통해 패킷 서비스가 제공된다. 즉, 커스터머 에지 노드(51)을 통해 입력된 패킷(1130)은 MPLS-TP 망에서 패킷 전송 프레임(1140)으로 변환되며, 그 변환된 패킷 전송 프레임(1140)은 목적지 망에 위치한 패킷 처리 장치(100f)로 전송된다. 여기서, 패킷 전송 프레임(1140)에 포함되는 PW Encap, PW Label, TLSP는 필수이며, MPLS-TP 망의 구성 요소에 따라 TLSP 레이블 스택의 추가는 가능하다. 한편, 목적지 망에 위치하는 패킷 처리 장치(100f)는 PW의 두가지 모드(Raw 모드, Tagged 모드) 중 하나의 모드와 관련된 SDT 제어 정보를 이용하여 C-Tag 및 S-Tag 삽입, 제거, 변경 유무를 결정한다. 이후, 패킷 처리 장치(100f)는 해당 패킷 전송 프레임(1140)의 헤더를 업데이트 한 후, 목적지인 커스터머 에지 노드(52)로 해당 패킷 전송 프레임(1140)과 관련된 송신 패킷(1150)을 전송한다.11B is a PW adaptation layer service (# 6) using an S-Tag and an input port included in the input packet. As shown in FIG. 1, the PW adaptation layer service (# 6) using the input port and the S-Tag includes a customer edge node 51, a packet processing apparatus 100a, a packet processing apparatus 100f, The packet service is provided through the LSP # 2 of the MPLS-TP network in the order of the node 52. That is, the packet 1130 input through the customer edge node 51 is converted into a packet transmission frame 1140 in the MPLS-TP network, and the packet transmission frame 1140 is transmitted to the packet processing apparatus 100f. Here, PW Encap, PW Label, and TLSP included in the packet transmission frame 1140 are mandatory, and it is possible to add a TLSP label stack according to a component of the MPLS-TP network. On the other hand, the packet processing apparatus 100f located in the destination network uses the SDT control information related to one of the two modes (Raw mode, Tagged mode) of the PW to determine whether the C-Tag and the S- . The packet processing apparatus 100f updates the header of the corresponding packet transmission frame 1140 and then transmits a transmission packet 1150 related to the corresponding packet transmission frame 1140 to the customer edge node 52 as a destination.

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. The present invention has been described with reference to the preferred embodiments.

본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is defined by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.

10 : MPLS-TP 망 20,30,40 : 커스터머 망
21,22,51,52 : 커스터머 에지 노드 50, 60 : 프로바이더 브릿지 망
70,80 : MPLS 망 100 : 패킷 처리 장치
500 : 패킷 분류부 520 : 패킷 처리부
521 : 수신 패킷 처리부 222 : PW FEC 룩업부
223 : IP FEC 룩업부 224 : MPLS 레이블 룩업부
525 : 송신 패킷 처리부 526 : 포트 룩업부
527 : 포트 레이블 룩업부 528 : 멀티캐스트 룩업부
529 : PW 멀티캐스트 룩업부 530 : PW 디캡슐레이션부
531,532 : 제1,2 NHLFE 룩업부 533 : 제어 관리부 534 : 헤더 프로세싱부 535 : PTL 룩업부
536 : 해쉬/TB 카운터 룩업부 537 : 트래픽 관리부
538 : TTL 제어부 539 : 헤더 생성부
540 : PW FEC 테이블부 541 : IP FEC 테이블부
542 : MPLS ILM 테이블부 543 : 인덱스 테이블부
544 : 서비스 테이블부 545 : 해쉬 테이블부
546 : TB 카운터 테이블부 547 : 패킷 메모리부
548 : OAM 테이블부 549 : PTL 테이블부
550 : OAM 패킷 처리부 551 : 경로 보호절체부
553 : QoS 프로파일부 560 : S-MAC 테이블부
561 : 포트 레이블 테이블부 262 : 멀티캐스트 테이블부
263 : PW 멀티캐스트 테이블부
10: MPLS-TP network 20, 30, 40: customer network
21, 22, 51, 52: customer edge node 50, 60: provider bridge network
70, 80: MPLS network 100: packet processing device
500: packet classification unit 520: packet processing unit
521: received packet processing unit 222: PW FEC lookup unit
223: IP FEC lookup unit 224: MPLS label lookup unit
525: transmission packet processing unit 526: port lookup unit
527: Port label lookup section 528: Multicast lookup section
529: PW multicast lookup unit 530: PW decapsulation unit
531,532: First and second NHLFE lookup units 533: Control management unit 534: Header processing unit 535: PTL lookup unit
536: Hash / TB counter lookup unit 537: Traffic management unit
538: TTL control unit 539: Header generating unit
540: PW FEC table portion 541: IP FEC table portion
542: MPLS ILM table section 543: Index table section
544: service table portion 545: hash table portion
546: TB counter table section 547: Packet memory section
548: OAM table section 549: PTL table section
550: OAM packet processing unit 551: Path protection switching unit
553: QoS profile section 560: S-MAC table section
561: Port label table section 262: Multicast table section
263: PW multicast table unit

Claims (24)

MPLS-TP 망에 위치하는 패킷 처리 장치에서 수신 패킷을 전송하는 방법에 있어서,
상기 수신 패킷의 필드 정보와 관련된 서비스 타입을 생성하여 상기 생성된 서비스 타입과 관련된 테이블로부터 LSP 조건 정보를 획득하는 단계와;
상기 획득한 LSP 조건 정보에 포함된 PTL 인덱스 정보와 기설정된 PTL 인덱스 정보의 일치 여부에 따라 NHLFE 테이블로부터 포워딩 정보와 헤더 정보를 획득하는 단계와;
상기 획득한 포워딩 정보의 SLSP 레이블 정보와 해쉬 테이블에 저장된 SLSP 정보와의 일치 여부에 따라, 상기 생성된 서비스 타입 또는 임시 서비스 타입을 결정하는 단계와;
상기 결정된 서비스 타입의 요구 대역폭이 기설정된 임계값을 초과하는지에 따라, 상기 수신 패킷의 헤더 업데이트 및 MPLS-TP 레이블을 인캡슐레이션하여 상기 수신 패킷을 전송하거나 상기 수신 패킷의 전송을 종료하는 단계;
를 포함하는 것을 특징으로 하는 MPLS-TP 망에서의 수신 패킷 전송 방법.
A method for transmitting a received packet in a packet processing apparatus located in an MPLS-TP network,
Generating service type related to field information of the received packet and obtaining LSP condition information from a table related to the generated service type;
Obtaining forwarding information and header information from the NHLFE table according to whether or not the PTL index information included in the obtained LSP condition information matches predetermined PTL index information;
Determining whether the SLSP label information of the obtained forwarding information matches the SLSP information stored in the hash table to generate the generated service type or temporary service type;
Encapsulating the header update of the received packet and the MPLS-TP label according to whether the requested bandwidth of the determined service type exceeds a predetermined threshold value, and transmitting the received packet or terminating the transmission of the received packet;
And transmitting the received packet to the MPLS-TP network.
제 1 항에 있어서, 상기 LSP 조건 정보를 획득하는 단계는:
상기 수신 패킷에 포함된 필드 정보를 참조하여 상기 수신 패킷이 MPLS 서비스 패킷 또는 PW 서비스 패킷 또는 IP 서비스 패킷인지를 체크하여 각 패킷들을 전송할 서비스 타입을 결정하는 단계와;
상기 체크 결과, MPLS 서비스 패킷이면, 상기 필드 정보에 포함된 포트 정보 및 MPLS 레이블 정보를 이용하여 상기 결정된 서비스 타입을 생성하는 단계와;
MPLS ILM 테이블로부터 상기 생성된 서비스 타입과 관련된 PTL 인덱스 정보를 포함하는 LSP 조건 정보를 획득하는 단계;
를 포함하는 것을 특징으로 하는 MPLS-TP 망에서의 수신 패킷 전송 방법.
2. The method of claim 1, wherein obtaining the LSP condition information comprises:
Checking whether the received packet is an MPLS service packet, a PW service packet, or an IP service packet by referring to the field information included in the received packet, and determining a service type for transmitting each packet;
Generating the determined service type using the port information and the MPLS label information included in the field information if the packet is an MPLS service packet;
Obtaining LSP condition information including PTL index information related to the generated service type from the MPLS ILM table;
And transmitting the received packet to the MPLS-TP network.
제 2 항에 있어서, 상기 LSP 조건 정보를 획득하는 단계는:
상기 체크 결과, PW 서비스 패킷이면, 상기 필드 정보에 포함된 포트 정보, C-VID, S-VID 정보를 조합하여 상기 결정된 서비스 타입을 생성하는 단계와;
PW FEC 테이블로부터 상기 생성된 서비스 타입과 관련된 PTL 인덱스 정보를 포함하는 LSP 조건 정보를 획득하는 단계;
를 포함하는 것을 특징으로 하는 MPLS-TP 망에서의 수신 패킷 전송 방법.
3. The method of claim 2, wherein obtaining the LSP condition information comprises:
Generating a determined service type by combining the port information, the C-VID, and the S-VID information included in the field information if the packet is a PW service packet;
Obtaining LSP condition information including PTL index information related to the generated service type from a PW FEC table;
And transmitting the received packet to the MPLS-TP network.
제 3 항에 있어서, 상기 LSP 조건 정보를 획득하는 단계는:
상기 체크 결과, IP 서비스 패킷이면, 상기 필드 정보에 포함된 포트 정보, C-VID, S-VID, S-MAC, E-Type 정보를 조합하여 상기 결정된 서비스 타입을 생성하는 단계와;
IP FEC 테이블로부터 상기 생성된 서비스 타입과 관련된 PTL 인덱스 정보를 포함하는 LSP 조건 정보를 획득하는 단계;
를 포함하는 것을 특징으로 하는MPLS-TP 망에서의 수신 패킷 전송 방법.
4. The method of claim 3, wherein obtaining the LSP condition information comprises:
Generating the determined service type by combining the port information, the C-VID, the S-VID, the S-MAC, and the E-Type information included in the field information if the IP service packet is the check result;
Obtaining LSP condition information including PTL index information related to the generated service type from an IP FEC table;
And transmitting the received packet to the MPLS-TP network.
제 1 항에 있어서, 상기 생성된 서비스 타입 또는 임시 서비스 타입을 결정하는 단계는:
상기 SLSP 정보와 일치하면, 상기 해쉬 테이블에 기저장된 서비스 타입을 상기 생성된 서비스 타입으로 갱신하되, 상기 SLSP 정보와 일치하지 않으면, 상기 해쉬 테이블에 상기 임시 서비스 타입으로 갱신하는 것을 특징으로 하는 MPLS-TP 망에서의 수신 패킷 전송 방법.
2. The method of claim 1, wherein determining the generated service type or temporary service type comprises:
Updating the service type pre-stored in the hash table to the generated service type if the SLSP information matches the SLSP information, and updating the temporary service type in the hash table if the SLSP information does not match the SLSP information. A method for transmitting received packets in a TP network.
제 1 항에 있어서, 상기 수신 패킷을 전송하거나 상기 수신 패킷의 전송을 종료하는 단계는:
상기 기설정된 임계값을 초과하지 않으면, 상기 수신 패킷의 헤더 업데이트 및 MPLS-TP 레이블을 인캡슐레이션하여 상기 수신 패킷을 전송하되, 상기 기설정된 임계값을 초과하면, 미터링을 통해 칼라마킹된 패킷 순서대로 상기 수신 패킷의 전송을 종료하는 것을 특징으로 하는 MPLS-TP 망에서의 수신 패킷 전송 방법.
2. The method of claim 1, wherein the step of transmitting the received packet or terminating the transmission of the received packet comprises:
Encapsulating the header of the received packet and the MPLS-TP label to transmit the received packet if the predetermined threshold is not exceeded, and if the predetermined threshold is exceeded, And terminating the transmission of the received packet in the MPLS-TP network.
MPLS-TP 망에 위치하는 패킷 처리 장치에서 송신 패킷을 전송하는 방법에 있어서,
기설정된 LSP를 통해 상기 송신 패킷을 전송할 목적지가 PW 종단인지를 체크하는 단계와;
상기 체크 결과에 따라, 상기 송신 패킷을 상기 LSP로 전송하기 위한 LSP 전송 정보 또는 상기 송신 패킷의 출력 포트별 또는 MPLS 레이블별 소스 맥 어드레스를 획득하는 단계와;
상기 송신 패킷의 필드 정보를 통해 상기 송신 패킷을 멀티캐스트 또는 유니케스트로 전송할지에 따라 상기 송신 패킷의 헤더 또는 상기 송신 패킷의 출력 포트별 또는 MPLS 레이블별 소스 맥 어드레스를 업데이트하는 단계;
를 포함하는 것을 특징으로 하는 MPLS-TP 망에서의 송신 패킷 전송 방법.
A method for transmitting a transmission packet in a packet processing apparatus located in an MPLS-TP network,
Checking whether the destination of the transmission packet is a PW termination through a predetermined LSP;
Obtaining LSP transmission information for transmitting the transmission packet to the LSP or a source MAC address for each output port or MPLS label of the transmission packet according to the check result;
Updating a header of the transmission packet or a source MAC address for each output port of the transmission packet or for each MPLS label according to whether the transmission packet is transmitted through multicast or unicast through the field information of the transmission packet;
And transmitting the transmission packet to the MPLS-TP network.
제 7 항에 있어서, 상기 LSP 전송 정보 또는 상기 송신 패킷의 출력 포트별 또는 MPLS 레이블별 소스 맥 어드레스를 획득하는 단계는:
상기 체크 결과, 상기 PW 종단이면, 상기 송신 패킷에 포함된 PW 헤더를 제거하는 단계와;
PW 멀티캐스트 테이블로부터 상기 송신 패킷을 전송하기 위한 LSP 전송 정보를 획득하는 단계;
를 포함하는 것을 특징으로 하는 MPLS-TP 망에서의 송신 패킷 전송 방법.
8. The method of claim 7, wherein obtaining the source MAC address for each of the output ports or the MPLS label of the LSP transmission information or the transmission packet comprises:
If the result of the checking is the PW termination, removing the PW header included in the transmission packet;
Obtaining LSP transmission information for transmitting the transmission packet from the PW multicast table;
And transmitting the transmission packet to the MPLS-TP network.
제 8 항에 있어서, 상기 송신 패킷의 헤더 또는 상기 송신 패킷의 출력 포트별 또는 MPLS 레이블별 소스 맥 어드레스를 업데이트하는 단계는:
상기 송신 패킷에 포함된 필드 정보를 통해 상기 송신 패킷을 멀티캐스트 또는 유니캐스트로 전송할지를 체크하는 단계와;
상기 체크 결과, 유니캐스트 전송이면, 상기 획득한 LSP 전송 정보를 이용하여 상기 송신 패킷의 헤더를 업데이트하되, 상기 체크 결과, 멀티캐스트 전송이면, 멀티캐스트 테이블로부터 상기 송신 패킷을 전송하기 위한 LSP 전송 정보를 전송하고, 상기 멀티캐스트 테이블로 L2 정보 및 레이블 정보를 저장하는 단계와;
상기 멀티캐스트 그룹내 포트가 모두 서비스되었는지를 체크하는 단계와;
상기 체크 결과, 상기 멀티캐스트 그룹내 포트가 모두 서비스되었으면, 상기 획득한 LSP 전송 정보를 이용하여 상기 송신 패킷의 헤더를 업데이트하되, 상기 멀티캐스트 그룹내 출력 포트가 남았으면, 상기 LSP로 전송하기 위한 LSP 전송 정보의 획득을 재수행하는 단계;
를 포함하는 것을 특징으로 하는 MPLS-TP 망에서의 송신 패킷 전송 방법.
9. The method of claim 8, wherein updating the header of the transmission packet or the source MAC address by output port of the transmission packet or by MPLS label comprises:
Checking whether to transmit the transmission packet by multicast or unicast through the field information included in the transmission packet;
As a result of the checking, if the unicast transmission is performed, the header of the transmission packet is updated using the acquired LSP transmission information. If the multicast transmission result is LSP transmission information for transmitting the transmission packet from the multicast table Storing L2 information and label information in the multicast table;
Checking whether all the ports in the multicast group have been serviced;
If the ports in the multicast group are all served, the header of the transmission packet is updated using the acquired LSP transmission information. If the output port in the multicast group is left, Re-acquiring LSP transmission information;
And transmitting the transmission packet to the MPLS-TP network.
제 7 항에 있어서, 상기 LSP 전송 정보 또는 상기 송신 패킷의 출력 포트별 또는 MPLS 레이블별 소스 맥 어드레스를 획득하는 단계는:
상기 체크 결과, 상기 PW 종단이 아니면, 상기 송신 패킷이 MPLS 패킷인지를 체크하는 단계와;
상기 체크 결과, MPLS 패킷이면, 포트 레이블 테이블로부터 출력 포트와 MPLS 레이블별 소스 맥 어드레스를 획득하되, 상기 체크 결과, MPLS 패킷이 아니면, S-MAC 테이블로부터 출력 포트별 소스 맥 어드레스를 획득하는 단계;
를 포함하는 것을 특징으로 하는 MPLS-TP 망에서의 송신 패킷 전송 방법.
8. The method of claim 7, wherein obtaining the source MAC address for each of the output ports or the MPLS label of the LSP transmission information or the transmission packet comprises:
If it is determined that the received packet is not the MP termination, checking whether the transmitted packet is an MPLS packet;
If the MPLS packet is not an MPLS packet, acquiring a source MAC address for each output port from the S-MAC table if the MPLS packet is not an MPLS packet;
And transmitting the transmission packet to the MPLS-TP network.
제 10 항에 있어서, 상기 송신 패킷의 헤더 또는 상기 송신 패킷의 출력 포트별 또는 MPLS 레이블별 소스 맥 어드레스를 업데이트하는 단계는:
상기 송신 패킷에 포함된 필드 정보를 통해 상기 송신 패킷을 멀티캐스트 또는 유니캐스트로 전송할지를 체크하는 단계와;
상기 체크 결과, 유니캐스트 전송이면, 상기 획득한 출력 포트별 또는 상기 획득한 MPLS 레이블별 소스 맥 어드레스 정보를 업데이트하되, 상기 체크 결과, 멀티캐스트 전송이면, 멀티캐스트 테이블로부터 상기 송신 패킷을 상기 LSP로 전송하기 위한 LSP 전송 정보를 획득하고, 상기 멀티캐스트 그룹내 출력 포트가 남았는지를 체크하는 단계와;
상기 체크 결과, 상기 멀티캐스트 그룹내 출력 포트가 모두 서비스되었으면, 상기 획득한 LSP 전송 정보를 이용하여 상기 송신 패킷의 헤더를 업데이트하되, 상기 체크 결과, 상기 멀티캐스트 그룹내 출력 포트가 남았으면, 상기 LSP로 전송하기 위한 LSP 전송 정보의 획득을 재수행하는 단계;
를 포함하는 것을 특징으로 하는 MPLS-TP 망에서의 송신 패킷 전송 방법.
11. The method of claim 10, wherein updating the source MAC address by header of the transmission packet or output port of the transmission packet or by MPLS label comprises:
Checking whether to transmit the transmission packet by multicast or unicast through the field information included in the transmission packet;
If the result of the check indicates that the multicast packet is a multicast packet, the source MAC address information for each of the obtained output ports or the obtained MPLS label is updated. If the multicast packet is a multicast packet, Obtaining LSP transmission information for transmission and checking whether an output port in the multicast group is left;
If it is determined that all the output ports in the multicast group have been serviced, updating the header of the transmission packet using the obtained LSP transmission information, if the output port in the multicast group is left as a result of the check, Re-acquiring LSP transmission information for transmission to the LSP;
And transmitting the transmission packet to the MPLS-TP network.
MPLS-TP 망에 위치하여 LSP(Label switched path)를 통해 다수의 망으로부터 입력된 패킷을 전송하는 패킷 처리 장치에 있어서,
제어 레지스터의 제어 정보에 따라 추출된 상기 입력된 패킷의 필드 정보의 포트 정보로부터 상기 입력된 패킷이 제어 패킷인지 혹은 일반 패킷인지를 분류하여, 상기 입력된 패킷이 일반 패킷이면, 상기 일반 패킷이 수신 패킷인지 아니면 송신 패킷인지에 따라 상기 일반 패킷을 전송할 서비스 타입을 결정하는 패킷 분류부와;
상기 일반 패킷의 필드 정보로부터 LSP 조건 정보 또는 어드레스 정보를 획득하고, 상기 획득한 LSP 조건 정보 또는 상기 어드레스 정보를 참조하여 상기 패킷 분류부로부터 결정된 서비스 타입으로 상기 입력된 패킷 전송 및 상기 입력된 패킷의 헤더 또는 어드레스 정보를 업데이트하는 패킷 처리부;
를 포함하는 것을 특징으로 하는 패킷 처리 장치.
A packet processing apparatus for transmitting a packet input from a plurality of networks via an LSP (Label Switched Path) located in an MPLS-TP network,
From the port information of the field information of the input packet extracted according to the control information of the control register, whether the input packet is a control packet or a general packet, and if the input packet is a general packet, A packet classifying unit for determining a type of a service to which the general packet is to be transmitted according to whether the packet is a packet or a transmission packet;
Acquiring LSP condition information or address information from the field information of the general packet, referring to the obtained LSP condition information or the address information, and transmitting the input packet and the input packet to a service type determined from the packet classification unit A packet processing unit for updating the header or address information;
To the packet processing apparatus.
제 12 항에 있어서, 상기 패킷 분류부는:
상기 입력된 패킷이 제어 패킷이면, 상기 제어 패킷을 CPU 인터페이스를 통해 상위 제어 채널로 전송하며,
상기 패킷 처리부는:
상기 입력된 패킷이 수신 패킷이면, 상기 수신 패킷과 관련된 서비스 타입을 생성하고, 상기 생성된 서비스 타입과 관련된 테이블로부터 LSP 조건 정보을 획득하는 수신 패킷 처리부와;
상기 입력된 패킷이 송신 패킷이면, 상기 송신 패킷의 목적지가 PW 종단지인지에 따라 상기 송신 패킷을 상기 LSP로 전송하기 위한 LSP 전송 정보 또는 어드레스 정보를 획득하는 송신 패킷 처리부;
를 포함하는 것을 특징으로 하는 패킷 처리 장치.
13. The apparatus of claim 12, wherein the packet classifier comprises:
If the input packet is a control packet, transmits the control packet to an upper control channel through a CPU interface,
Wherein the packet processing unit comprises:
A receiving packet processor for generating a service type associated with the received packet if the input packet is a received packet and obtaining LSP condition information from a table related to the generated service type;
A transmission packet processing unit for obtaining LSP transmission information or address information for transmitting the transmission packet to the LSP according to whether the input packet is a transmission packet or a destination of the transmission packet is a PW type;
To the packet processing apparatus.
제 13 항에 있어서, 상기 수신 패킷 처리부는:
상기 패킷 분류부로부터 결정된 서비스 타입에 따라 상기 수신 패킷의 필드 정보에 포함된 포트 정보, C-VID, S-VID 정보를 조합하여 상기 결정된 서비스 타입을 생성하고, PW FEC 테이블부로부터 LSP 정보를 추출하기 위한 PTL 인덱스 정보와 태그 제어 정보를 획득하는 PW FEC 룩업부;
를 포함하는 것을 특징으로 하는 패킷 처리 장치.
14. The apparatus of claim 13, wherein the received packet processing unit comprises:
Generates the determined service type by combining port information, C-VID, and S-VID information included in the field information of the received packet according to a service type determined from the packet classification unit, extracts LSP information from the PW FEC table unit A PW FEC lookup unit that obtains PTL index information and tag control information for performing a predetermined function;
To the packet processing apparatus.
제 13 항에 있어서, 상기 수신 패킷 처리부는:
상기 수신 패킷의 필드 정보에 포함된 포트 정보, C-VID, S-VID, 소스 맥 어드레스, E-Type 정보를 조합하여 상기 결정된 서비스 타입을 생성하고, IP FEC 테이블부로부터 LSP 정보를 추출하기 위한 PTL 인덱스 정보, ELSP를 제어하기 위한 제어 플래그 및 ELSP 레이블 정보를 획득하는 IP FEC 룩업부;
를 포함하는 것을 특징으로 하는 패킷 처리 장치.
14. The apparatus of claim 13, wherein the received packet processing unit comprises:
For extracting LSP information from the IP FEC table unit by generating the determined service type by combining port information, C-VID, S-VID, source MAC address, and E-Type information included in the field information of the received packet An IP FEC lookup unit for obtaining PTL index information, a control flag for controlling ELSP, and ELSP label information;
To the packet processing apparatus.
제 13 항에 있어서, 상기 수신 패킷 처리부는:
상기 수신 패킷의 필드 정보에 포함된 포트 정보 및 MPLS 레이블 정보를 이용하여 상기 결정된 서비스 타입을 생성하고, MPLS ILM 테이블부로부터 LSP 정보를 추출하기 위한 PTL 인덱스 정보 및 SDT, 뉴태그, MPLS 제어 정보 및 기타 제어를 위한 태그 제어 정보를 획득하는 MPLS 레이블 룩업부;
를 포함하는 것을 특징으로 하는 패킷 처리 장치.
14. The apparatus of claim 13, wherein the received packet processing unit comprises:
Generates the determined service type using the port information and the MPLS label information included in the field information of the received packet, and generates PTL index information and SDT, new tag, MPLS control information and the like for extracting LSP information from the MPLS ILM table unit, An MPLS label lookup unit for obtaining tag control information for other control;
To the packet processing apparatus.
제 14 항 내지 제 16 항 중 어느 한 항에 있어서, 상기 수신 패킷 처리부는:
각각의 룩업부들 중 적어도 하나의 룩업부에서 획득한 정보의 일치 여부에 따라, 해당 룩업부에서 생성된 서비스 타입을 결정하고, 인덱스 테이블부로부터 상기 LSP를 통해 상기 수신 패킷을 전송하기 위한 스위치 패브릭 및 송수신 출력 포트, 태그값, TM 큐 인덱스, TB 프로파일, 패킷 카운터 및 기타 제어를 위한 태그 제어 정보를 획득하는 제1 NHLFE 룩업부와;
서비스 테이블부로부터 상기 MPLS-TP 레이어 관련 SLSP 레이블, 다수의 TLSP 레이블, EXP, Stack, TTL, Next PTL 인덱스 정보, D-MAC 또는 M-ID 및 레이블 제어 정보를 획득하는 제2 NHLFE 룩업부;
를 더 포함하는 것을 특징으로 하는 패킷 처리 장치.
17. The apparatus according to any one of claims 14 to 16, wherein the received packet processing unit comprises:
A switch fabric for determining a service type generated by the lookup unit according to whether the information obtained by at least one lookup unit of each of the lookup units coincides with each other and transmitting the received packet from the index table unit through the LSP, A first NHLFE lookup unit for acquiring tag control information for a transmission / reception output port, a tag value, a TM queue index, a TB profile, a packet counter, and other controls;
A second NHLFE lookup unit for obtaining SLSP labels related to the MPLS-TP layer, a plurality of TLSP labels, EXP, Stack, TTL, Next PTL index information, D-MAC or M-ID and label control information from the service table unit;
Further comprising: a packet generation unit for generating a packet based on the received packet;
제 17 항에 있어서, 상기 패킷 처리부는:
PTL 테이블부로부터 QoS를 보장하기 위한 폴리싱 혹은 쉐이핑용 토큰 버킷 인덱스 및 토큰 버킷 프로파일 정보를 획득하는 PTL 룩업부와;
상기 제2 NHLFE 룩업부로부터 획득한 SLSP 레이블과 상기 서비스 테이블부에 저장된 SLSP 레이블의 일치 여부에 따라, 상기 생성된 서비스 타입 또는 해쉬 테이블에 기저장된 임시 서비스 타입으로 상기 수신 패킷의 전송을 결정하는 해쉬/TB 카운터 룩업부;를 더 포함하며,
상기 해쉬/TB 카운터 룩업부는
상기 두 SLSP 레이블이 일치하면, 상기 해쉬 테이블부에 저장된 서비스 타입을 상기 생성된 서비스 타입으로 갱신하며, 상기 생성된 서비스 타입으로의 전송이면, 상기 PTL 테이블부로부터 획득한 정보를 러닝하여 새로운 해쉬 엔트리를 추기하여 상기 해쉬 테이블부를 업데이트하고, 서비스 타입의 요구 대역폭이 TB 카운터 테이블부에 저장된 임계값을 초과하는지에 따라 미터링을 통해 칼라마킹된 패킷 순서대로 상기 수신 패킷의 전송 여부를 결정하는 것을 특징으로 하는 패킷 처리 장치.
18. The apparatus of claim 17, wherein the packet processor comprises:
A PTL lookup unit for obtaining token bucket index and token bucket profile information for policing or shaping to ensure QoS from the PTL table unit;
A hash function for determining transmission of the received packet to a temporary service type previously stored in the generated service type or hash table according to whether the SLSP label obtained from the second NHLFE lookup unit matches the SLSP label stored in the service table unit, / TB counter lookup unit,
The hash / TB counter lookup unit
If the two SLSP labels match, the service type stored in the hash table unit is updated to the generated service type. If the two SLSP labels are transmitted to the generated service type, information obtained from the PTL table unit is run, And determines whether to transmit the received packet in the order of the color-marked packets through metering according to whether the requested bandwidth of the service type exceeds the threshold value stored in the TB counter table unit. Gt;
제 18 항에 있어서, 상기 패킷 처리부는:
상기 해쉬/TB 카운터 룩업부로부터의 상기 수신 패킷의 전송 여부 결정에 따라 또는 상기 상위 제어 채널로부터 상기 CPU 인터페이스를 통해 설정된 QoS 프로파일에 따라 상기 수신 패킷의 전송을 종료하는 트래픽 관리부와;
상기 제1 및 제2 NHLFE 룩업부로부터 획득한 정보를 통해 3개의 Internal 헤더를 생성하는 헤더 생성부와;
상기 LSP를 통해 상기 수신 패킷을 목적지 망으로 전송하기 위해 상기 MPLS-TP 레이어 관련 TLSP 및 SLSP 레이블의 푸쉬/스왑 또는 팝 기능을 통한 인캡슐레이션, 디캡슐레이션 및 상기 헤더 생성부로부터 획득한 3개의 Internal 헤더 인캡슐레이션과 상기 목적지 망에 적합하도록 상기 제1 NHLFE 룩업부로부터 획득한 VLAN 태그 정보들을 상기 수신 패킷의 필드 정보에 태그 삽입 또는 제거 또는 변경을 수행하는 헤더 프로세싱부;
를 더 포함하는 것을 특징으로 하는 패킷 처리 장치.
19. The apparatus of claim 18, wherein the packet processor comprises:
A traffic management unit for terminating the transmission of the received packet according to a determination of whether the received packet is transmitted from the hash / TB counter lookup unit or according to a QoS profile set through the CPU interface from the upper control channel;
A header generator for generating three internal headers based on the information obtained from the first and second NHLFE lookups;
Encapsulation through the push / swap or pop function of the TLSP and SLSP labels associated with the MPLS-TP layer, decapsulation and decapsulation through the LSP to the destination network, An internal header encapsulation and a VLAN tag information obtained from the first NHLFE lookup unit so as to be suitable for the destination network, into or from the field information of the received packet;
Further comprising: a packet generation unit for generating a packet based on the received packet;
제 19 항에 있어서, 상기 패킷 처리부는:
상기 MPLS-TP 레이어 관련 최상위 레이블(TLSP 또는 SLSP)이 스왑되면, TTL을 차감하고, 팝(Pop)이면 TTL 프로세싱 모드에 따라 TTL 복사를 수행하며, 푸쉬(Push)이면, 상기 제2 NHLFE 룩업부로부터 획득한 TTL 값으로부터 TTL을 초기화하는 TTL 제어부;를 더 포함하며,
상기 헤더 프로세싱부는
상기 TTL 제어부로부터 TTL 차감, TTL 복사, TTL 초기화를 통해 인가되는 인자값에 따라 상기 MPLS-TP 레이어 관련 최상위 레이블의 TTL 필드를 업데이트하며, 패킷 메모리부에 저장된 헤더 조건 정보에 따라, 상기 수신 패킷의 헤더에 상기 헤더 생성부로부터 생성된 상기 Internal 헤더를 삽입 또는 변경 또는 제거하는 것을 특징으로 하는 패킷 처리 장치.
20. The apparatus of claim 19, wherein the packet processing unit comprises:
If the MPLS-TP layer related top-level label (TLSP or SLSP) is swapped, the TTL is subtracted. If the MPLS-TP layer is popped, TTL copying is performed according to the TTL processing mode. And a TTL control unit for initializing the TTL from the TTL value acquired from the TTL control unit,
The header processing unit
Updates the TTL field of the highest label associated with the MPLS-TP layer according to a factor value applied through the TTL control unit through TTL subtraction, TTL copy, and TTL initialization, and updates the TTL field of the highest- And inserts, changes, or removes the internal header generated from the header generation unit in the header.
제 13 항에 있어서, 상기 패킷 처리부는:
OAM 테이블부에 저장된 SLSP OAM, TLSP OAM, PW OAM을 이용하여 상기 분류된 패킷의 경로의 이상 여부를 체크하는 OAM 패킷 처리부와;
상기 OAM 패킷 처리부의 체크 결과 상기 패킷이 입력되는 경로에 이상이 있는 것으로 체크되면, 상기 패킷이 입력되는 경로와 관련된 경로로 보호절체를 수행하는 경로 보호절체부;
를 더 포함하는 것을 특징으로 하는 패킷 처리 장치.
14. The apparatus of claim 13, wherein the packet processor comprises:
An OAM packet processing unit for checking whether the path of the classified packet is abnormal using the SLSP OAM, the TLSP OAM, and the PW OAM stored in the OAM table unit;
A path protection switching unit for performing protection switching with a path related to a path through which the packet is input if it is checked that the path to which the packet is input is abnormal as a result of checking by the OAM packet processing unit;
Further comprising: a packet generation unit for generating a packet based on the received packet;
제 20 항에 있어서, 상기 송신 패킷 처리부는:
상기 송신 패킷이 상기 Internal 헤더를 포함하는 MPLS 송신 패킷이 아니면, 상기 송신 패킷의 필드 정보에 포함된 출력 포트로부터 소스 맥 어드레스를 업데이트하며, S-MAC 테이블부로부터 상기 출력 포트의 소스 맥 어드레스, TM 큐 인덱스, 패킷 카운터 인덱스 정보를 획득하는 포트 룩업부와;
상기 Internal 헤더를 포함하는 MPLS 송신 패킷이면, 상기 MPLS 송신 패킷의 필드 정보에 포함된 출력 포트와 상기 MPLS-TP 레이어 관련 최상위 레이블로부터 소스 맥 어드레스를 업데이트하며, 포트 레이블 테이블부로부터 상기 출력 포트의 소스 맥 어드레스, TM 큐 인덱스, 패킷 카운터 인덱스 정보를 획득하는 포트 레이블 룩업부;
를 포함하는 것을 특징으로 하는 패킷 처리 장치.
21. The apparatus of claim 20, wherein the transmission packet processing unit comprises:
And updates the source MAC address from the output port included in the field information of the transmission packet if the transmission packet is not an MPLS transmission packet including the Internal header and updates the source MAC address TM A queue index, and a packet counter index information;
And updates the source MAC address from the output port included in the field information of the MPLS transmission packet and the highest label associated with the MPLS-TP layer if the MPLS transmission packet includes the Internal header, A port label lookup unit for obtaining MAC address, TM queue index, and packet counter index information;
To the packet processing apparatus.
제 22 항에 있어서, 상기 송신 패킷 처리부는:
상기 추출된 필드 정보에 포함되는 적어도 하나의 레이블의 M-ID 정보 및 플래그를 통해 상기 송신 패킷을 멀티캐스트 또는 유니캐스트로 전송할지를 결정하고, 멀티캐스트 테이블부를 통해 상기 MPLS-TP 망에 설정된 LSP로 상기 송신 패킷을 전송을 위한 D-MAC(Destination MAC) 어드레스, PTL 인덱스, MPLS-TP 레이어 레이블, EXPs, STACKs, TTLs, 태그 값, TM 큐 인덱스, 카운터 인덱스, 제어 정보를 획득하는 멀티캐스트 룩업부;
를 더 포함하는 것을 특징으로 하는 패킷 처리 장치.
24. The apparatus of claim 22, wherein the transmission packet processing unit comprises:
Determines whether to transmit the transmission packet by multicast or unicast through M-ID information and a flag of at least one label included in the extracted field information, and transmits the transmission packet to the LSP set in the MPLS-TP network through the multicast table unit A multicast lookup unit for obtaining a destination MAC address, a PTL index, an MPLS-TP layer label, EXPs, STACKs, TTLs, a tag value, a TM queue index, ;
Further comprising: a packet generation unit for generating a packet based on the received packet;
제 23 항에 있어서, 상기 송신 패킷 처리부는:
상기 추출된 필드 정보에 포함되는 적어도 하나의 레이블의 M-ID 정보 및 플래그를 통해 상기 송신 패킷을 멀티캐스트 또는 유니캐스트로 전송할지를 결정하고, PW 멀티캐스트 테이블부을 통해 상기 MPLS-TP 망에 설정된 LSP로 상기 송신 패킷을 전송하기 위한 SDT, PTL 인덱스, 태그 값, TM 큐 인덱스 및 제어 정보를 획득하는 PW 멀티캐스트 룩업부와;
PW 종료 플래그가 인에이블 되면, PW를 제거하는 PW 디캡슐레이션부;
를 더 포함하는 것을 특징으로 하는 패킷 처리 장치.
24. The apparatus of claim 23, wherein the transmission packet processing unit comprises:
Determines whether to transmit the transmission packet by multicast or unicast through M-ID information and a flag of at least one label included in the extracted field information, and transmits the LSP A PW multicast lookup unit for obtaining an SDT, a PTL index, a tag value, a TM queue index and control information for transmitting the transmission packet;
A PW decapsulation unit that, when the PW termination flag is enabled, removes the PW;
Further comprising: a packet generation unit for generating a packet based on the received packet;
KR1020110036899A 2010-12-23 2011-04-20 Apparatus and method for packet transport service based on MPLS-TP network KR101589474B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/334,721 US20120163165A1 (en) 2010-12-23 2011-12-22 Apparatus and method for packet transport service based on multi protocol label switching-transport profile (mpls-tp) network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020100133823 2010-12-23
KR20100133823 2010-12-23

Publications (2)

Publication Number Publication Date
KR20120072301A KR20120072301A (en) 2012-07-03
KR101589474B1 true KR101589474B1 (en) 2016-01-28

Family

ID=46707040

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110036899A KR101589474B1 (en) 2010-12-23 2011-04-20 Apparatus and method for packet transport service based on MPLS-TP network

Country Status (1)

Country Link
KR (1) KR101589474B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050125490A1 (en) 2003-12-05 2005-06-09 Ramia Kannan B. Device and method for handling MPLS labels

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100560757B1 (en) * 2004-02-12 2006-03-13 삼성전자주식회사 Label switching router capable setting lsp for fec by protocol type and lsp setting method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050125490A1 (en) 2003-12-05 2005-06-09 Ramia Kannan B. Device and method for handling MPLS labels

Also Published As

Publication number Publication date
KR20120072301A (en) 2012-07-03

Similar Documents

Publication Publication Date Title
US20120163165A1 (en) Apparatus and method for packet transport service based on multi protocol label switching-transport profile (mpls-tp) network
Martini et al. Encapsulation methods for transport of Ethernet over MPLS networks
Bryant et al. Pseudo wire emulation edge-to-edge (PWE3) architecture
EP1708408B1 (en) A system and method of ensuring quality of service in virtual private network
US7808919B2 (en) Network monitoring using a proxy
US8976797B2 (en) System and method for indicating classification of a communications flow
US8913623B2 (en) Method and apparatus for processing labeled flows in a communications access network
CA2634159C (en) A method for carrying frame relay over ethernet
US9185035B2 (en) Apparatus and method for processing packet in MPLS-TP network
US20050129059A1 (en) Method of implementing PSEUDO wire emulation edge-to-edge protocol
Xiao et al. Requirements for pseudo-wire emulation edge-to-edge (PWE3)
US20080304476A1 (en) Ethernet over mpls circuit emulation service
WO2008047332A2 (en) A method and system for verifying connectivity of multi- segment pseudo-wires by tracing
WO2007071153A1 (en) A method, a data network system and a network node for transmitting data packets
EP2485451B1 (en) Two-layer forwarding method for a pseudo wire (pw) service and system thereof
Fouli et al. The road to carrier-grade Ethernet
US20050220059A1 (en) System and method for providing a multiple-protocol crossconnect
US8582575B2 (en) Backbone edge switching apparatus and packet processing method of the backbone edge switching apparatus
US8149731B2 (en) Technique for transferring data over a packet switched network
US9258140B2 (en) Architecture for routing data of a customer network over provider's network in provider backbone bridges
US20100329245A1 (en) Transparent Mapping of Cell Streams to Packet Services
KR101589474B1 (en) Apparatus and method for packet transport service based on MPLS-TP network
US20040240428A1 (en) SDH/SONET-based data transmitting method
Iwata Carrier-grade ethernet technologies for next generation wide area ethernet
Xie 10 Ethernet Optical Transport Networks

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee