예: 기본 EVPN-MPLS 액티브-스탠바이 멀티호밍 구성
이 예는 MPLS를 사용하는 EVPN(Ethernet VPN) 패브릭에서 액티브-스탠바이 멀티호밍을 구성하는 방법을 보여줍니다.
요구 사항
이 예에서 사용되는 하드웨어 및 소프트웨어 구성 요소는 다음과 같습니다.
Junos OS 릴리스 14.1 이상을 실행하는 4개의 MX 시리즈 5G 유니버설 라우팅 플랫폼, 프로바이더 에지(PE) 및 프로바이더(P) 라우터 역할을 하는 MPC 인터페이스.
고객 에지(CE) 디바이스 2개.
주니퍼는 MPLS를 통해서만 EVPN 패브릭에서 액티브-스탠바이 멀티호밍을 지원합니다.
QFX 시리즈 스위치는 액티브-액티브 멀티호밍을 통해 EVPN-VXLAN을 지원합니다. MPLS를 사용하는 EVPN이나 액티브-스탠바이 모드의 멀티호밍을 지원하지 않습니다.
개요 및 토폴로지
그림 1 은 간단한 EVPN 토폴로지를 보여줍니다. 라우터 PE1 및 PE2는 멀티홈 고객 에지(CE) 라우터 CE1에 연결된 프로바이더 에지(PE) 라우터입니다. 추가 PE인 라우터 PE3는 단일 호밍 CE 라우터인 CE2에 연결된 EVPN 패브릭의 원격 PE입니다.
![Simple EVPN Multihomed Topology](/documentation/us/en/software/junos/evpn-vxlan/images/g200056.png)
네트워크에는 다음과 같은 특징이 있습니다.
-
모든 PE 및 P 라우터는 OSPF를 실행하고 있습니다.
-
모든 PE 라우터 사이에는 IBGP 메시가 있습니다.
-
MPLS (RSVP) LSP는 모든 PE 라우터 간에 구성됩니다.
-
라우터 PE1 및 PE2에서 각 디바이스의 CE 대면 인터페이스는 동일한 ESI(Ethernet Segment Identifier)를 사용합니다.
구성의 단순성과 일관성을 위해 이 예에서는 EVPN 설정의 일부로 세 개의 PE 디바이스에서 다음 요소를 구성합니다.
-
를 사용하는
instance-type virtual-switch
EVPN-RI라는 EVPN 인스턴스(EVI). 이 예제에서는 인스턴스에서 을(를) 활성화합니다protocols evpn
.메모:디바이스가 EVPN 인스턴스에 대해 지원하는 인스턴스 대신
virtual-switch
다른 인스턴스 유형(예: )을instance-type evpn
사용할 수 있습니다. -
각 PE 디바이스에서 고유한 EVI에 대한 경로 구분자.
-
명령문을 사용하는 EVPN 인스턴스에 대한 경로 대상 확장 커뮤니티입니다
vrf-target
.메모:이 명령문을 통해 디바이스는 지정된 커뮤니티를 기반으로 가져오기 및 내보내기 라우팅 정책을 자동으로 설정합니다. 이 구성은 모든 PE 디바이스에서 동일한 경로 대상 값을 사용하기 때문에 이러한 암시적 라우팅 정책을 사용하여 경로를 공유할 수 있습니다. 이 예제에서는 경로 공유에 대한 가져오기 및 내보내기 정책을 명시적으로 구성할 필요가 없습니다.
이 예는 CE1이 멀티호밍된 두 개의 멀티호밍 피어 PE 디바이스 PE1 및 PE2에서 다음 요소를 구성합니다.
-
멀티홈 CE에 연결하는 인터페이스입니다.
-
이러한 인터페이스와 연관된 ESI(Ethernet Segment) 식별자. ESI 값은 멀티호밍 피어 PE 디바이스에서 일치해야 합니다.
-
ES 작동을 위한 단일 활성 모드.
필요한 구성 요소 및 단계에 대한 자세한 내용은 EVPN 멀티호밍 개요 및 EVPN-MPLS 액티브-스탠바이 멀티호밍 구성을 참조하십시오.
EVPN PE에서 다음 요소를 구성할 수 있지만, 이 예제에서는 기본적인 필수 요소에만 초점을 맞추기 때문에 이 구성에는 포함하지 않습니다.
-
EVPN 인스턴스 외에도 일반적으로 인스턴스 유형을 사용하여
vrf
EVPN PE 디바이스에서 레이어 3(L3) VRF(가상 라우팅 및 포워딩) 라우팅 인스턴스를 구성합니다. L3 VRF 인스턴스는 EVPN 패브릭의 PE가 지원하는 서로 다른 사이트의 여러 테넌트 간에 분리 또는 경로 공유를 지원합니다. -
필요한 경우 여러 EVPN 인스턴스를 구성하여 동일한 PE 세트로 둘 이상의 EVPN을 설정할 수 있습니다. L3 VRF 인스턴스와 달리, 여러 EVPN 인스턴스는 레이어 2(L2)에서 작동하여 EVPN 패브릭이 지원하는 특정 VLAN 또는 브리지 도메인 내에서 트래픽을 전달하거나 라우팅하는 방법을 더욱 분리합니다.
구성
CLI 빠른 구성
각 디바이스의 구성은 다음과 같습니다.
CE1
interfaces { xe-0/0/0 { description to-PE1; unit 0 { family bridge { interface-mode trunk; vlan-id-list 10; } } } xe-0/0/2 { description to-PE2; unit 0 { family bridge { interface-mode trunk; vlan-id-list 10; } } } xe-0/0/7 { description to-Host; unit 0 { family bridge { interface-mode access; vlan-id 10; } } } } bridge-domains { BD { vlan-id-list 10; bridge-options { no-mac-learning; ## Used with single-active PE configurations, ensures traffic is always flooded to both PEs in case of a DF change. } } }
CE2
interfaces { xe-0/0/0 { description to-PE3; unit 0 { family bridge { interface-mode trunk; vlan-id-list 10; } } } xe-0/0/7 { description to-Host; unit 0 { family bridge { interface-mode access; vlan-id 10; } } } } bridge-domains { BD { vlan-id-list 10; } }
PE1
interfaces { xe-0/0/0 { description to-CE1; flexible-vlan-tagging; encapsulation flexible-ethernet-services; esi { 00:11:22:33:44:55:66:77:88:99; single-active; } unit 10 { family bridge { interface-mode trunk; vlan-id-list 10; } } } xe-0/0/3 { description to-P; unit 0 { family inet { address 10.3.3.1/30; } family mpls; } } lo0 { unit 0 { family inet { address 192.168.1.1/32; } } } } routing-options { router-id 192.168.1.1; autonomous-system 65432; forwarding-table { export evpn-pplb; } } protocols { rsvp { interface xe-0/0/3.0; } mpls { no-cspf; label-switched-path PE1-to-PE2 { to 192.168.2.2; } label-switched-path PE1-to-PE3 { to 192.168.3.3; } interface xe-0/0/3.0; } bgp { group EVPN-PE { type internal; local-address 192.168.1.1; family evpn { signaling; } neighbor 192.168.2.2; neighbor 192.168.3.3; } } ospf { area 0.0.0.0 { interface xe-0/0/3.0; interface lo0.0; } } } policy-options { policy-statement evpn-pplb { from protocol evpn; then { load-balance per-packet; } } } routing-instances { EVPN-RI { instance-type virtual-switch; interface xe-0/0/0.10; route-distinguisher 192.168.1.1:10; vrf-target target:65432:10; protocols { evpn { extended-vlan-list 10; } } bridge-domains { bd10 { domain-type bridge; vlan-id 10; } } } }
PE2
interfaces { xe-0/0/0 { description to-P; unit 0 { family inet { address 10.5.5.1/30; } family mpls; } } xe-0/0/2 { description to-CE1; flexible-vlan-tagging; encapsulation flexible-ethernet-services; esi { 00:11:22:33:44:55:66:77:88:99; single-active; } unit 10 { family bridge { interface-mode trunk; vlan-id-list 10; } } } lo0 { unit 0 { family inet { address 192.168.2.2/32; } } } } routing-options { router-id 192.168.2.2; autonomous-system 65432; forwarding-table { export evpn-pplb; } } protocols { rsvp { interface xe-0/0/0.0; } mpls { no-cspf; label-switched-path PE2-to-PE1 { to 192.168.1.1; } label-switched-path PE2-to-PE3 { to 192.168.3.3; } interface xe-0/0/0.0; } bgp { group EVPN-PE { type internal; local-address 192.168.2.2; family evpn { signaling; } neighbor 192.168.1.1; neighbor 192.168.3.3; } } ospf { area 0.0.0.0 { interface xe-0/0/0.0; interface lo0.0; } } } policy-options { policy-statement evpn-pplb { from protocol evpn; then { load-balance per-packet; } } } routing-instances { EVPN-RI { instance-type virtual-switch; interface xe-0/0/2.10; route-distinguisher 192.168.2.2:10; vrf-target target:65432:10; protocols { evpn { extended-vlan-list 10; } } bridge-domains { bd10 { domain-type bridge; vlan-id 10; } } } }
PE3
interfaces { xe-0/0/1 { description to-P; unit 0 { family inet { address 10.4.4.1/30; } family mpls; } } xe-0/0/2 { description to-CE3; flexible-vlan-tagging; encapsulation flexible-ethernet-services; unit 10 { family bridge { interface-mode trunk; vlan-id-list 10; } } } lo0 { unit 0 { family inet { address 192.168.3.3/32; } } } } routing-options { router-id 192.168.3.3; autonomous-system 65432; forwarding-table { export evpn-pplb; } } protocols { rsvp { interface xe-0/0/1.0; } mpls { no-cspf; label-switched-path PE3-to-PE1 { to 192.168.1.1; } label-switched-path PE3-to-PE2 { to 192.168.2.2; } interface xe-0/0/1.0; } bgp { group EVPN-PE { type internal; local-address 192.168.3.3; family evpn { signaling; } neighbor 192.168.1.1; neighbor 192.168.2.2; } } ospf { area 0.0.0.0 { interface xe-0/0/1.0; interface lo0.0; } } } policy-options { policy-statement evpn-pplb { from protocol evpn; then { load-balance per-packet; } } } routing-instances { EVPN-RI { instance-type virtual-switch; interface xe-0/0/2.10; route-distinguisher 192.168.3.3:10; vrf-target target:65432:10; protocols { evpn { extended-vlan-list 10; } } bridge-domains { bd10 { domain-type bridge; vlan-id 10; } } } }
P1
interfaces { xe-0/0/0 { unit 0 { family inet { address 10.3.3.2/30; } family mpls; } } xe-0/0/1 { unit 0 { family inet { address 10.4.4.2/30; } family mpls; } } xe-0/0/2 { unit 0 { family inet { address 10.5.5.2/30; } family mpls; } } lo0 { unit 0 { family inet { address 192.168.4.4/32; } } } } routing-options { router-id 192.168.4.4; autonomous-system 65432; } protocols { rsvp { interface all; interface fxp0.0 { disable; } } mpls { interface all; interface fxp0.0 { disable; } } ospf { area 0.0.0.0 { interface xe-0/0/0.0; interface xe-0/0/1.0; interface xe-0/0/2.0; interface lo0.0; } } }
확인
구성이 올바르게 작동하고 있는지 확인합니다.
OSPF 확인
목적
OSPF가 제대로 작동하는지 확인합니다.
행동
라우터 P1에 모든 PE 디바이스와 인접성이 설정되어 있는지 확인합니다.
user@P1> show ospf neighbor Address Interface State ID Pri Dead 10.3.3.1 xe-0/0/0.0 Full 192.168.1.1 128 33 10.4.4.1 xe-0/0/1.0 Full 192.168.3.3 128 38 10.5.5.1 xe-0/0/2.0 Full 192.168.2.2 128 37
의미
PE 디바이스와 인접성이 설정되었습니다.
BGP 검증
목적
BGP가 제대로 작동하는지 확인합니다.
행동
모든 PE 디바이스 간에 EVPN 시그널링을 사용하여 MP-IBGP 피어링이 설정되었는지 확인합니다.
user@PE1> show bgp summary Groups: 1 Peers: 2 Down peers: 0 Table Tot Paths Act Paths Suppressed History Damp State Pending bgp.evpn.0 4 4 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped... 192.168.2.2 65432 89 55 0 1 22:18 Establ EVPN-RI.evpn.0: 2/2/2/0 bgp.evpn.0: 3/3/3/0 __default_evpn__.evpn.0: 1/1/1/0 192.168.3.3 65432 59 48 0 1 22:18 Establ EVPN-RI.evpn.0: 1/1/1/0 bgp.evpn.0: 1/1/1/0 __default_evpn__.evpn.0: 0/0/0/0 user@PE2> show bgp summary Groups: 1 Peers: 2 Down peers: 0 Table Tot Paths Act Paths Suppressed History Damp State Pending bgp.evpn.0 5 5 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped... 192.168.1.1 65432 80 50 0 1 22:49 Establ bgp.evpn.0: 4/4/4/0 EVPN-RI.evpn.0: 3/3/3/0 __default_evpn__.evpn.0: 1/1/1/0 192.168.3.3 65432 73 87 0 0 27:26 Establ bgp.evpn.0: 1/1/1/0 EVPN-RI.evpn.0: 1/1/1/0 __default_evpn__.evpn.0: 0/0/0/0 user@PE3> show bgp summary Groups: 1 Peers: 2 Down peers: 0 Table Tot Paths Act Paths Suppressed History Damp State Pending bgp.evpn.0 5 5 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped... 192.168.1.1 65432 66 51 0 1 23:05 Establ bgp.evpn.0: 3/3/3/0 EVPN-RI.evpn.0: 3/3/3/0 __default_evpn__.evpn.0: 0/0/0/0 192.168.2.2 65432 104 64 0 0 27:42 Establ bgp.evpn.0: 2/2/2/0 EVPN-RI.evpn.0: 2/2/2/0 __default_evpn__.evpn.0: 0/0/0/0
의미
모든 PE 디바이스 간에 EVPN 신호 MP-IBGP 피어링이 구축되었습니다.
MPLS 확인
목적
MPLS가 제대로 작동하는지 확인합니다.
행동
모든 PE 디바이스 간에 MPLS LSP가 설정되는지 확인합니다.
user@PE1> show mpls lsp Ingress LSP: 2 sessions To From State Rt P ActivePath LSPname 192.168.2.2 192.168.1.1 Up 0 * PE1-to-PE2 192.168.3.3 192.168.1.1 Up 0 * PE1-to-PE3 Total 2 displayed, Up 2, Down 0 Egress LSP: 2 sessions To From State Rt Style Labelin Labelout LSPname 192.168.1.1 192.168.2.2 Up 0 1 FF 3 - PE2-to-PE1 192.168.1.1 192.168.3.3 Up 0 1 FF 3 - PE3-to-PE1 Total 2 displayed, Up 2, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0 user@PE2> show mpls lsp Ingress LSP: 2 sessions To From State Rt P ActivePath LSPname 192.168.1.1 192.168.2.2 Up 0 * PE2-to-PE1 192.168.3.3 192.168.2.2 Up 0 * PE2-to-PE3 Total 2 displayed, Up 2, Down 0 Egress LSP: 2 sessions To From State Rt Style Labelin Labelout LSPname 192.168.2.2 192.168.3.3 Up 0 1 FF 3 - PE3-to-PE2 192.168.2.2 192.168.1.1 Up 0 1 FF 3 - PE1-to-PE2 Total 2 displayed, Up 2, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0 user@PE3> show mpls lsp Ingress LSP: 2 sessions To From State Rt P ActivePath LSPname 192.168.1.1 192.168.3.3 Up 0 * PE3-to-PE1 192.168.2.2 192.168.3.3 Up 0 * PE3-to-PE2 Total 2 displayed, Up 2, Down 0 Egress LSP: 2 sessions To From State Rt Style Labelin Labelout LSPname 192.168.3.3 192.168.1.1 Up 0 1 FF 3 - PE1-to-PE3 192.168.3.3 192.168.2.2 Up 0 1 FF 3 - PE2-to-PE3 Total 2 displayed, Up 2, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
의미
PE 디바이스 간에 LSP가 구축되었습니다.
EVPN 구성 및 멀티호밍 상태 확인
목적
EVPN이 올바르게 구성되었는지 확인합니다.
행동
EVPN 라우팅 인스턴스 및 ESI가 올바르게 구성되고 작동하는지 확인하고 단일 활성 멀티호밍이 활성화되어 있는지 확인합니다.
user@PE1> show evpn instance EVPN-RI extensive Instance: EVPN-RI Route Distinguisher: 192.168.1.1:10 Per-instance MAC route label: 300128 MAC database status Local Remote MAC advertisements: 0 0 MAC+IP advertisements: 0 0 Default gateway MAC advertisements: 0 0 Number of local interfaces: 1 (1 up) Interface name ESI Mode Status AC-Role xe-0/0/0.10 00:11:22:33:44:55:66:77:88:99 single-active Up Root Number of IRB interfaces: 0 (0 up) Number of bridge domains: 1 VLAN Domain ID Intfs / up IRB intf Mode MAC sync IM route label 10 1 1 Extended Enabled 300240 Number of neighbors: 2 Address MAC MAC+IP AD IM ES Leaf-label 192.168.2.2 0 0 1 1 0 192.168.3.3 0 0 0 1 0 Number of ethernet segments: 1 ESI: 00:11:22:33:44:55:66:77:88:99 Status: Resolved by IFL xe-0/0/0.10 Local interface: xe-0/0/0.10, Status: Up/Forwarding Number of remote PEs connected: 1 Remote PE MAC label Aliasing label Mode 192.168.2.2 0 0 single-active Designated forwarder: 192.168.1.1 Backup forwarder: 192.168.2.2 Last designated forwarder update: Jun 26 23:30:35 Advertised MAC label: 300224 Advertised aliasing label: 300224 Advertised split horizon label: 300256 user@PE2> show evpn instance EVPN-RI extensive Instance: EVPN-RI Route Distinguisher: 192.168.2.2:10 Per-instance MAC route label: 300384 MAC database status Local Remote MAC advertisements: 0 0 MAC+IP advertisements: 0 0 Default gateway MAC advertisements: 0 0 Number of local interfaces: 1 (1 up) Interface name ESI Mode Status AC-Role xe-0/0/2.10 00:11:22:33:44:55:66:77:88:99 single-active Up Root Number of IRB interfaces: 0 (0 up) Number of bridge domains: 1 VLAN Domain ID Intfs / up IRB intf Mode MAC sync IM route label 10 1 1 Extended Enabled 300608 Number of neighbors: 2 Address MAC MAC+IP AD IM ES Leaf-label 192.168.1.1 0 0 2 1 0 192.168.3.3 0 0 0 1 0 Number of ethernet segments: 1 ESI: 00:11:22:33:44:55:66:77:88:99 Status: Resolved by NH 1048575 Local interface: xe-0/0/2.10, Status: Up/Blocking Number of remote PEs connected: 1 Remote PE MAC label Aliasing label Mode 192.168.1.1 0 300224 single-active Designated forwarder: 192.168.1.1 Backup forwarder: 192.168.2.2 Last designated forwarder update: Jun 26 23:30:43 Advertised MAC label: 300544 Advertised aliasing label: 300544 Advertised split horizon label: 300320 user@PE3> show evpn instance EVPN-RI extensive Instance: EVPN-RI Route Distinguisher: 192.168.3.3:10 Per-instance MAC route label: 300272 MAC database status Local Remote MAC advertisements: 0 0 MAC+IP advertisements: 0 0 Default gateway MAC advertisements: 0 0 Number of local interfaces: 1 (1 up) Interface name ESI Mode Status AC-Role xe-0/0/2.10 00:00:00:00:00:00:00:00:00:00 single-homed Up Root Number of IRB interfaces: 0 (0 up) Number of bridge domains: 1 VLAN Domain ID Intfs / up IRB intf Mode MAC sync IM route label 10 1 1 Extended Enabled 300368 Number of neighbors: 2 Address MAC MAC+IP AD IM ES Leaf-label 192.168.1.1 0 0 2 1 0 192.168.2.2 0 0 1 1 0 Number of ethernet segments: 1 ESI: 00:11:22:33:44:55:66:77:88:99 Status: Resolved by NH 1048574 Number of remote PEs connected: 2 Remote PE MAC label Aliasing label Mode 192.168.1.1 0 300224 single-active 192.168.2.2 0 0 single-active
의미
위의 출력에서 다음을 확인할 수 있습니다.
세 PE 디바이스 모두 PE1 및 PE2가 단일 활성 모드를 사용하고 있음을 확인합니다.
PE1 및 PE2는 동일한 ESI를 사용하고 있습니다.
PE1이 DF(Designated Forwarder)로 선택되고 CE 대면 인터페이스가 Up/Forwarding.
PE2는 BDF(Backup Designated Forwarder)로 선택되고 CE 대면 인터페이스는 Up/Blocking.
경로 교환 및 ESI 자동 검색 확인
목적
EVPN 시그널링이 제대로 작동하는지 확인합니다.
행동
자동 검색 및 기타 신호 정보가 PE 디바이스 간에 공유되고 있는지 확인합니다.
user@PE1> show route table EVPN-RI.evpn.0 EVPN-RI.evpn.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1:192.168.1.1:10::112233445566778899::0/304 AD/EVI *[EVPN/170] 00:19:27 Indirect 1:192.168.2.2:0::112233445566778899::FFFF:FFFF/304 AD/ESI *[BGP/170] 00:18:20, localpref 100, from 192.168.2.2 AS path: I, validation-state: unverified > to 10.3.3.2 via xe-0/0/3.0, label-switched-path PE1-to-PE2 3:192.168.1.1:10::10::192.168.1.1/304 IM *[EVPN/170] 00:19:31 Indirect 3:192.168.2.2:10::10::192.168.2.2/304 IM *[BGP/170] 00:18:19, localpref 100, from 192.168.2.2 AS path: I, validation-state: unverified > to 10.3.3.2 via xe-0/0/3.0, label-switched-path PE1-to-PE2 3:192.168.3.3:10::10::192.168.3.3/304 IM *[BGP/170] 00:18:13, localpref 100, from 192.168.3.3 AS path: I, validation-state: unverified > to 10.3.3.2 via xe-0/0/3.0, label-switched-path PE1-to-PE3 user@PE2> show route table EVPN-RI.evpn.0 EVPN-RI.evpn.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1:192.168.1.1:10::112233445566778899::0/304 AD/EVI *[BGP/170] 00:18:51, localpref 100, from 192.168.1.1 AS path: I, validation-state: unverified > to 10.5.5.2 via xe-0/0/0.0, label-switched-path PE2-to-PE1 1:192.168.1.1:0::112233445566778899::FFFF:FFFF/304 AD/ESI *[BGP/170] 00:18:51, localpref 100, from 192.168.1.1 AS path: I, validation-state: unverified > to 10.5.5.2 via xe-0/0/0.0, label-switched-path PE2-to-PE1 3:192.168.1.1:10::10::192.168.1.1/304 IM *[BGP/170] 00:18:51, localpref 100, from 192.168.1.1 AS path: I, validation-state: unverified > to 10.5.5.2 via xe-0/0/0.0, label-switched-path PE2-to-PE1 3:192.168.2.2:10::10::192.168.2.2/304 IM *[EVPN/170] 00:18:45 Indirect 3:192.168.3.3:10::10::192.168.3.3/304 IM *[BGP/170] 00:18:40, localpref 100, from 192.168.3.3 AS path: I, validation-state: unverified > to 10.5.5.2 via xe-0/0/0.0, label-switched-path PE2-to-PE3 user@PE3> show route table EVPN-RI.evpn.0 EVPN-RI.evpn.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1:192.168.1.1:10::112233445566778899::0/304 AD/EVI *[BGP/170] 00:18:54, localpref 100, from 192.168.1.1 AS path: I, validation-state: unverified > to 10.4.4.2 via xe-0/0/1.0, label-switched-path PE3-to-PE1 1:192.168.1.1:0::112233445566778899::FFFF:FFFF/304 AD/ESI *[BGP/170] 00:18:54, localpref 100, from 192.168.1.1 AS path: I, validation-state: unverified > to 10.4.4.2 via xe-0/0/1.0, label-switched-path PE3-to-PE1 1:192.168.2.2:0::112233445566778899::FFFF:FFFF/304 AD/ESI *[BGP/170] 00:18:54, localpref 100, from 192.168.2.2 AS path: I, validation-state: unverified > to 10.4.4.2 via xe-0/0/1.0, label-switched-path PE3-to-PE2 3:192.168.1.1:10::10::192.168.1.1/304 IM *[BGP/170] 00:18:54, localpref 100, from 192.168.1.1 AS path: I, validation-state: unverified > to 10.4.4.2 via xe-0/0/1.0, label-switched-path PE3-to-PE1 3:192.168.2.2:10::10::192.168.2.2/304 IM *[BGP/170] 00:18:54, localpref 100, from 192.168.2.2 AS path: I, validation-state: unverified > to 10.4.4.2 via xe-0/0/1.0, label-switched-path PE3-to-PE2 3:192.168.3.3:10::10::192.168.3.3/304 IM *[EVPN/170] 00:18:53 Indirect
의미
위의 출력은 두 가지 EVPN 경로 유형을 보여줍니다.
경로 유형 1: 이더넷 자동 검색(AD) 경로 - 이러한 경로는 EVI 및 ESI별로 보급됩니다. 이더넷 AD 경로는 CE 디바이스가 멀티호밍된 경우 필요합니다. 고객 에지(CE) 디바이스가 단일호밍인 경우, ESI는 0이 됩니다.
경로 유형 3: 포괄적 멀티캐스트 이더넷 태그 경로 - 이 경로는 ESI에 따라 VLAN별로 PE 디바이스에서 원격 PE 디바이스로의 브로드캐스트, 알 수 없는 유니캐스트 및 멀티캐스트(BUM) 트래픽에 대한 경로를 설정합니다.
위의 출력은 다음 정보를 보여줍니다.
1:192.168.x.x:10::112233445566778899::0/304 AD/EVI
- EVI AD당 유형 1 EVPN 경로입니다. DF(및 활성 디바이스)인 라우터 PE1은 라우터 PE2 및 PE3에 이 경로를 보급했습니다.1:192.168.x.x:0::112233445566778899::FFFF:FFFF/304 AD/ESI
- 이더넷 세그먼트당 AD 유형 1 EVPN 경로입니다. 멀티홈 디바이스인 라우터 PE1과 PE2는 이 경로를 서로와 라우터 PE3에 보급했습니다.3:192.168.x.x:10::10::192.168.x.x/304 IM
- BUM 트래픽에 대한 경로를 설정하는 데 사용되는 경로입니다. 각 PE 디바이스는 다른 PE 디바이스에 이 경로를 보급했습니다.
이더넷 세그먼트(ES) 경로 교환 확인
목적
ES 경로 정보가 올바르게 공유되고 있는지 확인합니다.
행동
이더넷 세그먼트당 로컬 및 보급된 자동 검색 경로와 이더넷 세그먼트 경로가 수신되었는지 확인합니다.
user@PE1> show route table __default_evpn__.evpn.0 __default_evpn__.evpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1:192.168.1.1:0::112233445566778899::FFFF:FFFF/304 AD/ESI *[EVPN/170] 00:14:22 Indirect 4:192.168.1.1:0::112233445566778899:192.168.1.1/304 ES *[EVPN/170] 00:14:23 Indirect 4:192.168.2.2:0::112233445566778899:192.168.2.2/304 ES *[BGP/170] 00:14:14, localpref 100, from 192.168.2.2 AS path: I, validation-state: unverified > to 10.3.3.2 via xe-0/0/3.0, label-switched-path PE1-to-PE2 user@PE2> show route table __default_evpn__.evpn.0 __default_evpn__.evpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1:192.168.2.2:0::112233445566778899::FFFF:FFFF/304 AD/ESI *[EVPN/170] 00:14:25 Indirect 4:192.168.1.1:0::112233445566778899:192.168.1.1/304 ES *[BGP/170] 00:14:24, localpref 100, from 192.168.1.1 AS path: I, validation-state: unverified > to 10.5.5.2 via xe-0/0/0.0, label-switched-path PE2-to-PE1 4:192.168.2.2:0::112233445566778899:192.168.2.2/304 ES *[EVPN/170] 00:14:26 Indirect
의미
위의 출력은 두 가지 EVPN 경로 유형을 보여줍니다.
경로 유형 1: 이더넷 자동 검색(AD) 경로 - 이러한 경로는 EVI 및 ESI별로 보급됩니다. 이더넷 AD 경로는 CE 디바이스가 멀티호밍된 경우 필요합니다. 고객 에지(CE) 디바이스가 단일호밍인 경우, ESI는 0이 됩니다.
경로 유형 4: 이더넷 세그먼트 경로 - 동일한 이더넷 세그먼트에 연결된 PE 디바이스는 ES 경로를 통해 서로를 검색합니다.
위의 출력은 다음 정보를 보여줍니다.
1:192.168.x.x:0::112233445566778899::FFFF:FFFF/304 AD/ESI
- 이더넷 세그먼트당 AD 유형 1 EVPN 경로입니다. 위의 출력에서 각 PE 디바이스는 자체 경로를 보여줍니다.4:192.168.x.x:0::112233445566778899:192.168.x.x/304 ES
- 로컬 ESI에 대한 ES 경로입니다. 위의 출력에서 각 PE 디바이스는 자체 경로와 다른 PE 디바이스가 광고하는 경로를 모두 보여줍니다.