논리적 시스템상에서 RSVP 신호 전송 Point-to-Multipoint LSP
논리적 시스템을 통해 물리적 라우터는 RSVP 신호 대 멀티포인트 LSP를 위한 경로 모음의 역할을 할 수 있습니다. 자세한 내용은 다음 항목을 참조하십시오.
점대다점 LSP 개요
LSP에 대한 점대다점(point-to-multipoint) MPLS 단일 소스 및 여러 대상을 사용하는 LSP입니다. 점대다점 LSP는 네트워크의 MPLS 패킷 복제 기능을 활용해 수신 라우터에서 불필요한 패킷 복제를 방지합니다. 패킷 복제는 서로 다른 네트워크 경로를 필요로 하는 2개 이상의 서로 다른 목적지로 패킷을 전송하는 경우만 생성됩니다.
이 프로세스는 그림 1에 설명되어 있습니다. 라우터 PE1은 점대다점 LSP- 라우터 PE2, PE3 및 PE4로 구성됩니다. Router PE1이 점대다점 LSP에서 라우터 P1 및 P2로 패킷을 전송하면, Router P1은 해당 패킷을 복제하여 라우터 PE2 및 PE3로 전달합니다. Router P2는 패킷을 라우터 PE4로 전송합니다.
이 기능은 인터넷 초안에 자세히 설명되어 있습니다. draft-raggarwa-mpls-p2mp-te-02.txt(2004년 2월 만료), LSP에 P2M(Point to Multipoint) MPLS 트래픽 엔지니어링(TE) draft-ietf-mpls-te-p2mp-02.txt, Point-to-Multipoint 트래픽 엔지니어링(TE) LSP(Label-Switched Path)를 위한 RSVP-트래픽 엔지니어링(TE)(Resource Reservation Protocol-Traffic Engineering) 확장, P2M( Point-to-Multipoint ) 및 멀티포인트 간 레이블 스위치 경로를 위한 레이블 배포 프로토콜 확장 RFC 6388 (점대다점 LSP만 지원).
Point-to-Multipoint LSP의 특성은 다음과 같습니다.
점대다점 LSP를 사용하면 점대다점(point-to-multipoint) 데이터 배포에 MPLS 사용할 수 있습니다. 이 기능은 IP 멀티캐스트에서 제공하는 기능과 유사합니다.
트래픽 중단 없이 주요 포인트에서 멀티포인트 LSP로 브랜치 LSP를 추가하고 제거할 수 있습니다. 점대다점 LSP의 영향을 받지 않은 부분은 정상 작동을 계속합니다.
동일한 점대다점 LSP의 서로 다른 브랜치 LSP에 대한 전송 및 Egress 라우터 노드를 구성할 수 있습니다.
점대다점 LSP에서 링크 보호를 사용할 수 있습니다. 링크 보호는 점대다점 LSP를 이라 하는 각 브랜치 LSP에 우회 LSP를 제공할 수 있습니다. 기본 경로 중 어떤 것이 실패하면 트래픽을 신속하게 우회(bypass)로 전환할 수 있습니다.
정적, 동적 또는 정적 및 동적 LSP의 조합으로 브랜치 LSP를 구성할 수 있습니다.
ingress 및 egress 라우터에서 점대다점 LSP에 GRES( graceful 라우팅 엔진 switchover ) 및 graceful restart를 활성화할 수 있습니다. 점대다점 LSP는 정적 경로 또는 CCC(Circuit Cross-Connect)를 사용하여 구성되어야 합니다. GRES 및 graceful restart를 통해 컨트롤 플레인이 복구되는 동안 패킷 전달 엔진 상태를 기반으로 트래픽을 네트워크에서 포상할 수 있습니다. JUNOS Trio 칩셋의 점대다점 LSP를 위한 GRES 및 graceful MPLS restart의 기능은 Junos OS 릴리스, 11.1R2, 11.2R2 및 11.4에서 지원됩니다.
예: 논리적 시스템에서 RSVP 신호 전송 포인트 대 멀티포인트 LSP 구성
이 예에서는 물리적 라우터의 여러 논리적 시스템이 RSVP 신호 대 멀티포인트 LSP를 위한 경로 모음의 역할을 합니다. 논리적 시스템은 서로 연결되고 일련의 논리 터널(lt
) 인터페이스를 통해 내부적으로 연결됩니다.
요구 사항
이 예에서는 다음과 같은 하드웨어 및 소프트웨어 구성 요소를 활용합니다.
논리적 시스템을 실행하는 하나의 MX 시리즈 라우터. 논리적 시스템을 위해 MX 시리즈 라우터를 사용할 필요가 없습니다. 논리적 시스템을 지원하는 모든 주니퍼 네트웍스 라우터를 사용할 수 있습니다.
MX 시리즈 라우터에서 논리적 시스템은 논리적 터널(
lt
) 인터페이스를 사용하여 연결됩니다. 자세한 내용은 다음 예제 를 참조하십시오. 논리 터널 인터페이스를 사용하여 동일한 라우터 내에서 논리적 시스템을 연결하고 예 : MX 시리즈 라우터 및 EX 시리즈 스위치에서 논리 터널 인터페이스를 사용하여 동일한 장비 내에서 논리적 시스템을 연결합니다. 인터페이스를 사용하는lt
대안은 라우터의 포트 간에 외부 백-후 상호 연결(back-to-back interconnection)을 생성하는 것입니다.별도의 물리적 고객 에지(CE) 4개의 고객 에지(고객 에지(CE)) 디바이스. 네트워크 디바이스에 라우터를 사용할 고객 에지(CE) 없습니다. 예를 들어, 고객 에지(CE) 디바이스는 EX 시리즈 또는 이더넷 스위치.
Junos OS Release 12.1 이상이 MX Series 라우터에서 실행됩니다.
멀티서비스 M Series lt
및 T 시리즈 라우터에서 라우팅 플랫폼에 Enhanced FPC에 Tunnel Services PIC가 설치되어 있는 경우 인터페이스를 생성할 수 있습니다.
M40e 라우터에서 Tunnel lt
Services PIC가 있는 경우 인터페이스를 생성할 수 있습니다. (향상된 FPC는 필요하지 않습니다.)
라우터에서 M7i lt
Adaptive Services Module을 사용하여 인터페이스를 개발할 수 있습니다.
이 예에서와 같이 MX 시리즈 lt
tunnel-services
라우터에서 주 관리자는 [edit chassis fpc slot-number pic number
] 계층 수준에서 명령문을 포함해 인터페이스를 구성할 수 있습니다.
개요
이 예에서 논리적 시스템은 단일 점대다점 LSP의 전송, 브랜치 및 리프 노드의 역할을 합니다. 논리적 시스템 LS1은 ingress 노드입니다. 브랜치가 LS1에서 LS5, LS1에서 LS7, LS1에서 LS4로 이동합니다. ingress 노드(LS1) 포인트에서 egress 노드로 이동하는 정적 유니캐스트 경로.
다음 토폴로지가 지원됩니다.
물리적 라우터 내 단일 논리적 시스템. 논리적 시스템은 RSVP 신호가 전송된 점대다점 LSP의 한 노드입니다.
레이블 스위칭 라우터(레이블 스위칭 라우터(LSR))의 역할을 하는 물리적 라우터 내 여러 논리적 시스템. 다수의 논리적 시스템은 연결되지되거나,
lt
인터페이스와 내부적으로 연결되거나, 백-백 연결을 통해 외부에 연결될 수 있습니다.하나의 RSVP 신호 전송 Point-to-Multipoint LSP, 일부 노드는 논리적 시스템 및 기타 노드가 물리적 라우터인 경우.
구성
- CLI 빠른 구성
- 논리적 터널 인터페이스를 지원하기 위해 MX 시리즈 라우터 구성
- Ingress 레이블 스위칭 라우터(LSR) 구성(논리적 시스템 LS1)
- 전송 및 Egress LSRS 구성(논리적 시스템 LS2, LS3, LS4, LS5, LS6 및 LS7)
- 디바이스 CE1 구성
- 디바이스 CE2 구성
- 디바이스 CE3 구성
- 디바이스 CE4 구성
CLI 빠른 구성
이 예제를 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣기하고, 라인 끊기를 제거하고, 네트워크 구성과 일치하는 데 필요한 세부 정보를 변경한 다음, [edit]
명령어를 계층 수준에서 CLI 붙여넣습니다.
라우터 R1
set logical-systems LS1 interfaces ge-2/0/2 unit 0 description LS1-to-CE1 set logical-systems LS1 interfaces ge-2/0/2 unit 0 family inet address 10.0.244.10/30 set logical-systems LS1 interfaces lt-2/0/10 unit 1 description LS1-to-LS2 set logical-systems LS1 interfaces lt-2/0/10 unit 1 encapsulation ethernet set logical-systems LS1 interfaces lt-2/0/10 unit 1 peer-unit 2 set logical-systems LS1 interfaces lt-2/0/10 unit 1 family inet address 2.2.2.1/24 set logical-systems LS1 interfaces lt-2/0/10 unit 1 family mpls set logical-systems LS1 interfaces lt-2/0/10 unit 8 description LS1-to-LS6 set logical-systems LS1 interfaces lt-2/0/10 unit 8 encapsulation ethernet set logical-systems LS1 interfaces lt-2/0/10 unit 8 peer-unit 6 set logical-systems LS1 interfaces lt-2/0/10 unit 8 family inet address 6.6.6.1/24 set logical-systems LS1 interfaces lt-2/0/10 unit 8 family mpls set logical-systems LS1 interfaces lt-2/0/10 unit 9 description LS1-to-LS3 set logical-systems LS1 interfaces lt-2/0/10 unit 9 encapsulation ethernet set logical-systems LS1 interfaces lt-2/0/10 unit 9 peer-unit 3 set logical-systems LS1 interfaces lt-2/0/10 unit 9 family inet address 3.3.3.1/24 set logical-systems LS1 interfaces lt-2/0/10 unit 9 family mpls set logical-systems LS1 interfaces lo0 unit 1 family inet address 100.10.10.10/32 set logical-systems LS1 protocols rsvp interface lt-2/0/10.1 set logical-systems LS1 protocols rsvp interface lt-2/0/10.8 set logical-systems LS1 protocols rsvp interface lt-2/0/10.9 set logical-systems LS1 protocols rsvp interface lo0.1 set logical-systems LS1 protocols mpls traffic-engineering bgp-igp set logical-systems LS1 protocols mpls label-switched-path LS1-LS5 to 100.50.50.50 set logical-systems LS1 protocols mpls label-switched-path LS1-LS5 p2mp p2mp1 set logical-systems LS1 protocols mpls label-switched-path LS1-LS7 to 100.70.70.70 set logical-systems LS1 protocols mpls label-switched-path LS1-LS7 p2mp p2mp1 set logical-systems LS1 protocols mpls label-switched-path LS1-LS4 to 100.40.40.40 set logical-systems LS1 protocols mpls label-switched-path LS1-LS4 p2mp p2mp1 set logical-systems LS1 protocols mpls interface lt-2/0/10.1 set logical-systems LS1 protocols mpls interface lt-2/0/10.8 set logical-systems LS1 protocols mpls interface lt-2/0/10.9 set logical-systems LS1 protocols mpls interface lo0.1 set logical-systems LS1 protocols ospf traffic-engineering set logical-systems LS1 protocols ospf area 0.0.0.0 interface ge-2/0/2.0 set logical-systems LS1 protocols ospf area 0.0.0.0 interface lt-2/0/10.1 set logical-systems LS1 protocols ospf area 0.0.0.0 interface lt-2/0/10.8 set logical-systems LS1 protocols ospf area 0.0.0.0 interface lt-2/0/10.9 set logical-systems LS1 protocols ospf area 0.0.0.0 interface lo0.1 set logical-systems LS1 routing-options static route 5.5.5.0/24 p2mp-lsp-next-hop p2mp1 set logical-systems LS1 routing-options static route 7.7.7.0/24 p2mp-lsp-next-hop p2mp1 set logical-systems LS1 routing-options static route 4.4.4.0/24 p2mp-lsp-next-hop p2mp1 set logical-systems LS1 routing-options router-id 100.10.10.10
디바이스 CE1
set interfaces ge-1/3/2 unit 0 family inet address 10.0.244.9/30 set interfaces ge-1/3/2 unit 0 description CE1-to-LS1 set routing-options static route 10.0.104.8/30 next-hop 10.0.244.10 set routing-options static route 10.0.134.8/30 next-hop 10.0.244.10 set routing-options static route 10.0.224.8/30 next-hop 10.0.244.10
디바이스 CE2
set interfaces ge-1/3/3 unit 0 family inet address 10.0.224.9/30 set interfaces ge-1/3/3 unit 0 description CE2-to-LS5 set routing-options static route 10.0.244.8/30 next-hop 10.0.224.10
디바이스 CE3
set interfaces ge-2/0/1 unit 0 family inet address 10.0.134.9/30 set interfaces ge-2/0/1 unit 0 description CE3-to-LS7 set routing-options static route 10.0.244.8/30 next-hop 10.0.134.10
디바이스 CE4
set interfaces ge-3/1/3 unit 0 family inet address 10.0.104.10/30 set interfaces ge-3/1/3 unit 0 description CE4-to-LS4 set routing-options static route 10.0.244.8/30 next-hop 10.0.104.9
논리적 터널 인터페이스를 지원하기 위해 MX 시리즈 라우터 구성
단계별 절차
다음 예제에서는 구성 계층의 다양한 수준을 탐색해야 합니다. 네트워크의 네트워크 CLI 정보는 CLI 사용자 가이드의 CLI Editor 사용 CLI 참조하십시오.
이 절차는 MX 시리즈 라우터에만 필요합니다. 라우터 또는 M Series 있는 T 시리즈 이 절차를 건너뛸 수 있습니다.
lt
MX 시리즈 라우터의 인터페이스를 사용하려면 다음을 제공합니다.
명령을 실행
show chassis fpc
하여 라우터가 DPS(Dense Port Concentrator), MPC 또는 MIC가 설치되어 있으며 온라인 상태인지 확인합니다.user@host> show chassis fpc Temp CPU Utilization (%) Memory Utilization (%) Slot State (C) Total Interrupt DRAM (MB) Heap Buffer 0 Empty 1 Empty 2 Online 31 3 0 1024 14 21
이 출력은 슬롯 0과 슬롯 1이 비어 있는 것으로 나타났습니다. 슬롯 2가 온라인에 있습니다.
인터페이스를 지원하도록 FPC 슬롯 2를
lt
구성합니다.[edit] user@host# set chassis fpc 2 pic 0 tunnel-services bandwidth 1g
이 명령은 를 포함한 여러 터널 인터페이스 유형을
gr
ip
생성합니다lt
. 이 예에서 중요한 것은lt
인터페이스입니다.구성을 커밋합니다.
[edit] user@host# commit user@host# exit
명령을 실행
show interfaces terse
하여 라우터에 인터페이스가 있는지lt
확인합니다.user@host> show interfaces terse Interface Admin Link Proto Local Remote ... gr-2/0/10 up up ip-2/0/10 up up lt-2/0/10 up up ...
Ingress 레이블 스위칭 라우터(LSR) 구성(논리적 시스템 LS1)
단계별 절차
논리적 시스템 LS1을 구성하는 경우:
주 라우터에서 논리적 시스템을 구성합니다.
[edit] user@R1# set logical-systems LS1
구성을 커밋합니다.
[edit] user@R1# commit user@R1# exit
논리적 CLI 보기 위한 시작을 설정할 수 있습니다.
user@R1> set cli logical-system LS1 Logical system: LS1 user@R1:LS1>
인터페이스, 인터페이스 캡슐화 및 프로토콜 패밀리를 구성합니다.
[edit] user@R1:LS1# edit interfaces [edit interfaces] user@R1:LS1# set ge-2/0/2 unit 0 description R1-to-CE1 user@R1:LS1# set ge-2/0/2 unit 0 family inet address 10.0.244.10/30 user@R1:LS1# set lt-2/0/10 unit 1 description LS1-to-LS2 user@R1:LS1# set lt-2/0/10 unit 1 encapsulation ethernet user@R1:LS1# set lt-2/0/10 unit 1 peer-unit 2 user@R1:LS1# set lt-2/0/10 unit 1 family inet address 2.2.2.1/24 user@R1:LS1# set lt-2/0/10 unit 1 family mpls user@R1:LS1# set lt-2/0/10 unit 8 description LS1-to-LS6 user@R1:LS1# set lt-2/0/10 unit 8 encapsulation ethernet user@R1:LS1# set lt-2/0/10 unit 8 peer-unit 6 user@R1:LS1# set lt-2/0/10 unit 8 family inet address 6.6.6.1/24 user@R1:LS1# set lt-2/0/10 unit 8 family mpls user@R1:LS1# set lt-2/0/10 unit 9 description LS1-to-LS3 user@R1:LS1# set lt-2/0/10 unit 9 encapsulation ethernet user@R1:LS1# set lt-2/0/10 unit 9 peer-unit 3 user@R1:LS1# set lt-2/0/10 unit 9 family inet address 3.3.3.1/24 user@R1:LS1# set lt-2/0/10 unit 9 family mpls user@R1:LS1# set lo0 unit 1 family inet address 100.10.10.10/32 user@R1:LS1# exit
인터페이스에서 RSVP, MPLS 및 최단 경로 우선(OSPF) 활성화합니다.
[edit] user@R1:LS1# edit protocols [edit protocols] user@R1:LS1# set rsvp interface lt-2/0/10.1 user@R1:LS1# set rsvp interface lt-2/0/10.8 user@R1:LS1# set rsvp interface lt-2/0/10.9 user@R1:LS1# set rsvp interface lo0.1 user@R1:LS1# set mpls interface lt-2/0/10.1 user@R1:LS1# set mpls interface lt-2/0/10.8 user@R1:LS1# set mpls interface lt-2/0/10.9 user@R1:LS1# set mpls interface lo0.1 user@R1:LS1# set ospf area 0.0.0.0 interface ge-2/0/2.0 user@R1:LS1# set ospf area 0.0.0.0 interface lt-2/0/10.1 user@R1:LS1# set ospf area 0.0.0.0 interface lt-2/0/10.8 user@R1:LS1# set ospf area 0.0.0.0 interface lt-2/0/10.9 user@R1:LS1# set ospf area 0.0.0.0 interface lo0.1
멀티포인트 MPLS LSP를 구성합니다.
[edit protocols] user@R1:LS1# set mpls label-switched-path LS1-LS5 to 100.50.50.50 user@R1:LS1# set mpls label-switched-path LS1-LS5 p2mp p2mp1 user@R1:LS1# set mpls label-switched-path LS1-LS7 to 100.70.70.70 user@R1:LS1# set mpls label-switched-path LS1-LS7 p2mp p2mp1 user@R1:LS1# set mpls label-switched-path LS1-LS4 to 100.40.40.40 user@R1:LS1# set mpls label-switched-path LS1-LS4 p2mp p2mp1
네트워크 MPLS 트래픽 엔지니어링을 수행하도록 지원하고 최단 경로 우선(OSPF).
[edit protocols] user@R1:LS1# set mpls traffic-engineering bgp-igp user@R1:LS1# exit
이로 인해 ingress 경로
inet.0
가 라우팅 테이블에 설치됩니다. 기본적으로 MPLS 트래픽 엔지니어링을 수행하기만 BGP(Border Gateway Protocol) 있습니다. 오직 ingress MPLS 트래픽 엔지니어링 네트워크에서만 서비스를 활성화해야 레이블 스위칭 라우터(LSR).트래픽 엔지니어링을 위한 최단 경로 우선(OSPF).
[edit protocols] user@R1:LS1# set ospf traffic-engineering user@R1:LS1# exit
이로 인해 SPF(Shortest-Path First) 알고리즘이 네트워크 아래에 구성된 LSP를 고려하여 MPLS.
라우터 ID를 구성합니다.
[edit] user@R1:LS1# edit routing-options [edit routing-options] user@R1:LS1# set router-id 100.10.10.10
점대다점 LSP 이름을 각 라우트의 다음 홉으로 정적 IP 유니캐스트 경로를 구성합니다.
[edit routing-options] user@R1:LS1# set static route 5.5.5.0/24p2mp-lsp-next-hop p2mp1 user@R1:LS1# set static route 7.7.7.0/24 p2mp-lsp-next-hop p2mp1 user@R1:LS1# set static route 4.4.4.0/24 p2mp-lsp-next-hop p2mp1 user@R1:LS1# exit
디바이스 구성이 완료되면 구성을 커밋합니다.
[edit] user@R1:LS1# commit
전송 및 Egress LSRS 구성(논리적 시스템 LS2, LS3, LS4, LS5, LS6 및 LS7)
단계별 절차
전송 및 egress LSRS를 구성하기 위해 다음을 제공합니다.
인터페이스, 인터페이스 캡슐화 및 프로토콜 패밀리를 구성합니다.
[edit] user@R1# edit logical-systems [edit logical-systems] user@R1# set LS2 interfaces lt-2/0/10 unit 2 description LS2-to-LS1 user@R1# set LS2 interfaces lt-2/0/10 unit 2 encapsulation ethernet user@R1# set LS2 interfaces lt-2/0/10 unit 2 peer-unit 1 user@R1# set LS2 interfaces lt-2/0/10 unit 2 family inet address 172.16.2.2/24 user@R1# set LS2 interfaces lt-2/0/10 unit 2 family mpls user@R1# set LS2 interfaces lt-2/0/10 unit 10 description LS2-to-LS5 user@R1# set LS2 interfaces lt-2/0/10 unit 10 encapsulation ethernet user@R1# set LS2 interfaces lt-2/0/10 unit 10 peer-unit 5 user@R1# set LS2 interfaces lt-2/0/10 unit 10 family inet address 5.5.5.1/24 user@R1# set LS2 interfaces lt-2/0/10 unit 10 family mpls user@R1# set LS2 interfaces lo0 unit 2 family inet address 100.20.20.20/32 user@R1# set LS3 interfaces lt-2/0/10 unit 3 description LS3-to-LS1 user@R1# set LS3 interfaces lt-2/0/10 unit 3 encapsulation ethernet user@R1# set LS3 interfaces lt-2/0/10 unit 3 peer-unit 9 user@R1# set LS3 interfaces lt-2/0/10 unit 3 family inet address 3.3.3.2/24 user@R1# set LS3 interfaces lt-2/0/10 unit 3 family mpls user@R1# set LS3 interfaces lt-2/0/10 unit 12 description LS3-to-LS4 user@R1# set LS3 interfaces lt-2/0/10 unit 12 encapsulation ethernet user@R1# set LS3 interfaces lt-2/0/10 unit 12 peer-unit 4 user@R1# set LS3 interfaces lt-2/0/10 unit 12 family inet address 4.4.4.1/24 user@R1# set LS3 interfaces lt-2/0/10 unit 12 family mpls user@R1# set LS3 interfaces lo0 unit 3 family inet address 100.30.30.30/32 user@R1# set LS4 interfaces ge-2/0/0 unit 0 description R1-to-CE4 user@R1# set LS4 interfaces ge-2/0/0 unit 0 family inet address 10.0.104.9/30 user@R1# set LS4 interfaces lt-2/0/10 unit 4 description LS4-to-LS3 user@R1# set LS4 interfaces lt-2/0/10 unit 4 encapsulation ethernet user@R1# set LS4 interfaces lt-2/0/10 unit 4 peer-unit 12 user@R1# set LS4 interfaces lt-2/0/10 unit 4 family inet address 4.4.4.2/24 user@R1# set LS4 interfaces lt-2/0/10 unit 4 family mpls user@R1# set LS4 interfaces lo0 unit 4 family inet address 100.40.40.40/32 user@R1# set LS5 interfaces ge-2/0/3 unit 0 description LS1-to-CE1 user@R1# set LS5 interfaces ge-2/0/3 unit 0 family inet address 10.0.224.10/30 user@R1# set LS5 interfaces lt-2/0/10 unit 5 description LS5-to-LS2 user@R1# set LS5 interfaces lt-2/0/10 unit 5 encapsulation ethernet user@R1# set LS5 interfaces lt-2/0/10 unit 5 peer-unit 10 user@R1# set LS5 interfaces lt-2/0/10 unit 5 family inet address 5.5.5.2/24 user@R1# set LS5 interfaces lt-2/0/10 unit 5 family mpls user@R1# set LS5 interfaces lo0 unit 5 family inet address 100.50.50.50/32 user@R1# set LS6 interfaces lt-2/0/10 unit 6 description LS6-to-LS1 user@R1# set LS6 interfaces lt-2/0/10 unit 6 encapsulation ethernet user@R1# set LS6 interfaces lt-2/0/10 unit 6 peer-unit 8 user@R1# set LS6 interfaces lt-2/0/10 unit 6 family inet address 6.6.6.2/24 user@R1# set LS6 interfaces lt-2/0/10 unit 6 family mpls user@R1# set LS6 interfaces lt-2/0/10 unit 11 description LS6-to-LS7 user@R1# set LS6 interfaces lt-2/0/10 unit 11 encapsulation ethernet user@R1# set LS6 interfaces lt-2/0/10 unit 11 peer-unit 7 user@R1# set LS6 interfaces lt-2/0/10 unit 11 family inet address 7.7.7.1/24 user@R1# set LS6 interfaces lt-2/0/10 unit 11 family mpls user@R1# set LS6 interfaces lo0 unit 6 family inet address 100.60.60.60/32 user@R1# set LS7 interfaces ge-2/0/1 unit 0 description R1-to-CE3 user@R1# set LS7 interfaces ge-2/0/1 unit 0 family inet address 10.0.134.10/30 user@R1# set LS7 interfaces lt-2/0/10 unit 7 description LS7-to-LS6 user@R1# set LS7 interfaces lt-2/0/10 unit 7 encapsulation ethernet user@R1# set LS7 interfaces lt-2/0/10 unit 7 peer-unit 11 user@R1# set LS7 interfaces lt-2/0/10 unit 7 family inet address 7.7.7.2/24 user@R1# set LS7 interfaces lt-2/0/10 unit 7 family mpls user@R1# set LS7 interfaces lo0 unit 7 family inet address 100.70.70.70/32
인터페이스에서 RSVP, MPLS 및 최단 경로 우선(OSPF) 활성화합니다.
[edit] user@R1# edit logical-systems [edit logical-systems] user@R1# set LS2 protocols rsvp interface lt-2/0/10.2 user@R1# set LS2 protocols rsvp interface lt-2/0/10.10 user@R1# set LS2 protocols rsvp interface lo0.2 user@R1# set LS2 protocols mpls interface lt-2/0/10.2 user@R1# set LS2 protocols mpls interface lt-2/0/10.10 user@R1# set LS2 protocols mpls interface lo0.2 user@R1# set LS2 protocols ospf area 0.0.0.0 interface lt-2/0/10.2 user@R1# set LS2 protocols ospf area 0.0.0.0 interface lt-2/0/10.10 user@R1# set LS2 protocols ospf area 0.0.0.0 interface lo0.2 user@R1# set LS3 protocols rsvp interface lt-2/0/10.3 user@R1# set LS3 protocols rsvp interface lt-2/0/10.12 user@R1# set LS3 protocols rsvp interface lo0.3 user@R1# set LS3 protocols mpls interface lt-2/0/10.3 user@R1# set LS3 protocols mpls interface lt-2/0/10.12 user@R1# set LS3 protocols mpls interface lo0.3 user@R1# set LS3 protocols ospf area 0.0.0.0 interface lt-2/0/10.3 user@R1# set LS3 protocols ospf area 0.0.0.0 interface lt-2/0/10.12 user@R1# set LS3 protocols ospf area 0.0.0.0 interface lo0.3 user@R1# set LS4 protocols rsvp interface lt-2/0/10.4 user@R1# set LS4 protocols rsvp interface lo0.4 user@R1# set LS4 protocols mpls interface lt-2/0/10.4 user@R1# set LS4 protocols mpls interface lo0.4 user@R1# set LS4 protocols ospf area 0.0.0.0 interface ge-2/0/0.0 user@R1# set LS4 protocols ospf area 0.0.0.0 interface lt-2/0/10.4 user@R1# set LS4 protocols ospf area 0.0.0.0 interface lo0.4 user@R1# set LS5 protocols rsvp interface lt-2/0/10.5 user@R1# set LS5 protocols rsvp interface lo0.5 user@R1# set LS5 protocols mpls interface lt-2/0/10.5 user@R1# set LS5 protocols mpls interface lo0.5 user@R1# set LS5 protocols ospf area 0.0.0.0 interface ge-2/0/3.0 user@R1# set LS5 protocols ospf area 0.0.0.0 interface lt-2/0/10.5 user@R1# set LS5 protocols ospf area 0.0.0.0 interface lo0.5 user@R1# set LS6 protocols rsvp interface lt-2/0/10.6 user@R1# set LS6 protocols rsvp interface lt-2/0/10.11 user@R1# set LS6 protocols rsvp interface lo0.6 user@R1# set LS6 protocols mpls interface lt-2/0/10.6 user@R1# set LS6 protocols mpls interface lt-2/0/10.11 user@R1# set LS6 protocols mpls interface lo0.6 user@R1# set LS6 protocols ospf area 0.0.0.0 interface lt-2/0/10.6 user@R1# set LS6 protocols ospf area 0.0.0.0 interface lt-2/0/10.11 user@R1# set LS6 protocols ospf area 0.0.0.0 interface lo0.6 user@R1# set LS7 protocols rsvp interface lt-2/0/10.7 user@R1# set LS7 protocols rsvp interface lo0.7 user@R1# set LS7 protocols mpls interface lt-2/0/10.7 user@R1# set LS7 protocols mpls interface lo0.7 user@R1# set LS7 protocols ospf area 0.0.0.0 interface ge-2/0/1.0 user@R1# set LS7 protocols ospf area 0.0.0.0 interface lt-2/0/10.7 user@R1# set LS7 protocols ospf area 0.0.0.0 interface lo0.7
트래픽 엔지니어링을 위한 최단 경로 우선(OSPF).
[edit logical-systems] user@R1# set LS2 protocols ospf traffic-engineering user@R1# set LS3 protocols ospf traffic-engineering user@R1# set LS4 protocols ospf traffic-engineering user@R1# set LS5 protocols ospf traffic-engineering user@R1# set LS6 protocols ospf traffic-engineering user@R1# set LS7 protocols ospf traffic-engineering
그러면 SPF 알고리즘이 네트워크 아래에 구성된 LSP를 고려하도록 MPLS.
라우터 아이디를 구성합니다.
[edit logical-systems] user@R1# set LS2 routing-options router-id 100.20.20.20 user@R1# set LS3 routing-options router-id 100.30.30.30 user@R1# set LS4 routing-options router-id 100.40.40.40 user@R1# set LS5 routing-options router-id 100.50.50.50 user@R1# set LS6 routing-options router-id 100.60.60.60 user@R1# set LS7 routing-options router-id 100.70.70.70
디바이스 구성이 완료되면 구성을 커밋합니다.
[edit logical-systems] user@R1# commit
결과
구성 모드에서 명령을 입력하여 구성을 확인 show logical-systems
출력이 의도한 구성을 표시하지 않는 경우 이 예제의 지침을 반복하여 구성을 수정합니다.
user@R1# show logical-systems LS1 { interfaces { ge-2/0/2 { unit 0 { description R1-to-CE1; family inet { address 10.0.244.10/30; } } } lt-2/0/10 { unit 1 { description LS1-to-LS2; encapsulation ethernet; peer-unit 2; family inet { address 2.2.2.1/24; } family mpls; } unit 8 { description LS1-to-LS6; encapsulation ethernet; peer-unit 6; family inet { address 6.6.6.1/24; } family mpls; } unit 9 { description LS1-to-LS3; encapsulation ethernet; peer-unit 3; family inet { address 3.3.3.1/24; } family mpls; } } lo0 { unit 1 { family inet { address 100.10.10.10/32; } } } } protocols { rsvp { interface lt-2/0/10.1; interface lt-2/0/10.8; interface lt-2/0/10.9; interface lo0.1; } mpls { traffic-engineering bgp-igp; label-switched-path LS1-to-LS5 { to 100.50.50.50; p2mp p2mp1; } label-switched-path LS1-to-LS7 { to 100.70.70.70; p2mp p2mp1; } label-switched-path LS1-to-LS4 { to 100.40.40.40; p2mp p2mp1; } interface lt-2/0/10.1; interface lt-2/0/10.8; interface lt-2/0/10.9; interface lo0.1; } ospf { traffic-engineering; area 0.0.0.0 { interface ge-2/0/2.0; interface lt-2/0/10.1; interface lt-2/0/10.8; interface lt-2/0/10.9; interface lo0.1; } } } routing-options { static { route 5.5.5.0/24 { p2mp-lsp-next-hop p2mp1; } route 7.7.7.0/24 { p2mp-lsp-next-hop p2mp1; } route 4.4.4.0/24 { p2mp-lsp-next-hop p2mp1; } } router-id 100.10.10.10; } } LS2 { interfaces { lt-2/0/10 { unit 2 { description LS2-to-LS1; encapsulation ethernet; peer-unit 1; family inet { address 172.16.2.2/24; } family mpls; } unit 10 { description LS2-to-LS5; encapsulation ethernet; peer-unit 5; family inet { address 5.5.5.1/24; } family mpls; } } lo0 { unit 2 { family inet { address 100.20.20.20/32; } } } } protocols { rsvp { interface lt-2/0/10.2; interface lt-2/0/10.10; interface lo0.2; } mpls { interface lt-2/0/10.2; interface lt-2/0/10.10; interface lo0.2; } ospf { traffic-engineering; area 0.0.0.0 { interface lt-2/0/10.2; interface lt-2/0/10.10; interface lo0.2; } } } routing-options { router-id 100.20.20.20; } } LS3 { interfaces { lt-2/0/10 { unit 3 { description LS3-to-LS1; encapsulation ethernet; peer-unit 9; family inet { address 3.3.3.2/24; } family mpls; } unit 12 { description LS3-to-LS4; encapsulation ethernet; peer-unit 4; family inet { address 4.4.4.1/24; } family mpls; } } lo0 { unit 3 { family inet { address 100.30.30.30/32; } } } } protocols { rsvp { interface lt-2/0/10.3; interface lt-2/0/10.12; interface lo0.3; } mpls { interface lt-2/0/10.3; interface lt-2/0/10.12; interface lo0.3; } ospf { traffic-engineering; area 0.0.0.0 { interface lt-2/0/10.3; interface lt-2/0/10.12; interface lo0.3; } } } routing-options { router-id 100.30.30.30; } } LS4 { interfaces { ge-2/0/0 { unit 0 { description R1-to-CE4; family inet { address 10.0.104.9/30; } } } lt-2/0/10 { unit 4 { description LS4-to-LS3; encapsulation ethernet; peer-unit 12; family inet { address 4.4.4.2/24; } family mpls; } } lo0 { unit 4 { family inet { address 100.40.40.40/32; } } } } protocols { rsvp { interface lt-2/0/10.4; interface lo0.4; } mpls { interface lt-2/0/10.4; interface lo0.4; } ospf { traffic-engineering; area 0.0.0.0 { interface ge-2/0/0.0; interface lt-2/0/10.4; interface lo0.4; } } } routing-options { router-id 100.40.40.40; } } LS5 { interfaces { ge-2/0/3 { unit 0 { description LS1-to-CE1; family inet { address 10.0.224.10/30; } } } lt-2/0/10 { unit 5 { description LS5-to-LS2; encapsulation ethernet; peer-unit 10; family inet { address 5.5.5.2/24; } family mpls; } } lo0 { unit 5 { family inet { address 100.50.50.50/32; } } } } protocols { rsvp { interface lt-2/0/10.5; interface lo0.5; } mpls { interface lt-2/0/10.5; interface lo0.5; } ospf { traffic-engineering; area 0.0.0.0 { interface ge-2/0/3.0; interface lt-2/0/10.5; interface lo0.5; } } } routing-options { router-id 100.50.50.50; } } LS6 { interfaces { lt-2/0/10 { unit 6 { description LS6-to-LS1; encapsulation ethernet; peer-unit 8; family inet { address 6.6.6.2/24; } family mpls; } unit 11 { description LS6-to-LS7; encapsulation ethernet; peer-unit 7; family inet { address 7.7.7.1/24; } family mpls; } } lo0 { unit 6 { family inet { address 100.60.60.60/32; } } } } protocols { rsvp { interface lt-2/0/10.6; interface lt-2/0/10.11; interface lo0.6; } mpls { interface lt-2/0/10.6; interface lt-2/0/10.11; interface lo0.6; } ospf { traffic-engineering; area 0.0.0.0 { interface lt-2/0/10.6; interface lt-2/0/10.11; interface lo0.6; } } } routing-options { router-id 100.60.60.60; } } LS7 { interfaces { ge-2/0/1 { unit 0 { description R1-to-CE3; family inet { address 10.0.134.10/30; } } } lt-2/0/10 { unit 7 { description LS7-to-LS6; encapsulation ethernet; peer-unit 11; family inet { address 7.7.7.2/24; } family mpls; } } lo0 { unit 7 { family inet { address 100.70.70.70/32; } } } } protocols { rsvp { interface lt-2/0/10.7; interface lo0.7; } mpls { interface lt-2/0/10.7; interface lo0.7; } ospf { traffic-engineering; area 0.0.0.0 { interface ge-2/0/1.0; interface lt-2/0/10.7; interface lo0.7; } } } routing-options { router-id 100.70.70.70; } }
디바이스 CE1 구성
단계별 절차
Device CE1을 구성하려면:
논리적 시스템 LS1에 대한 인터페이스를 구성합니다.
[edit] user@CE1# edit interfaces [edit interfaces] user@CE1# set ge-1/3/2 unit 0 family inet address 10.0.244.9/30 user@CE1# set ge-1/3/2 unit 0 description CE1-to-LS1 user@CE1# exit
논리적 시스템 LS1을 다음 홉으로 사용하여 Device CE1에서 다른 세 개의 고객 네트워크로 정적 경로를 구성합니다.
[edit] user@CE1# edit routing-options [edit routing-options] set static route 10.0.104.8/30 next-hop 10.0.244.10 set static route 10.0.134.8/30 next-hop 10.0.244.10 set static route 10.0.224.8/30 next-hop 10.0.244.10 user@CE1# exit
디바이스 구성이 완료되면 구성을 커밋합니다.
[edit] user@CE1# commit
결과
구성 모드에서 명령어를 입력하여 show interfaces
구성을 확인 show routing-options
출력이 의도한 구성을 표시하지 않는 경우 이 예제의 지침을 반복하여 구성을 수정합니다.
user@CE1# show interfaces interfaces { ge-1/3/2 { unit 0 { family inet { address 10.0.244.9/30; description CE1-to-LS1; } } } }
user@CE1# show routing-options routing-options { static { route 10.0.104.8/30 next-hop 10.0.244.10; route 10.0.134.8/30 next-hop 10.0.244.10; route 10.0.224.8/30 next-hop 10.0.244.10; } }
디바이스 CE2 구성
단계별 절차
Device CE2를 구성하려면:
논리적 시스템 LS5에 대한 인터페이스를 구성합니다.
[edit] user@CE2# edit interfaces [edit interfaces] user@CE2# set ge-1/3/3 unit 0 family inet address 10.0.224.9/30 user@CE2# set ge-1/3/3 unit 0 description CE2-to-LS5 user@CE2# exit
논리적 시스템 LS5를 다음 홉으로 사용하여 Device CE2에서 CE1로 정적 경로를 구성합니다.
[edit] user@CE2# edit routing-options [edit routing-options] user@CE2# set static route 10.0.244.8/30 next-hop 10.0.224.10 user@CE2# exit
디바이스 구성이 완료되면 구성을 커밋합니다.
[edit] user@CE2# commit
결과
구성 모드에서 명령어를 입력하여 show interfaces
구성을 확인 show routing-options
출력이 의도한 구성을 표시하지 않는 경우 이 예제의 지침을 반복하여 구성을 수정합니다.
user@CE2# show interfaces interfaces { ge-1/3/3 { unit 0 { family inet { address 10.0.224.9/30; description CE2-to-LS5; } } } }
user@CE2# show routing-options routing-options { static { route 10.0.244.8/30 next-hop 10.0.224.10; } }
디바이스 CE3 구성
단계별 절차
Device CE3 구성:
논리적 시스템 LS7에 대한 인터페이스를 구성합니다.
[edit] user@CE3# edit interfaces [edit interfaces] user@CE3# set ge-2/0/1 unit 0 family inet address 10.0.134.9/30 user@CE3# set ge-2/0/1 unit 0 description CE3-to-LS7 user@CE3# exit
논리적 시스템 LS7을 다음 홉으로 사용하여 Device CE3에서 CE1로 정적 경로를 구성합니다.
[edit] user@CE3# edit routing-options [edit routing-options] user@CE3# set static route 10.0.244.8/30 next-hop 10.0.134.10 user@CE3# exit
디바이스 구성이 완료되면 구성을 커밋합니다.
[edit] user@CE3# commit
결과
구성 모드에서 명령어를 입력하여 show interfaces
구성을 확인 show routing-options
출력이 의도한 구성을 표시하지 않는 경우 이 예제의 지침을 반복하여 구성을 수정합니다.
user@CE3# show interfaces interfaces { ge-2/0/1 { unit 0 { family inet { address 10.0.134.9/30; description CE3-to-LS7; } } } }
user@CE3# show routing-options routing-options { static { route 10.0.244.8/30 next-hop 10.0.134.10; } }
디바이스 CE4 구성
단계별 절차
디바이스 CE4를 구성하려면:
논리적 시스템 LS4에 대한 인터페이스를 구성합니다.
[edit] user@CE4# edit interfaces [edit interfaces] user@CE4# set ge-3/1/3 unit 0 family inet address 10.0.104.10/30 user@CE4# set ge-3/1/3 unit 0 description CE4-to-LS4
논리적 시스템 LS4를 다음 홉으로 사용하여 Device CE4에서 CE1로 정적 경로를 구성합니다.
[edit] user@CE4# edit routing-options [edit routing-options] user@CE4# set static route 10.0.244.8/30 next-hop 10.0.104.9 user@CE4# exit
디바이스 구성이 완료되면 구성을 커밋합니다.
[edit] user@CE4# commit
결과
구성 모드에서 명령어를 입력하여 show interfaces
구성을 확인 show routing-options
출력이 의도한 구성을 표시하지 않는 경우 이 예제의 지침을 반복하여 구성을 수정합니다.
user@CE4# show interfaces interfaces { ge-3/1/3 { unit 0 { family inet { address 10.0.104.10/30; description CE4-to-LS4; } } } }
user@CE4# show routing-options routing-options { static { route 10.0.244.8/30 next-hop 10.0.104.9; } }
확인
구성이 제대로 작동하고 있는지 확인합니다.
연결 확인
목적
디바이스가 서로 핑(ping)을 할 수 있는지 확인
작업
ping
CE1에서 LS5에 연결하는 CE2의 인터페이스로 명령을 실행합니다.
user@CE1> ping 10.0.224.9 PING 10.0.224.9 (10.0.224.9): 56 data bytes 64 bytes from 10.0.224.9: icmp_seq=0 ttl=61 time=1.387 ms 64 bytes from 10.0.224.9: icmp_seq=1 ttl=61 time=1.394 ms 64 bytes from 10.0.224.9: icmp_seq=2 ttl=61 time=1.506 ms ^C --- 10.0.224.9 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.387/1.429/1.506/0.055 ms
ping
CE1에서 LS7에 연결하는 CE3의 인터페이스로 명령을 실행합니다.
user@CE1> ping 10.0.134.9 PING 10.0.134.9 (10.0.134.9): 56 data bytes 64 bytes from 10.0.134.9: icmp_seq=0 ttl=61 time=1.068 ms 64 bytes from 10.0.134.9: icmp_seq=1 ttl=61 time=1.062 ms 64 bytes from 10.0.134.9: icmp_seq=2 ttl=61 time=1.053 ms ^C --- 10.0.134.9 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.053/1.061/1.068/0.006 ms
ping
CE1에서 LS4에 연결하는 CE4의 인터페이스로 명령을 실행합니다.
user@CE1> ping 10.0.104.10 PING 10.0.104.10 (10.0.104.10): 56 data bytes 64 bytes from 10.0.104.10: icmp_seq=0 ttl=61 time=1.079 ms 64 bytes from 10.0.104.10: icmp_seq=1 ttl=61 time=1.048 ms 64 bytes from 10.0.104.10: icmp_seq=2 ttl=61 time=1.070 ms ^C --- 10.0.104.10 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.048/1.066/1.079/0.013 ms
점대다점 LSP의 상태 검증
목적
ingress, transit 및 egress LSRS가 Up 상태로 있는지 확인
이 예에서 명령은 show rsvp session
명령과 동일한 출력을 show mpls lsp p2mp
표시합니다.
작업
show mpls lsp p2mp
모든 LSRS에서 명령을 실행합니다. 여기에 레이블 스위칭 라우터(LSR) ingress만 표시되어 있습니다.
user@R1> set cli logical-system LS1 Logical system: LS1 user@R1:LS1> show mpls lsp p2mp Ingress LSP: 1 sessions P2MP name: p2mp1, P2MP branch count: 3 To From State Rt P ActivePath LSPname 100.40.40.40 100.10.10.10 Up 0 * LS1-LS4 100.70.70.70 100.10.10.10 Up 0 * LS1-LS7 100.50.50.50 100.10.10.10 Up 0 * LS1-LS5 Total 3 displayed, Up 3, Down 0 ...
포우링 테이블 확인
목적
명령어를 실행하여 예상대로 라우트가 설정되어 show route forwarding-table
있는지 확인 원격 고객 네트워크로의 경로만 여기에만 표시됩니다.
작업
user@R1:LS1> show route forwarding-table Routing table: default.inet Internet: Destination Type RtRef Next hop Type Index NhRef Netif ... 10.0.104.8/30 user 0 3.3.3.2 ucst 1006 6 lt-2/0/10.9 10.0.134.8/30 user 0 6.6.6.2 ucst 1010 6 lt-2/0/10.8 10.0.224.8/30 user 0 172.16.2.2 ucst 1008 6 lt-2/0/10.1 ...