EVPNã®èšäºã§ããã«ãããŒãã³ã°ã«ã€ããŠè§ŠããŸããã ãã®ãããã¯ã¯å€ãã®äººã ã«ãšã£ãŠèå³æ·±ããã®ã§ãã£ããããä»æ¥ã®ååã®èšäºã®ç¶ãã§ã¯ãEVPNãã«ãããŒãã³ã°ãšã¯äœããã©ã®ããã«æ©èœããããæ€èšããŸãã
EVPNãã«ãããŒãã³ã°ã¯ãã·ã³ã°ã«ã¢ã¯ãã£ããšã¢ã¯ãã£ãã¢ã¯ãã£ãã®2ã€ã®ã¢ãŒãã§åäœããŸãã æ¬æ¥ã¯äž»ã«ãããè€éã§èå³æ·±ããªãã·ã§ã³ã§ããã¢ã¯ãã£ã-ã¢ã¯ãã£ãã«çŠç¹ãåœãŠãŸããããã¯ãã·ã³ã°ã«-ã¢ã¯ãã£ããæ¬è³ªçã«ã¢ã¯ãã£ã-ã¢ã¯ãã£ãã®éåžžã«åçŽåãããããŒãžã§ã³ã ããã§ãã
ãã®èšäºã¯ãEVPNã®äžè¬çãªç¥èïŒäœæ¥ã®åºæ¬ååãVPLSãšã®éããªã©ïŒãæ¢ã«æã£ãŠãã人ã察象ãšããŠããŸããããããªããšãèšäºã®å 容ãç解ããããšãé£ãããªããŸãã
泚ïŒvMXã䜿çšããŠEVE-NGã§å®éšå°ãçµã¿ç«ãŠãŸããïŒPã«ãŒã¿ãŒãšã¹ã€ããã5å°ã®Linuxãã·ã³ã®æçµãã¹ããšããŠPEã«ãŒã¿ãŒvMX 16.1ã®ãããªvMXããŒãžã§ã³14.1ãå®è¡ããæ¹æ³ã ç§ãã©ãããããã§åéããæåŸã®ã©ããšã¯ç°ãªãããã®ã©ãã§ã¯ãªãœãŒã¹ãéåžžã«å¿ èŠã§ãã å®éãvMX 16.1ã¯2ã€ã®ä»®æ³ãã·ã³ã§å®è¡ãããåèš4ã€ã®CPUãš8GBã®RAMãå¿ èŠãšããŸãã ãã®ããããã®èšäºã§çŽ¹ä»ããã©ãã«ã¯ãµãŒããŒäžã«çŽ35 GBã®RAMãå¿ èŠã§ããã皌åç¶æ ã§ã¯ã©ãå šäœã§23 GBãå°ãè¶ ããRAMã䜿çšããããšã«æ³šæããŠãã ããïŒãã®ã©ããæ¥ã«èªå® ã«èšçœ®ãããå Žåã¯ããã®ç¹ã«çæããå¿ èŠããããŸãïŒã
ãã®ããããžãæ€èšããŸãã
æ§æã§ã¯ãvlan察å¿ã®æ¹æ³ãã€ãŸãä»®æ³ã¹ã€ããã䜿çšããŸãããã®æ¹æ³ã¯ãå°ãªããšãç§ã«ãšã£ãŠæãæè»ã§èå³æ·±ããã®ã§ãã 3ã€ã®EVPNã€ã³ã¹ã¿ã³ã¹ïŒEVPNã€ã³ã¹ã¿ã³ã¹ã®EVIïŒãåPEã«ãŒã¿ãŒäžã«äœæããããã®æ§æã¯3ã€ãã¹ãŠã®PEã§ã»ãŒåãã§ããéãã¯RDãRTãããã³Vlançªå·ã®ã¿ã§ãã EVPNãã«ãããŒãã³ã°ã®æ©èœã®äžéšãæ確ã«ç€ºãããã«ã®ã¿ãä»ã«2ã€ã®ã€ã³ã¹ã¿ã³ã¹ãè¿œå ãããŠããŸãã
EVPNã€ã³ã¹ã¿ã³ã¹ã®æ§æã¯æ¬¡ã®ãšããã§ãã
bormoglotx@RZN-PE-1> show configuration routing-instances vSwitch-eVPN-1 instance-type virtual-switch; interface ae3.777; route-distinguisher 62.0.0.1:1; vrf-target target:42000:1; protocols { evpn { extended-vlan-list 777; } } bridge-domains { BRIDGE-777 { vlan-id 777; } }
è€éãªããšã¯ãããŸãããã¿ã€ããä»®æ³ã¹ã€ããã®RTãRDãããã³vlan-id 777ã®ããªããžãã¡ã€ã³ã1ã€ã ãã®ã€ã³ã¹ã¿ã³ã¹ãåãvlanãevpn protocol vlanã®æ¡åŒµãªã¹ãã«ãªã¹ããããŸãã ãã¹ãã«ã¯ãä»ã«äœãå¿ èŠãããŸããã
ããã§ã¯ãã€ã³ã¿ãŒãã§ãŒã¹ã®æ§æã«ç§»ããŸãããã RZN-PE-3ã§ã¯ããã¹ãŠãã·ã³ãã«ã§æŽç·ŽãããŠããŸãã
bormoglotx@RZN-PE-3> show configuration interfaces ae0 description "RZN-SW-3 | ae0"; flexible-vlan-tagging; encapsulation flexible-ethernet-services; aggregated-ether-options { lacp { active; periodic fast; } } unit 777 { description eVPN-1; encapsulation vlan-bridge; family bridge { interface-mode trunk; vlan-id-list 777; } }
777 VLANã®ã¿ãèš±å¯ããããã©ã³ã¯ã€ã³ã¿ãŒãã§ã€ã¹ãšããŠæ©èœããåçŽãªéåäœã
ãã ããPEããŒã¿ã¯RZN-SW-1ã«ãã«ãããŒã ããããããPE1ããã³PE2ã§ã¯ãæ§æã¯PE3ãšã¯å€å°ç°ãªããŸãã
bormoglotx@RZN-PE-1> show configuration interfaces ae3 description "RZN-SW-1 | ge-0/0/0 | ae3<<>>ae0 "; flexible-vlan-tagging; mtu 1600; encapsulation flexible-ethernet-services; esi { 00:00:00:00:00:00:00:00:00:01; all-active; } aggregated-ether-options { lacp { active; periodic fast; system-id 02:00:00:00:00:01; } } unit 777 { description eVPN-1; encapsulation vlan-bridge; family bridge { interface-mode trunk; vlan-id-list 777; } }
ããã§ã¯ãç»å ŽããESIèå¥åã«èå³ããããŸãã å¿ãã人ïŒãŸãã¯ç¥ããªãã£ã人ïŒãæãåºãããŠãã ãã-ãã®èå¥åã¯æåã§å²ãåœãŠãå¿ èŠããããŸãïŒMC-LAGã䜿çšããå Žåã¯èªåçã«çæã§ããŸãïŒãåãã»ã°ã¡ã³ãã«æ¥ç¶ãããŠãããã¹ãŠã®ã€ã³ã¿ãŒãã§ã€ã¹ã§ã¯ããã®èå¥åã¯åãã§ãªããã°ãªããŸããã
泚ïŒããã§ç€ºãããŠããsystem-idã®ç®çã«ã€ããŠã¯ãèšäºã®æåŸã§èª¬æããŸãã
ãã®äŸã§ã¯ãåçŽãªèå¥å00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ01ãéžæããŸããããã®å€ã¯ç§ãã¡ã«ãšã£ãŠå€§ããªåœ¹å²ãæãããªããããäž»ãªããšã¯äºçŽãããå€ïŒãã¹ãŠãŒãããã³ãã¹ãŠã®ãŠãããïŒãããã³ä»ã®ã»ã°ã¡ã³ãã§ãã§ã«èšå®ãããŠããESIå€ã®å€ãšäº€å·®ããŸããã§ããã ã€ãŸãã倧ãŸãã«èšãã°ãESIã¯EVPNãèµ·åããããããã¯ãŒã¯å šäœã§äžæã§ãªããã°ãªããŸããã éãã«ãããŒãã³ã°ã»ã°ã¡ã³ãã®å Žåããã®èå¥åã¯äœã®åœ¹å²ãæããããèªåçã«0ã«èšå®ãããŸãã åœç¶ãéãã«ãããŒãã³ã°PEã«ãŒã¿ãŒã§ãã£ãŠãããªã³ã¯äžã§ãŒã以å€ã®ESIå€ãåŠçããã³èšå®ã§ããŸãããããã¯äžå¿ èŠãªã«ãŒãã®çæã䌎ãã ãã§ããã€ãŸããå®éã«ã¯åé¡ã¯ãããŸããã ãã ãããã³ãã«ã«ãã£ãŠèšå®ããããã®ESIå€ããå¥ã®ãžã§ã€ã³ããŸãã¯ä»ã®ãžã§ã€ã³ãã§æ¢ã«æ§æãããŠããESIã®å€ãšäžèŽããå Žåãåé¡ãçºçããŸãã
EVPNã«ã¯5ã€ã®ã¿ã€ãã®ã«ãŒãããããŸãïŒååã¯ã¿ã€ã5ãèæ ®ããŠããŸããã§ãããããã®ãããã¯ã«ã€ããŠã¯EVPN / VxLANã®èšäºã§åãäžããŸãïŒã
ã¿ã€ã2ã¯MAC / IPã«ãŒãã§ãã ãã®ã«ãŒãã¯ãPEã«ãŒã¿ãŒã«ãã«ãŒãã§æå®ãããç¹å®ã®MACã¢ãã¬ã¹ã«ãŠããã£ã¹ããã±ãããéä¿¡ããå Žæãšã©ãã«ãäŒããŸãã L3VPNã§ã®vpnv4ãã¬ãã£ãã¯ã¹ã®ã¢ããŠã³ã¹ã«æ¬è³ªçã«äŒŒãŠããŸãã ã«ãŒãã«ã¯ããã¹ãIPã¢ãã¬ã¹ãå«ãŸããå ŽåããããŸãã
ã¿ã€ã3ã¯ãå æ¬çãã«ããã£ã¹ãã«ãŒãã§ãã ãã®ã«ãŒãã¯ãBUMãã©ãã£ãã¯ãéä¿¡ããå Žæãšã©ãã«ãPEã«ãŒã¿ãŒã«äŒããŸãã
ã¿ã€ã1ãš4ã¯ãEVPNãã«ãããŒãã³ã°æ©èœãæäŸããäž»èŠãªã«ãŒãã§ãã ããã«æ€èšããŸãã
ãããã£ãŠã0çªç®ã®æç¹ã§ãEVPNãéå§ãããšããã«ãã«ãŒã¿ãŒã¯ã¿ã€ã3ã®ã«ãŒããäºãã«éä¿¡ãå§ããBUMãã©ãã£ãã¯ã亀æã§ããããã«ãªããŸãã ããã¯ããã«ãããŒãã³ã°ã®ãªãã·ããªãªã«åœãŠã¯ãŸããŸãã ã»ã°ã¡ã³ãå ã®2ã€ã®ã«ãŒã¿ãŒãåãã»ã°ã¡ã³ããèŠãŠãããããã¿ã€ã1ãš4ã®ã«ãŒããååŸããŸãããªãã¿ã€ã3ã®ã«ãŒããå¿ èŠãªã®ãããã§ã«ç¥ã£ãŠããã¯ããªã®ã§ãã¿ã€ã1ãš4ã®ã«ãŒãã«æ³šç®ããŸãã
äžã§æžããããã«ãEVPNãèµ·åããã°ããã§ãvSwitch-eVPN-1ã€ã³ã¹ã¿ã³ã¹è»¢éããŒãã«ã«MACã¢ãã¬ã¹ãååšããªãããšãããããããã«ããã¹ãéã§ãã©ãã£ãã¯äº€æã¯è¡ãããŠããŸããã
bormoglotx@RZN-PE-1> show evpn instance vSwitch-eVPN-1 brief Intfs IRB intfs MH MAC addresses Instance Total Up Total Up Nbrs ESIs Local Remote vSwitch-eVPN-1 1 1 0 0 2 1 0 0
æ瀺ãããåºåã§ã¯ããã«ãããŒã ã»ã°ã¡ã³ããããããšãããããŸãã ãã®ã»ã°ã¡ã³ãã«é¢ããæ å ±ãèŠã€ããããã«ãåã®ã³ãã³ãã®åºç¯ãªåºåãæ€èšããŸãã
bormoglotx@RZN-PE-1> show evpn instance vSwitch-eVPN-1 extensive Instance: vSwitch-eVPN-1 Route Distinguisher: 62.0.0.1:1 Per-instance MAC route label: 299792 Per-instance multicast route label: 299776 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 ae3.777 00:00:00:00:00:00:00:00:00:01 all-active Up 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 777 1 1 Extended Enabled 299776 Number of neighbors: 2 62.0.0.2 Received routes MAC address advertisement: 0 MAC+IP address advertisement: 0 Inclusive multicast: 1 Ethernet auto-discovery: 2 62.0.0.3 Received routes MAC address advertisement: 0 MAC+IP address advertisement: 0 Inclusive multicast: 1 Ethernet auto-discovery: 0 Number of ethernet segments: 1 ESI: 00:00:00:00:00:00:00:00:00:01 Status: Resolved by IFL ae3.777 Local interface: ae3.777, Status: Up/Forwarding Number of remote PEs connected: 1 Remote PE MAC label Aliasing label Mode 62.0.0.2 300208 300208 all-active Designated forwarder: 62.0.0.2 Backup forwarder: 62.0.0.1 Last designated forwarder update: May 07 06:59:19 Advertised MAC label: 300112 Advertised aliasing label: 300112 Advertised split horizon label: 302752
ãã®çµè«ã¯ãEVPNã€ã³ã¹ã¿ã³ã¹ã«é¢ããå®å šãªæ å ±ãæäŸããŸãã äžéšã®ãã£ãŒã«ãã¯æ¢ã«æ確ã«ãªã£ãŠããã¯ãã§ãã ãã®çµè«ã«ããã°ãESI 00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ01ããããã¢ã¯ãã£ã-ã¢ã¯ãã£ãã¢ãŒãã§åäœããŸãïŒ
Number of local interfaces: 1 (1 up) Interface name ESI Mode Status ae3.777 00:00:00:00:00:00:00:00:00:01 all-active Up
以äžã¯ããã®EVPNãã¡ã€ã³ã«åå ããŠããåPEã«ãŒã¿ãŒã®åºåã§ãã
Number of neighbors: 2 62.0.0.2 Received routes MAC address advertisement: 0 MAC+IP address advertisement: 0 Inclusive multicast: 1 Ethernet auto-discovery: 2
RZN-PE-2ããã®äžèšã®æ å ±ããå€æãããšãã¿ã€ã3ã®1ã€ã®ã«ãŒããšã¿ã€ã1ã®2ã€ã®ã«ãŒããååŸããŸããããã¯å®å šã«çå®ã§ã¯ãããŸããã ãããã®ã«ãŒãã«å ããŠãRZN-PE-2ã¯å¥ã®ã¿ã€ã4ã«ãŒããæäŸããŸãããåŸã§ããã«è¡šç€ºãããªãçç±ã確èªããŸãã
ããããçŸæç¹ã§RZN-PE-3ããååŸã§ããã¿ã€ã3ã«ãŒãã¯1ã€ã ãã§ãã
62.0.0.3 Received routes MAC address advertisement: 0 MAC+IP address advertisement: 0 Inclusive multicast: 1 Ethernet auto-discovery: 0
ãã®PEã«ãŒã¿ãŒã¯ãã«ãããŒã ã§ã¯ãªããããããã¯è«ççãªãã®ã§ããããããŸã§ã«ç¥ãå¿ èŠãããã®ã¯ã¿ã€ã3ã®ã«ãŒãã ãã§ããåŸã§ããããŒãåŠç¿ãããšããã®ã«ãŒã¿ãŒã¯ã¿ã€ã2ã¢ããŠã³ã¹ã®éä¿¡ãéå§ããŸããããããŸã§ã®ãšããããããŒã¯åŠç¿ããŠããŸããã ããã©ã«ãã²ãŒããŠã§ã€ãæ§æãããŠããå ŽåãïŒã€ã³ã¹ã¿ã³ã¹ã«è¿œå ãããirbã€ã³ã¿ãŒãã§ã€ã¹ã®æ°ã«å¿ããŠïŒã¿ã€ã2ã®ã«ãŒãããŸã ãããŸãã
EVIã«ã€ããŠäžèšã§èª¬æããæ å ±ã«å ããŠãåºåã¯ãESI 00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ01æå®ããããã©ã¯ãŒããŒãéžæããããšã€ãªã¢ã¹ã©ãã«ã瀺ãããŠããã»ã°ã¡ã³ãã«ã€ããŠïŒ
Number of ethernet segments: 1 ESI: 00:00:00:00:00:00:00:00:00:01 Status: Resolved by IFL ae3.777 Local interface: ae3.777, Status: Up/Forwarding Number of remote PEs connected: 1 Remote PE MAC label Aliasing label Mode 62.0.0.2 300208 300208 all-active Designated forwarder: 62.0.0.2 Backup forwarder: 62.0.0.1
çŸæç¹ã§ã¯ãçµè«ã®å€ãã¯æ確ã§ã¯ãããŸããã EVPNãã«ãããŒãã³ã°ã®åçãç解ããã«ã¯ãå°ãªããšã次ã®åé¡ã«å¯ŸåŠããå¿ èŠããããŸãã
1.ãã«ãããŒã PEã«ãŒã¿ãŒããã¿ã€ã1ããã³4ã®è¿œå ã«ãŒãã®ã¢ããŠã³ã¹ãéå§ããçç±ã¯äœã§ããã
2. DFãšã¯äœã§ããããã®éžæã¯ã©ãã§ããã
3.ã¿ã€ã1ã®ã«ãŒãããã§ã«2ã€ããçç±ã
4.äžèšã®åºåã®ãšã€ãªã¢ã¹ã©ãã«ãšã¯äœã§ããã
ããããç§ã¯ããããšä»ã®ããã€ãã®è³ªåã«ããã«çããããšããŸãã
ãã«ãããŒãã³ã°ã®åé¡ã
æåã«ãã¢ã¯ãã£ã/ã¢ã¯ãã£ãã¢ãŒãã§ãã«ãããŒãã³ã°ãæå¹ã«ããå Žåã«çºçããåé¡ã®æŠèŠã説æããŸãã åœç¶ãEVPNã¯ãŸã L2VPNã§ãããããæãæ·±å»ãªåé¡ã¯ã«ãŒãïŒããããŸãã¯ã«ãŒãïŒã§ãã å®éããã®åé¡ã解決ããã°ããã¯ãããžãŒã¯åãVPLSãããåªããŠããããšã«ãªããŸããããã¯ããªãŒã«ã¢ã¯ãã£ãã¢ãŒãã§ã¯åäœæ¹æ³ããŸã£ããããããªãããã§ãã ãã¹ãŠã®ãã«ãããŒã PEã«ãŒã¿ãŒãã¯ã©ã€ã¢ã³ããããããŒãåŠç¿ããããã§ã¯ãªãããããã1ã€ã®éèŠãªåé¡ã¯ãã©ãã£ãã¯ãã©ã³ã·ã³ã°ã§ãã ä»ã®åé¡ã¯ããã»ã©éèŠã§ã¯ãããŸãããããããä»ã®åé¡ããããšããŸãããããããããããã®ååšã¯æè¡ãå®è¡äžå¯èœã«ããŸããã
ãããã®åé¡ãEVPNã§ã©ã®ããã«è§£æ±ºãããããèŠãŠã¿ãŸãããã
ãã¡ã€ãã£ã³ã°ã«ãŒãã«ã¯ããŸããŸãªå¯ŸçããããŸãã æåã¯ãåœç¶ã®ããšãªããã¹ããªãããã©ã€ãºã³ã§ããä»ã®PEã«ãŒã¿ãŒããïŒã€ãŸããã«ãŒãã«ããïŒåä¿¡ãããã¬ãŒã ã¯ãã«ãŒãã«ã«å床éä¿¡ãããŸããã ãã ããã«ãŒããçºçããå¯èœæ§ã®ãããããã¯ãŒã¯ã®äž»ãªå Žæã¯ããã«ãããŒã CEã¹ã€ãããè€æ°ã®PEã«ãŒã¿ãŒã«æ¥ç¶ããããšã§ãããããåœç¶ããã¯ååã§ã¯ãããŸããã ãã®ã»ã°ã¡ã³ãã®ã«ãŒããæé€ããããã«ãæå®ãã©ã¯ãŒããŒãšã¹ããªãããã©ã€ãºã³ã©ãã«ã䜿çšãããŸãããæåã«æåã«è¡ããŸãã
DFãšã¯äœã§ããããªãå¿ èŠãªã®ã§ããïŒ
ã«ãŒãã®æåã®ã·ããªãªïŒãªã¢ãŒãPEã«ãŒã¿ãŒãCE BUMãããã©ãã£ãã¯ïŒããšãã°ãéåžžã®arpèŠæ±ïŒãåä¿¡ããä»ã®ãã¹ãŠã®PEã«éä¿¡ããããšãæ³åããŠãã ããïŒãããPE3ã§ãããšä»®å®ããŸãïŒã 2ã€ã®PEã«ãŒã¿ãŒïŒPE1ãšPE2ïŒã¯åãã»ã°ã¡ã³ããèŠãŠãäž¡æ¹ãPE3ããBUMãã©ãã£ãã¯ãåä¿¡ããããããã©ãã£ãã¯ã®2ã€ã®ã³ããŒããã®ã»ã°ã¡ã³ãã«å°çããã³ã¢ãå«ããã¹ãŠã®ãããã¯ãŒã¯ãã«ãŒããå§ããŸãã
EVPNã§ãã®çŸè±¡ã«å¯Ÿæããããã«ãåãã«ãããŒã ã»ã°ã¡ã³ãã«å¯ŸããŠãæå®ãã©ã¯ãŒããŒïŒç¹å®ã®VLANå ã®ç¹å®ã®ã»ã°ã¡ã³ããžã®BUMãã©ãã£ãã¯ã®è»¢éãæ åœããããŒãïŒãéžæãããŸãã ä»ã®ãã¹ãŠã®ã«ãŒã¿ãŒã¯ãã»ã°ã¡ã³ãã«ããã€ååšããŠããã«ãŒã¿ãŒ/ã¹ã€ããã®CEã«BUMãã©ãã£ãã¯ãéä¿¡ããæš©å©ããããŸããïŒãã®VLANã®ãã®ESIã§ïŒã
DFéžæã¢ã«ãŽãªãºã ïŒ
1.æåã«ããã¹ãŠã®PEã«ãŒã¿ãŒã¯ãæå®ãããã»ã°ã¡ã³ãã«æ¥ç¶ãããŠããã«ãŒã¿ãŒã®æ°ãšããã®ã¢ãã¬ã¹ãäœã§ãããïŒã«ãŒãããã¯ïŒãç解ããå¿ èŠããããŸãã
2.ã¿ã€ããŒãæéåãã«ãªããšïŒããã©ã«ãã¯3ç§ïŒãDFã®éžæã«åå ããŠãããã¹ãŠã®PEã«ãŒã¿ã®ãªã¹ãã圢æãããæå°ã¢ãã¬ã¹ããæ倧ã¢ãã¬ã¹ã§çµãããŸãã ã¢ãã¬ã¹ã®ãªã¹ãã«ã¯0ããçªå·ãä»ããããŸãã
3.åŒV mod N = iã«åŸã£ãŠãç¹å®ã®ã»ã°ã¡ã³ãããã³VLANã®DFãèšç®ãããŸãã
4. DFã«ãã£ãŠéžæãããã«ãŒã¿ãŒã¯ãCEåŽãžã®BUMãã©ãã£ãã¯ã®éä¿¡ãæå¹ã«ããä»ã®ãã¹ãŠã®éDFã«ãŒã¿ãŒã¯ããã®VLANã®ãã®ã»ã°ã¡ã³ãã®ã«ãŒã¿ãŒ/ã¹ã€ããã®CEåŽãžã®BUMãã©ãã£ãã¯ããããã¯ãç¶ããŸãã
çè«çã«ã¯ããã¹ãŠãåçŽã§ãããé çªã«èŠãŠã¿ãŸãããã
æåã«ãåãã»ã°ã¡ã³ãå ã«ä»ã®èª°ããªã³ã¯ãæã£ãŠããããã«ãŒã¿ãŒãã©ã®ããã«ç解ããããšãã質åã«çããŸãïŒãããŠãã«ãŒã¿ãŒã¯ãããŸããïŒã ãã®ããã«ãã¿ã€ã4ã®ã«ãŒãããããŸãããã®ã«ãŒããèŠãŠã¿ãŸãããã
bormoglotx@RZN-PE-1> show route table vSwitch-eVPN-1.evpn.0 match-prefix *4:6* vSwitch-eVPN-1.evpn.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
EVPNã€ã³ã¹ã¿ã³ã¹ã®ã«ãŒãã£ã³ã°ããŒãã«ã«ã¯ããã®ãããªã«ãŒãã¯ãããŸããã å®éã«ã¯ãã€ã³ã¹ã¿ã³ã¹ã§æ§æãããã€ã³ããŒãã«å¯Ÿå¿ããæ¡åŒµã³ãã¥ããã£ãæã€ã«ãŒãã®ã¿ããã®ããŒãã«ã«åé¡ãããŸãã ããšãã°ãvSwitch-eVPN-1ã®å ŽåïŒ
bormoglotx@RZN-PE-1> show configuration routing-instances vSwitch-eVPN-1 vrf-target target:42000:1;
ã¿ã€ã4ã«ãŒãã«ã¯ãã€ã³ããŒãçšã«èšå®ãããã³ãã¥ããã£ãšã¯ç°ãªããã®ãããããšãããããŸãã ããã¯ãevpnã®ã«ãŒãã¯ãEVIããšãšESIããšã®2ã€ã®æ¹æ³ã§çæã§ããããã§ãã
EVIããš -ãã®ã«ãŒãã¯ç¹å®ã®ã€ã³ã¹ã¿ã³ã¹ã«ãã£ãŠçæãããŸã
ESIããš -ãã®ã«ãŒãã¯ãç¹å®ã®ã€ã³ã¹ã¿ã³ã¹ã§ã¯ãªãããã®ESIã«ãªã³ã¯ãæã€ãã¹ãŠã®æ¥ç¶ã®ã«ãŒã¿ãŒã«ãã£ãŠçæãããŸãã åãã»ã°ã¡ã³ããè€æ°ã®evpnã€ã³ã¹ã¿ã³ã¹ã«å«ããããšãã§ããŸãïŒããšãã°ãae3.777ã€ã³ã¿ãŒãã§ã€ã¹ãEVPN1ã€ã³ã¹ã¿ã³ã¹ã«è¿œå ãããae3.778ãEVPN2ã«è¿œå ãããŸããããããã¯ç°ãªããŠãããã§ãããESIã¯ã€ã³ã¿ãŒãã§ã€ã¹å šäœã«å¯ŸããŠå®å šã«æ§æãããŠãããããããŒã¿ãæå³ããŸãã€ã³ã¿ãŒãã§ã€ã¹ã¯ç°ãªãEVIã«ãããŸãããåãESIã«ãªããŸãã
EVIããšã«çæãããã«ãŒãã«ã¯ããããã®ã«ãŒããã¢ããã¿ã€ãºããããã€ãã£ãRTããã³RDã€ã³ã¹ã¿ã³ã¹ãå¿ èŠã§ãïŒãŸãã¯ããšã¯ã¹ããŒãããªã·ãŒã«ãã£ãŠããã«ãã³ã°ã¢ãããããå Žåãã€ãŸã管çè ãæåã§è¿œå ããå Žåã¯ãä»ã®RTïŒã ã¿ã€ã2ããã³3ã®ã«ãŒãã¯åžžã«EVIããšã«çæãããŸããã€ãŸãããããã®ã«ãŒããã¢ããŠã³ã¹ãããã«ãŒãã«ã¯åžžã«ãã€ãã£ãRDããã³RTã€ã³ã¹ã¿ã³ã¹ããããŸãã ããããESIããšã«çæãããã«ãŒãã®å Žåããã¹ãŠã¯ããè€éã§ãããã«ãŒãã®ã¿ã€ãã«äŸåããŸãã
ãã ããã¿ã€ã4ã®ã«ãŒããåŒãç¶ãæ±ããŸãã
ãã®ã«ãŒãã¯åžžã«ESIããšã«çæãããŸãã ãã®ã«ãŒãã®RDã¯ãã«ãŒã¿ãŒIDïŒæå®ãããŠããå ŽåïŒãŸãã¯ã«ãŒãããã¯ã¢ãã¬ã¹ïŒãã®ã«ãŒãã¯EVPNã€ã³ã¹ã¿ã³ã¹ã®ãããã«ãé©çšãããªãããïŒããã«ãŒã¿ãŒã«ãã£ãŠèªåçã«çæãããŸãã RTãæåã§æå®ãããŸããããESIããçæãããåãESIãæã€ã«ãŒã¿ãŒã®ã¿ããã®ã«ãŒããã€ã³ããŒãããŸãã ãã®ãããèšäºã®åé ã§å ã«æ€èšããçµè«ã§ããã«ãããŒã ãã€ããŒãã¿ã€ã4ã®ã«ãŒããã¢ããŠã³ã¹ããããšã¯ããããŸããã
泚ïŒäžè¬ã«ãRTã«ã¯ESIãããã®äžéšã®ã¿ã䜿çšãããRTã®çæã«äœ¿çšãããåãESIããããæã€ãã¹ãŠã®PEããã®ã«ãŒããã€ã³ããŒããããããããã¯å®å šã«çå®ã§ã¯ãããŸããã
泚ïŒJunOSã¯ãRDã®2çªç®ã®éšåã®ãã«å€ã䜿çšããŠãESIããšã®ã«ãŒãã®RDãçæããŸãïŒ62.0.0.1ïŒ 0 ã
ã§ã¯ãã¿ã€ã4ã«ãŒããã©ãã§æ¢ãã¹ãã§ããããïŒ JunOSã«ã¯ããã€ãã®ã«ãŒãã£ã³ã°ããŒãã«ããããŸãã EVPNã«ãŒãã¯æåã«bgp.evpn.0ããŒãã«ã«åé¡ããããããããã§ã«ä»ã®ã«ãŒãã£ã³ã°ããŒãã«ïŒã»ã«ã³ããªããŒãã«ïŒã«ã€ã³ããŒããããŠããŸãã ãããã£ãŠããã®ã«ãŒãã¯bgp.evpn.0ããŒãã«ã«ããããããã__default_evpn __ãEvpn.0ããŒãã«ã«ãšã¯ã¹ããŒããããŸãã
bormoglotx@RZN-PE-1> show route table __default_evpn__.evpn.0 match-prefix *4:6* __default_evpn__.evpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 4:62.0.0.1:0::01:62.0.0.1/304 ES *[EVPN/170] 02:57:15 Indirect 4:62.0.0.2:0::01:62.0.0.2/304 ES *[BGP/170] 02:57:16, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.0.1 via ae0.1
åè¿°ã®ãšãããRDã¯ã«ãŒã¿ãŒã«ãã£ãŠèªåçã«çæãããŸããRZN-PE-1ããã®ã«ãŒãã§ã¯62.0.0.1:07ïŒã«ãŒãã¯ãã®ã«ãŒã¿ãŒã«å¯ŸããŠããŒã«ã«ã§ãããããéæ¥çã«ãã¯ã¹ããããïŒãRZN-PE-ããã®ã«ãŒãã§ã¯62.0.0.2:07 2ã ãã®PEã«ãŒã¿ãŒã¯ãã«ãããŒã ã§ã¯ãªããããRZN-PE-3ããã®ã«ãŒãã¯ãããŸããã ããã«ãPE-3ã«ã¯ãã®ãããªESIããªãããããã®ã«ãŒã¿ãŒã¯ãããã®ã«ãŒããã€ã³ããŒãããŸãããããªãã¬ã¯ã¿ãŒã¯ããããèª å®ã«æäŸããŸãã
bormoglotx@RZN-PE-3> show route table __default_evpn__.evpn.0 bormoglotx@RZN-PE-3>
bormoglotx@RZN-P-1> show route advertising-protocol bgp 62.0.0.3 | match 4:62 4:62.0.0.1:0::01:62.0.0.1/304 4:62.0.0.2:0::01:62.0.0.2/304
次ã«ããã®ã«ãŒãããã詳现ã«åæããŸãã
bormoglotx@RZN-PE-1> show route table __default_evpn__.evpn.0 match-prefix *4:6* next-hop 62.0.0.2 detail __default_evpn__.evpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) 4:62.0.0.2:0::01:62.0.0.2/304 ES (1 entry, 1 announced) *BGP Preference: 170/-101 Route Distinguisher: 62.0.0.2:0 Next hop type: Indirect, Next hop index: 0 Address: 0xb1e55f0 Next-hop reference count: 20 Source: 62.0.0.100 Protocol next hop: 62.0.0.2 Indirect next hop: 0x2 no-forward INH Session ID: 0x0 State: <Secondary Active Int Ext> Local AS: 42000.62 Peer AS: 42000.62 Age: 2:58:04 Metric2: 1 Validation State: unverified Task: BGP_42000.62.62.0.0.100 Announcement bits (1): 0-__default_evpn__-evpn AS path: I (Originator) Cluster list: 62.0.0.100 Originator ID: 62.0.0.2 Communities: es-import-target:0-0-0-0-0-0 Import Accepted Localpref: 100 Router ID: 62.0.0.100 Primary Routing Table bgp.evpn.0
ç¹ã«ç¯çœªçãªãã®ã¯ãããŸãã-ã»ãšãã©ã®ãã£ãŒã«ãã¯BGPã«ãŒãã«åºæã®ãã®ã§ãã ããããããã®ã³ãã¥ããã£ã©ã€ã³ã§ã¯ãéåžžãããšãã°ãã¡ã€ã³IDããªãªãžã³ãŸãã¯ã¿ãŒã²ããã³ãã¥ããã£ãèŠãããšã«æ £ããŠããŸãã å šãç°ãªãã³ãã¥ããã£ããããŸãã
EVPNã³ãã¥ããã£å°çšã«äºçŽãããŠããŸãã äžã§æžããããã«ããã®ã«ãŒãã¯ESIããšã«æä»çã«çæããããã®ã«ãŒããå¿ èŠãšããPEã«ãŒã¿ã®ã¿ããããåä¿¡ããå¿ èŠããããŸãã ãŸããã«ãŒãéä¿¡è ãšåãESIã«ãªã³ã¯ãããPEã«ã¡ã©ã«ã®ã¿å¿ èŠã§ãã ãããã£ãŠããã®ã«ãŒãã®ã³ãã¥ããã£ã¯ESIã«åºã¥ããŠçæããães-import-targetïŒ0-0-0-0-0-0-0ãšãã圢åŒã«ãªããŸãã
ç§ãã¡ã®ã±ãŒã¹ã§ã¯ããã¹ãŠãŒãã§ãããç¹ã«ãã®ãããªESIã䜿çšããŠããã®ã³ãã¥ããã£ã«ã¯2çªç®ã®éšåã«ã®ã¿ãŒããå«ããããšãã§ããããšã瀺ããŠããŸãïŒæåã®éšåã¯äºçŽãããŠããã RFCã®èªã¿åãã«é¢å¿ã®ãã0x06ïŒã¿ã€ãïŒãš0x02ïŒãµãã¿ã€ãïŒã«çããïŒããã¯EVPNã®ããã©ãŒãã³ã¹ã«ã¯åœ±é¿ããŸããã ãã®çµæãåœç€Ÿã®ã©ããããã¯ãŒã¯ã§ã¯ãRZN-PE-1ãšRZN-PE-2ã®ã¿ããã®ã«ãŒããã€ã³ããŒãããŸãã
ãããŠãESIèªäœã¯ã©ãã«ããã®ã§ããããïŒ èå¥åã¯ã«ãŒãèªäœã§çŽæ¥æå®ãããŸãïŒ4ïŒ62.0.0.2ïŒ0 :: 01 ïŒ62.0.0.2/304 ESã空ã®ãªã¯ãããïŒãŒãïŒã®ã¿ãçç¥ãããŸãïŒipv6ãªã©ïŒã ãŸãã2ã€ã®ã«ãŒã¿ãŒã®ãªã³ã¯ãç°ãªãã»ã°ã¡ã³ãã«ãããã©ãããæšæž¬ããã®ã¯é£ãããããŸãããããããã®èå¥åã¯æåã00 ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ 01ã§ããã 10 ïŒ00ïŒ00ïŒ00ã§ãã ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ 01 2çªç®ã®å Žåãã«ãŒãã¯äž¡æ¹ã®ã«ãŒã¿ãŒã«ãã£ãŠã€ã³ããŒããããŸãã ã³ãã¥ããã£ã§ã¯ãåæãã£ã«ã¿ãªã³ã°ã®ã¿ãçºçããŸããã«ãŒãèªäœã¯ãã«ãŒãã§æå®ãããESIãããã®ã«ãŒããåä¿¡ããã«ãŒã¿ãŒèªäœã®ESIãšäžèŽããå Žåã«ã®ã¿äœ¿çšãããŸããäžèŽããªãå Žåãã«ãŒãã¯ãããããããŸãã
ã«ãŒã¿ãŒã¯ãããããã«ãããŒã ã§ããããšãèªèãããšããã«ïŒã€ã³ã¿ãŒãã§ã€ã¹æ§æã®ESIã®ãŒã以å€ã®å€ã«ãã£ãŠãããç解ããŸãïŒãã¿ã€ã4ã®ã«ãŒãã®éä¿¡ãéå§ããŠããã¹ãŠã®é£æ¥ã«ãŒã¿ãŒããããã¯ãŒã¯äžã®ååšãèªèããŸãã
ã«ãŒãããããã¯ãŒã¯äžã«æ£ãã°ã£ãåŸãRZN-PE-1ãšRZN-PE-2ã¯ãããããåãESIã«æ¥ç¶ãããŠããããšãåŠç¿ããŸãã äž¡æ¹ã®ã«ãŒã¿ãŒã¯ãæ®ãã®PEã«ãŒã¿ãŒããã®ã¿ã€ã4ã«ãŒãã3ç§éåŸ æ©ãïŒããã©ã«ãïŒããã®åŸãã¿ã€ã4ã«ãŒãããåä¿¡ããã«ãŒãã«åºã¥ããŠããã®ã»ã°ã¡ã³ãã«æ¥ç¶ãããŠãããã¹ãŠã®ããŒãã®ãªã¹ããäœæãããã¹ãŠã®ããŒãã§ãã®ãªã¹ãã¯åãã«ãªããŸãç§ãã¡ã®å Žåã¯ããã§ãïŒ
62.0.0.1 i = 0
62.0.0.2 i = 1
ãã®åŸãã«ãŒã¿ãŒã¯åŒV mod N = iã«åŸã£ãŠDFã«ãªã人ã®èšç®ãéå§ããŸããããã§ãVã¯vlanã®æ°ãNã¯ã»ã°ã¡ã³ãå ã®PEã«ãŒã¿ãŒã®æ°ã§ãã çªå·ãèšç®ã®çµæã§ããããã®VLANã®ãã®ã»ã°ã¡ã³ãã®DFã«ãªãPEã«ãŒã¿ã ãåãã®ããã«ãåVLANã«ã¯ç¬èªã®DFããããŸããBUMãã©ãã£ãã¯ã®ãã©ã³ã¹ããšããŠããŸãã
3ã€ã®EVPNã€ã³ã¹ã¿ã³ã¹ãã©ãã§æ§æããã1ã€ã®VLANãåã€ã³ã¹ã¿ã³ã¹ã«å¯Ÿå¿ãã777ã778ãããã³779 VLANã䜿çšããŸããã2ã€ã®ãã«ãããŒã PEããããããããŒãã®æ°ã¯2ã§ãããã®ã»ã°ã¡ã³ãã§ã¯777 VLANã®DFãååŸããŸã779ã¯RZN-PE-2ãéžæãã778-RZN-PE-1ã®å Žåã¯ç¢ºèªãç°¡åã§ãã
bormoglotx@RZN-PE-1> show configuration routing-instances | display set | match interface set routing-instances vSwitch-eVPN-1 interface ae3.777 set routing-instances vSwitch-eVPN-2 interface ae3.778 set routing-instances vSwitch-eVPN-3 interface ae3.779
bormoglotx@RZN-PE-1> show configuration interfaces ae3 | display set | match vlan-id set interfaces ae3 unit 777 family bridge vlan-id-list 777 set interfaces ae3 unit 778 family bridge vlan-id-list 778 set interfaces ae3 unit 779 family bridge vlan-id-list 779
bormoglotx@RZN-PE-1> show evpn instance vSwitch-eVPN-1 designated-forwarder Instance: vSwitch-eVPN-1 Number of ethernet segments: 1 ESI: 00:00:00:00:00:00:00:00:00:01 Designated forwarder: 62.0.0.2
bormoglotx@RZN-PE-1> show evpn instance vSwitch-eVPN-2 designated-forwarder Instance: vSwitch-eVPN-2 Number of ethernet segments: 1 ESI: 00:00:00:00:00:00:00:00:00:01 Designated forwarder: 62.0.0.1
bormoglotx@RZN-PE-1> show evpn instance vSwitch-eVPN-3 designated-forwarder Instance: vSwitch-eVPN-3 Number of ethernet segments: 1 ESI: 00:00:00:00:00:00:00:00:00:01 Designated forwarder: 62.0.0.2
ãã®ã¹ããŒã ã«ã¯é·æãšçæããããŸãã æãæãããªãã€ãã¹ã¯ãDFéžæã¡ã«ããºã èªäœã§ãã ESI Xãžã®ãªã³ã¯ãæã€ã»ã°ã¡ã³ãã«æ°ããã«ãŒã¿ãŒã衚瀺ãããããESI Xãžã®ãªã³ã¯ãã«ãŒã¿ãŒäžã§èœã¡ã/埩å ããããšããã«ãDFã¯ãã®ã»ã°ã¡ã³ãã«å¯ŸããŠåèšç®ãããŸãã ããã«ãææªã®ç¶æ³ã¯ãDFã«ãŒã¿ãŒäžã®ESI Xã®æ¹åã®ãªã³ã¯ã®æ倱ã§ãã æ®ãã®ã«ãŒã¿ãŒã¯ãããã€ã¹ã®CEåŽãžã®BUMãã©ãã£ãã¯ã®éä¿¡ããããã¯ãããããDFãããããæ€åºããæ°ããDFãèšç®ããããã«ãBUMãã©ãã£ãã¯ã¯ãçŸæç¹ã§ã¯ãã¹ãŠãéDFã§ãããããã»ã°ã¡ã³ãã®ãã¹ãŠã®PEã«ãŒã¿ãŒã«ãã£ãŠãããããããŸãã ããããæ°ããDFéžææé ã説æããRFCãã©ããããããŸãã ãããããããŸã§ã®ãšããããã¹ãŠã説æã©ããã«æ©èœããŠããŸãã
vlan察å¿ã®æ¹æ³ãšvlan-bundleã®æ¹æ³ã®DFã®éžæã¯ãããã«ç°ãªãããšã«æ³šæããŠãã ãããä»®æ³ã¹ã€ããã¯è€æ°ã®ããªããžãã¡ã€ã³ãçµäºã§ããããããã®å Žåã®DFã®éžæã¯åVLANã«å¯ŸããŠåå¥ã«è¡ãããã®ã§ã¯ãªãããã¹ãŠã®vlaneã«å¯ŸããŠåæã«è¡ãããèšç®ã§ã¯èšå®ãããæå°ã®VLANçªå·ã䜿çšãããŸããããšãã°ãä»®æ³ã¹ã€ããã«30.778ãš779ãè¿œå ããŸãããæå°æ°ã®VLANãåºæºã«ãããšããã®ã»ã°ã¡ã³ãã®DFã¯PE1-62.0.0.1ã«ãªãããšãç°¡åã«èšç®ã§ããŸãã
bormoglotx@RZN-PE-1> show evpn instance vSwitch-eVPN-1 extensive | match "domain|extended|forwarder" Number of bridge domains: 4 VLAN Domain ID Intfs / up IRB intf Mode MAC sync IM route label 30 1 1 Extended Enabled 300384 777 1 1 irb.1 Extended Enabled 300384 778 1 1 Extended Enabled 300384 779 1 1 Extended Enabled 300384 Designated forwarder: 62.0.0.1 Backup forwarder: 62.0.0.2 Last designated forwarder update: May 24 08:12:13
30çªç®ã®VLANãåé€ããŸããçŸåšãæå°ã®VLANçªå·ã¯777ã§ããã€ãŸããDFã¯PE2-62.0.0.2ã«ãªããŸãã
bormoglotx@RZN-PE-1> show evpn instance vSwitch-eVPN-1 extensive | match "domain|extended|forwarder" Number of bridge domains: 4 VLAN Domain ID Intfs / up IRB intf Mode MAC sync IM route label 777 1 1 irb.1 Extended Enabled 300384 778 1 1 Extended Enabled 300384 779 1 1 Extended Enabled 300384 Designated forwarder: 62.0.0.2 Backup forwarder: 62.0.0.1 Last designated forwarder update: May 24 08:14:52
: , Backup forwarder Backup Designated forwarder (BDF). BDF non-DF . EVPN ( OSPF DR BDR) â DF , non-DF BDF. DF.
ããã§ãã¿ã€ã4ã®ã«ãŒããå¿ èŠãªçç±ãšãã®å€èŠ³ãããããŸããã
ããããDFãéžæããå Žåã1ã€ã®ã¿ã€ãã®ã«ãŒãã®ã¿ãç²åŸããŸããããã ããCEã«ãŒã¿ãŒãã«ãŒã¿ãŒã®éDFåŽãžã®ãã©ãã£ãã¯ã®éä¿¡ãéå§ãããšãã«ãŒããçºçããå¯èœæ§ããããŸããããšãã°ãRZN-PE-1ãéDFã®å ŽåãRZN-SW-1ããBUMãã©ãã£ãã¯ãåä¿¡ããŸããã«ãŒããååŸããŸããCEããBUMãã©ãã£ãã¯ãåä¿¡ããRZN-PE-1ã¯ããã®ãã©ãã£ãã¯ãä»ã®PEã«éä¿¡ããŸãã -RZN-PE-2ãå«ãshkããã®ã»ã°ã¡ã³ãã®DFã§ããRZN-PE-2ã¯ãè¯å¿ã®éãã䌎ããã«ãRZN-SW-1ã«ãã©ãã£ãã¯ãéãè¿ããŸããçµæã¯ã«ãŒãã§ããã
ãããŠãã«ãŒãã¯ãã©ãã£ãã¯ãäžæããŸããããååŸã«é£è¡ããŸãã
ãããåé¿ããã«ã¯ãESIããšã«çæãããã¿ã€ã1ã«ãŒããå¿ èŠã§ãã
ããããã¿ã€ã4ã®ã«ãŒããšã¯ç°ãªããå°ãªããšãESIããšã«çæãããã¿ã€ã1ã®ã«ãŒãã¯ãEVIããšã«ããã®ã«ãŒãã«é¢å¿ã®ããã€ã³ã¹ã¿ã³ã¹ãŸãã¯è€æ°ã®ã€ã³ã¹ã¿ã³ã¹ã®ãã€ãã£ãã³ãã¥ããã£ã瀺ããŸãïŒãããŠããã®çç±ã¯åŸã§ããããŸãïŒïŒ
bormoglotx@RZN-PE-1> show route table vSwitch-eVPN-1.evpn.0 match-prefix *1:6* vSwitch-eVPN-1.evpn.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1:62.0.0.1:1::01::0/304 AD/EVI *[EVPN/170] 1d 00:09:01 Indirect 1:62.0.0.2:0::01::FFFF:FFFF/304 AD/ESI *[BGP/170] 03:20:10, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.0.1 via ae0.1 1:62.0.0.2:1::01::0/304 AD/EVI *[BGP/170] 1d 00:09:01, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.0.1 via ae0.1
ã¿ã€ã1ã®ESIããšã®ã«ãŒããå¿ èŠãªã®ã¯ãªãã§ããïŒ
ã¿ã€ã1ã«ãŒãã«ã¯ããã€ãã®æ©èœããããŸãã
ã¿ã€ã1ã®ESIããšã«çæãããã«ãŒãã«ã¯ãã¹ããªãããã©ã€ãºã³ã©ãã«ãšåŒã°ããmplsã©ãã«ãæå®ããæ¡åŒµã³ãã¥ããã£ãå«ãŸããŸãã
bormoglotx@RZN-PE-1> show route table vSwitch-eVPN-1.evpn.0 match-prefix *FFFF* detail vSwitch-eVPN-1.evpn.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden) 1:62.0.0.2:0::01::FFFF:FFFF/304 AD/ESI (1 entry, 1 announced) *BGP Preference: 170/-101 Route Distinguisher: 62.0.0.2:0 Next hop type: Indirect, Next hop index: 0 Address: 0xb1e55f0 Next-hop reference count: 20 Source: 62.0.0.100 Protocol next hop: 62.0.0.2 Indirect next hop: 0x2 no-forward INH Session ID: 0x0 State: <Secondary Active Int Ext> Local AS: 42000.62 Peer AS: 42000.62 Age: 3:20:48 Metric2: 1 Validation State: unverified Task: BGP_42000.62.62.0.0.100 Announcement bits (1): 0-vSwitch-eVPN-1-evpn AS path: I (Originator) Cluster list: 62.0.0.100 Originator ID: 62.0.0.2 Communities: target:42000:1 target:42000:2 target:42000:3 esi-label:all-active (label 302656) Import Accepted Localpref: 100 Router ID: 62.0.0.100 Primary Routing Table bgp.evpn.0
ã©ãã«ã¯æ¬¡ã®è¡ã«ãããŸãã
Communities: target:42000:1 target:42000:2 target:42000:3 esi-label:all-active (label 302656)
ããã¯ãäžèšã®ã«ãŒããæã¡è² ããã®ã«ã©ã®ããã«åœ¹ç«ã¡ãŸããïŒããã§ãDFã«ãŒã¿ãŒã«BUMãã©ãã£ãã¯ãéä¿¡ããéDFã«ãŒã¿ãŒã¯ããã®ã³ãã¥ããã£ã§æå®ãããã©ãã«ãã©ãã«ã¹ã¿ãã¯ã«è¿œå ããŸããã€ãŸãã次ã®å³ãååŸããŸããPEã«ãŒã¿ãŒã¯ãESI Xãæã€ã»ã°ã¡ã³ãããBUMãã©ãã£ãã¯ãåä¿¡ããŸãããããã¯éDFã«ãŒã¿ãŒã§ãã ESI Xã«ãªã³ã¯ãããä»ã®PEã«ãŒã¿ãŒãå«ããEVPNãã¡ã€ã³å ã®ä»ã®ãã¹ãŠã®PEã«ãã®ãã©ãã£ãã¯ã転éããå¿ èŠããããŸãããã©ãã£ãã¯ã¯éåžžã©ãããã¹ãŠã®PEã«ãŒã¿ãŒã«éä¿¡ãããŸããIMã¿ã°ã䜿çšããŸãããã«ãŒã¿ãŒã¯DFã§ãã ESI Xã»ã°ã¡ã³ãã®å Žåãã«ãŒã¿ãŒã¯æåã«ã¹ããªãããã©ã€ãºã³ã©ãã«ãé 眮ãã次ã«IMã©ãã«ãé 眮ããŸããããã¯ããã®ãã±ãããESI Xããæ¥ãããšãDFã«ãŒã¿ãŒã«ç€ºãããã®ã»ã°ã¡ã³ãã«éãè¿ãå¿ èŠã¯ãããŸãããè«ççãã±ãããDFã«ãŒã¿ãŒåŽã«éä¿¡ãããå Žåã«ã®ã¿ãã®ã©ãã«ãè¿œå ããå¿ èŠããããŸããéDFã«ãŒã¿ãŒã¯ãã®ãã©ãã£ãã¯ãESI Xã»ã°ã¡ã³ãã«éä¿¡ããªãããã§ãã
ã«ãŒã¿ãŒã®DFåŽããã¯ã次ã®ããã«
ãªããŸãïŒã«ãŒã¿ãŒãIMã¿ã°ãšS = 1ã®ãã±ãããåä¿¡ããå ŽåïŒã€ãŸããã¿ã°ã®äžçªäžãèæ ®ããããã®ã¿ã°ãã¹ã¿ãã¯ã®æåŸã§ããå ŽåïŒãã«ãŒã¿ãŒã¯ãã®EVPNã§æ¥ç¶ãããŠãããã¹ãŠã®CEã¹ã€ãã/ã«ãŒã¿ãŒã«ãã±ãããéä¿¡ããŸãã€ã³ã¹ã¿ã³ã¹ã
ã«ãŒã¿ãIMã¿ã°ãšS = 0ã®ãã±ãããåä¿¡ããå ŽåïŒã€ãŸãããã®ã¿ã°ãã¹ã¿ãã¯ã®æåŸã§ã¯ãªãå ŽåïŒããããã¿ã°ãåé€ããã2çªç®ã®mplsã«ãã¯ã¢ãããå®è¡ãããŸãã 2åç®ã®æ€çŽ¢ãè¡ããšãã«ãŒã¿ãŒã¯S = 1ã®Split Horizoâânã©ãã«ã確èªããŸããããã«åºã¥ããŠãã«ãŒã¿ãŒã¯ãã¹ãŠã®CEã«ãŒã¿ãŒ/ã¹ã€ããã®æ¹åã«ãã±ããããã©ããã£ã³ã°ããŸãããã ãããã©ãã£ãã¯ã®åä¿¡å ãšåãã»ã°ã¡ã³ãã«ãããã®ãé€ããŸãã
åé¡ãçºçããŸãããªããã®ã«ãŒãã¯ESIããšã«çæãããŸãããã¿ã€ã4ã®ã«ãŒããšã¯ç°ãªãããã€ãã£ãã³ãã¥ããã£ã€ã³ã¹ã¿ã³ã¹ïŒãŸãã¯ããã®å Žåã®ããã«ãããã€ãã®ã€ã³ã¹ã¿ã³ã¹ïŒããããŸããïŒäºå®ã¯ããã®ã«ãŒãã«ã¯ã¹ããªãããã©ã€ãºã³ã©ãã«ã ããå«ãŸããŠããããã§ã¯ãããŸãããã³ãã¥ããã£ã®esi-labelïŒall-activeïŒã©ãã«302656ïŒã«æ³šç®ãããšãã»ã°ã¡ã³ãã¿ã€ããall-activeãŸãã¯single-activeãšããŠæå®ãããŠããããšãããããŸãããã®æ å ±ã¯ãPEã«ãã£ãŠãã©ãã£ãã¯ã®ãã©ã³ã¹ããšãããšãã§ãããã©ãããç解ããããã«ä»ã®PEã«å¿ èŠã§ããïŒåŸã§è©³ãã説æããŸãïŒããšã€ãªã¢ã¹ã©ãã«ã䜿çšããæ¹æ³ããããŸãã
ãã®ã«ãŒãã®ãã1ã€ã®éèŠãªæ©èœã¯ãè¿ éãªåæãä¿èšŒããããšã§ããããšãã°ããªã³ã¯ã¯CEããã€ã¹ã«åãã£ãŠèœã¡ãŸããããã®ãªã³ã¯ã¯ãã¹ãŠãè¿œå ããããã¹ãŠã®ã€ã³ã¹ã¿ã³ã¹ã§èœã¡ããšããã®ãè«ççã§ããã€ãŸãããã®ã»ã°ã¡ã³ãã«å¯ŸããŠPEã«ãã£ãŠã¢ããŠã³ã¹ããããã¹ãŠã®ã«ãŒãããã£ã³ã»ã«ããå¿ èŠããããŸããã€ãŸããã«ãŒã¿ãŒã¯æ€åã¡ãã»ãŒãžã®éä¿¡ãéå§ãããã®ESIãžã®ãªã³ã¯ããã£ããã¹ãŠã®ã€ã³ã¹ã¿ã³ã¹ããã¢ããŠã³ã¹ãããMAC / IPã«ãŒãããã£ã³ã»ã«ããå¿ èŠããããŸããç¡å¹ã§ãããããŠããã®ãããªã«ãŒããæ°åããå Žåã¯ïŒãããã£ãŠãwithdrawã¡ãã»ãŒãžã®ããŒããéä¿¡ãã代ããã«ãã«ãŒã¿ãŒã¯ã¿ã€ã1ã«ãŒãããã£ã³ã»ã«ããŸããããã«ãããä»ã®ãã¹ãŠã®PEã«ãŒã¿ãŒã¯ããã®PEã«ãŒã¿ãŒãä»ããŠãã®ã»ã°ã¡ã³ãã«ã¢ã¯ã»ã¹ã§ããªããªã£ãããšãèªèããŸããããã¯MAC Mass WithdrawãšåŒã°ããŸããç¹ã«é害ãçºçããã€ã³ã¿ãŒãã§ã€ã¹ã®èåŸã«æ°åã®MACã¢ãã¬ã¹ãããå Žåãã«ãŒã¿ã¯1000ã®ä»£ããã«1ã€ã®ã¡ãã»ãŒãžãè¿ éã«åŠçããã®ãç°¡åã§ãããããã«ããåææéãå€§å¹ ã«ççž®ãããŸãã
ã·ããªãªã§ãã®ã«ãŒãã«ãã€ãã£ãã³ãã¥ããã£ãããçç±ã¯æããã ãšæããŸãïŒPE3ã«ã¯ESI 00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ00ïŒ01ããªããã³ãã¥ããã£ãçæãããå Žåãã«ãŒãã«é¢ããŠã¯ã¿ã€ã4ã®å ŽåãPE-3ã¯ã³ãã¥ããã£ããã§ãã¯ããŠãã®ã«ãŒããåçŽã«ããããããŸãã
泚ïŒESIããšã«çæãããã¿ã€ã1ã®ã«ãŒãã«æ°ã¥ããå Žåãã¿ã°ã®ä»£ããã«ãã¹ãŠã®ãŠãããã瀺ãããŸãïŒ1ïŒ62.0.0.2ïŒ0 :: 01 :: FFFFïŒFFFF / 304 AD / ESIãããã¯ãžã¥ãããŒã®æ°ãŸããã§ã¯ãªãããã¹ãŠãRFCã«æºæ ããŠããŸããã¿ã€ã1ã«ãŒãã§ã¯ãESIããšã«çæãããå Žåãå¯èœãªæ倧å€ã¯tag-idãã£ãŒã«ãã«ç€ºãããå¿ èŠãããïŒãã®ãã£ãŒã«ãã«ã¯32ããããå²ãåœãŠãããŸãïŒãmplsã©ãã«ã¯0ã«èšå®ãããŸã
ãããã£ãŠãEVPNã¯ã«ãŒããåé¿ããè¿ éãªåæã®å¯èœæ§ãæäŸããŸããããããçµè«ã®åé ã§æãåºããšãè¿é£ã«ãŒã¿ãŒã2ã€ã®ã¿ã€ã1ã«ãŒããç§ãã¡ã«ã¢ããŠã³ã¹ããŠããããšãããããŸããããã®ãããã¿ã€ã1ã«ãŒããEVIããšã«çæã§ããŸãã
EVIããšã«çæãããã¿ã€ã1ã«ãŒããå¿ èŠãªã®ã¯ãªãã§ããïŒ
bormoglotx@RZN-PE-1> show route table vSwitch-eVPN-1.evpn.0 match-prefix *01::0* vSwitch-eVPN-1.evpn.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1:62.0.0.1:1::01::0/304 AD/EVI *[EVPN/170] 1d 00:20:59 Indirect 1:62.0.0.2:1::01::0/304 AD/EVI *[BGP/170] 1d 00:20:59, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.0.1 via ae0.1
ãã®ã«ãŒãã¯ããšã€ãªã¢ã·ã³ã°ã©ãã«ãã¢ããŠã³ã¹ããããã«äœ¿çšãããŸãã
bormoglotx@RZN-PE-1> show route table vSwitch-eVPN-1.evpn.0 match-prefix *01::0* detail next-hop 62.0.0.2 vSwitch-eVPN-1.evpn.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden) 1:62.0.0.2:1::01::0/304 AD/EVI (1 entry, 1 announced) *BGP Preference: 170/-101 Route Distinguisher: 62.0.0.2:1 Next hop type: Indirect, Next hop index: 0 Address: 0xb1e55f0 Next-hop reference count: 20 Source: 62.0.0.100 Protocol next hop: 62.0.0.2 Indirect next hop: 0x2 no-forward INH Session ID: 0x0 State: <Secondary Active Int Ext> Local AS: 42000.62 Peer AS: 42000.62 Age: 1d 0:20:26 Metric2: 1 Validation State: unverified Task: BGP_42000.62.62.0.0.100 Announcement bits (1): 0-vSwitch-eVPN-1-evpn AS path: I (Originator) Cluster list: 62.0.0.100 Originator ID: 62.0.0.2 Communities: target:42000:1 Import Accepted Route Label: 300208 Localpref: 100 Router ID: 62.0.0.100 Primary Routing Table bgp.evpn.0
ã«ãŒãã©ãã«ïŒ300208ã¯ãšã€ãªã¢ã¹ã©ãã«ã§ãããã¿ã€ã2ã«ãŒãã§æå®ããããµãŒãã¹ã©ãã«ãšãšãã«ããã©ãã£ãã¯ã®è»¢éã«äœ¿çšã§ããŸããã¿ã€ã2ã«ãŒãããã®ãµãŒãã¹ã©ãã«ãæ¢ã«æã£ãŠããã®ã«ããªããã®ã©ãã«ãå¿ èŠãªã®ã§ããïŒäºå®ã¯ããã¹ãŠåãEVPNãL2VPNãµãŒãã¹ãæäŸãããšããããšã§ããã€ãŸããã¯ã©ã€ã¢ã³ãã¯ã«ãŒã¿ãŒãšããŠã§ã¯ãªãã¹ã€ãããšããŠãå®çžŸã®ããããŒããŠã§ã¢ã§ç§ãã¡ã«æ¥ç¶ããŸãããŸããã¯ã©ã€ã¢ã³ãããã®PEã«ãŒã¿ãŒãããŒã¿ãã¬ãŒã³ãä»ããŠMACã¢ãã¬ã¹ãåŠç¿ããããšãæãåºããŠãã ãããã€ãŸãããã«ãããŒã CEãPEã«ãŒã¿ãŒã®1ã€ã«ã®ã¿ãã±ãããéä¿¡ããç¶æ³ã¯çè«çã«ã¯å¯èœã§ãïŒçç±ã¯ç°ãªãå ŽåããããŸã-æ©åšèªäœã®ãã°ãããã©ã³ã·ã³ã°ã¢ã«ãŽãªãºã ãŸã§ïŒããããã£ãŠã1å°ã®ã«ãŒã¿ãŒã®ã¿ãã«ãŒã¿ãŒ/ã¹ã€ããã®CEããMACã¢ãã¬ã¹ãåŠç¿ããMAC / IPã¢ããŠã³ã¹ãéä¿¡ããŸãã
転éããŒãã«ãèŠããšãRZN-PE-2ïŒçŸæç¹ã§ã¯777 vlanã®DFïŒã®äžéšã®MACãããŒã¿ãã¬ãŒã³ã§èª¿ã¹ãããŠããããšãããããŸãïŒç¢å°ã§ç€ºãããŠããã¢ãã¬ã¹ã«æ³šæããŠãã ããïŒã
bormoglotx@RZN-PE-2> show bridge mac-table MAC flags (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC O -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC) Routing instance : vSwitch-eVPN-1 Bridging domain : BRIDGE-777, VLAN : 777 MAC MAC Logical NH RTR addresssss flags interface Index ID 00:05:86:71:87:c0 DC 1048585 1048585 00:05:86:71:87:f0 D ae3.777 00:50:79:66:68:0c D ae3.777 <<<<<<<<<<<<<< 00:50:79:66:68:0d D ae3.777 <<<<<<<<<<<<<< 00:50:79:66:68:0e D ae3.777
åœæãRZN-PE-1äžã®äžèšã®MACã¯ãããŒã¿ãã¬ãŒã³ã§ã¯èª¿æ»ãããŠããŸããã§ããã
bormoglotx@RZN-PE-1> show bridge mac-table MAC flags (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC O -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC) Routing instance : vSwitch-eVPN-1 Bridging domain : BRIDGE-777, VLAN : 777 MAC MAC Logical NH RTR addresssss flags interface Index ID 00:05:86:71:87:c0 DC 1048586 1048586 00:05:86:71:87:f0 D ae3.777 00:50:79:66:68:0c DRC ae3.777 <<<<<<<<<<<<<< 00:50:79:66:68:0d DRC ae3.777 <<<<<<<<<<<<<< 00:50:79:66:68:0e D ae3.777
äœãåŸãããŸããïŒRZN-PE-2ã®ã¿ãRZN-SW-1ã®ãã¹ãã®MACã¢ãã¬ã¹ãåŠç¿ãããã®ã±ã·ãå«ãMAC / IPã«ãŒãïŒãã®å Žåã¯2ã€ã®ã«ãŒããå«ãïŒãéä¿¡ãããšãç¶æ³ãå€æããŸãããRZN-PE-3ã®è»¢éããŒãã«ãèŠããšãã³ã³ãããŒã«ãã¬ãŒã³ãä»ããŠåŠç¿ããããããã¹ãŠã®ãããŒã衚瀺ãããŸãã
bormoglotx@RZN-PE-3> show bridge mac-table MAC flags (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC O -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC) Routing instance : vSwitch-eVPN-1 Bridging domain : BRIDGE-777, VLAN : 777 MAC MAC Logical NH RTR addresssss flags interface Index ID 00:05:86:71:87:c0 D ae0.777 00:05:86:71:87:f0 DC 1048580 1048580 00:50:79:66:68:0c DC 1048580 1048580 <<<<<<<<<<<<<< 00:50:79:66:68:0d DC 1048580 1048580 <<<<<<<<<<<<<< 00:50:79:66:68:0e DC 1048580 1048580
ããããRZN-PE-3ã§åŸããããã®ãèŠããšãRZN-PE-1ãšRZN-PE-2ãå«ãã«ãŒããé察称ã«ãªã£ãŠããããšãæããã§ããRZN-PE-1ã§çºè¡šãããã«ãŒãã¯æ¬¡ã®ãšããã§ãã
bormoglotx@RZN-PE-3> show route table vSwitch-eVPN-1.evpn.0 match-prefix *2:6* next-hop 62.0.0.1 vSwitch-eVPN-1.evpn.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 2:62.0.0.1:1::777::00:05:86:71:87:f0/304 MAC/IP *[BGP/170] 00:07:34, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.3.0 via ae3.0, Push 299824 2:62.0.0.1:1::777::00:50:79:66:68:0e/304 MAC/IP *[BGP/170] 00:01:25, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.3.0 via ae3.0, Push 299824
ãããŠãããã«RZN-PE-2ã«ãã£ãŠçºè¡šãããã«ãŒãããããŸãïŒ
bormoglotx@RZN-PE-3> show route table vSwitch-eVPN-1.evpn.0 match-prefix *2:6* next-hop 62.0.0.2 vSwitch-eVPN-1.evpn.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 2:62.0.0.2:1::777::00:05:86:71:87:f0/304 MAC/IP *[BGP/170] 00:07:36, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.3.0 via ae3.0, Push 299840 2:62.0.0.2:1::777::00:50:79:66:68:0c/304 MAC/IP <<<<<<<<<<<<<< *[BGP/170] 00:01:32, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.3.0 via ae3.0, Push 299840 2:62.0.0.2:1::777::00:50:79:66:68:0d/304 MAC/IP <<<<<<<<<<<<<< *[BGP/170] 00:01:36, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.3.0 via ae3.0, Push 299840 2:62.0.0.2:1::777::00:50:79:66:68:0e/304 MAC/IP *[BGP/170] 00:01:27, localpref 100, from 62.0.0.100 AS path: I, validation-state: unverified > to 10.0.3.0 via ae3.0, Push 299840
ã芧ã®ãšããã2ã€ã®ãããŒã¯RZN-PE-2ãä»ããŠã®ã¿è¡šç€ºãããŸãã RZN-PE-3ã«ç¯çœªè ãããªãå ŽåãRZN-PE-1ã¯ãã®MACã§RZN-PE-2ããã«ãŒããåä¿¡ããŸãã RZN-PE-1ã¯ãRZN-PE-2ãä»ããŠãããã®ãã¹ãã«ãã©ãã£ãã¯ãéä¿¡ããå¿ èŠãããããšãããããŸãããããããEVPNéçºè ããã®ãããªåçŽã§ãããµããééããçãããšèããã®ã¯æãã§ããããã¿ã€ã2ïŒMAC / IPïŒã«ãŒãã«ã¯ããã®MACã¢ãã¬ã¹ãå±ããESIãå«ãŸããŸãã RZN-PE-1ã¯ã¿ã€ã2ã«ãŒããåä¿¡ããçŽæ¥æ¥ç¶ãããŠããã»ã°ã¡ã³ããéããŠMACãèŠããããšã確èªããŸãããããã£ãŠãRZN-PE-1ã¯ãã¯ã¹ãããããã³ãã«ãRZN-PE-2ã®æ¹åã«ãç©çãªã³ã¯ãESIã®æ¹åã«é 眮ããŸãã
bormoglotx@RZN-PE-1> show bridge mac-table MAC flags (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC O -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC) Routing instance : vSwitch-eVPN-1 Bridging domain : BRIDGE-777, VLAN : 777 MAC MAC Logical NH RTR addresssss flags interface Index ID 00:05:86:71:87:c0 DC 1048586 1048586 00:05:86:71:87:f0 D ae3.777 00:50:79:66:68:0c DRC ae3.777 <<<<<<<<<<<<<< 00:50:79:66:68:0d DRC ae3.777 <<<<<<<<<<<<<< 00:50:79:66:68:0e D ae3.777
MACã¢ãã¬ã¹ã¯ae3.777è«çã€ã³ã¿ãŒãã§ã€ã¹ãä»ããŠè¡šç€ºããããããŒã¯ãªã¢ãŒãPEããã³ã³ãããŒã«ãã¬ãŒã³ãä»ããŠåçã«åŠç¿ãããããšããã©ã°ã瀺ããŠããããšãã転éããŒãã«ã§ç¢ºèªã§ããŸãããã®çµæãRZN-PE-1ã¯ããŒã¿ãã¬ãŒã³ãä»ããŠãã®MACã¢ãã¬ã¹ãåŠç¿ããªãã£ãã«ãããããããçŽæ¥ãªã³ã¯ã§RZN-SW-1ã«ãã©ãã£ãã¯ã転éããŸãã
ããããå¥ã®è³ªåãçããŸã-RZN-PE-3ã§ãã®MACãRZN-PE-2ãä»ããŠã®ã¿è¡šç€ºãããå ŽåãRZN-PE-1ã¯æå®ãããMACã¢ãã¬ã¹ãæã€MAC / IPã«ãŒããã¢ããŠã³ã¹ããªãã£ããããRZN-PE-3ã¯ãªãRZN-PE-1ãä»ããŠç¹å®ã®ãããŒã¢ãã¬ã¹ã«ãã±ãããéä¿¡ããŸããïŒããããšã€ãªã¢ã¹ã©ãã«ã®åºçªã§ãã
RZN-PE-3ã¯ãïŒESIããšã«çæãããã¿ã€ã1ã«ãŒãããïŒRZN-PE-1ãšRZN-PE-2ãåãã»ã°ã¡ã³ãã«æ¥ç¶ãããActive-Activeã¢ãŒãã§åäœããããšãç¥ã£ãŠããŸãããã®å Žåããã©ã³ã¹ãåãããã«ãRZN-PE-3ã¯ãµãŒãã¹ã©ãã«ãšããŠæ©èœãããšã€ãªã¢ã¹ã©ãã«ã䜿çšã§ããŸãããã®çµæãRZN-PE-3ã¯ãã¿ã€ã2ã«ãŒãã§æå®ãããã©ãã«ã䜿çšããŠãRZN-SW-1ã®èåŸã«ãããã¹ãå®ãŠã®ãã©ãã£ãã¯ãéä¿¡ã§ããŸãããŸãããµãŒãã¹ã®ä»£ããã«ãšã€ãªã¢ã·ã³ã°ã©ãã«ã䜿çšããŠãRZN-PE-1ã¿ã€ã1ã«ãŒã
ã§ç€ºãããã©ãã«RZN-PE-3ã§èŠãããããã«ãåã€ã³ã¹ã¿ã³ã¹ã®ãã«ãããŒã ãã€ããŒããšã«ãšã€ãªã¢ã·ã³ã°ã©ãã«ã瀺ãããŸãã
bormoglotx@RZN-PE-3> show evpn instance vSwitch-eVPN-1 extensive | find "ESI: " ESI: 00:00:00:00:00:00:00:00:00:01 Status: Resolved by NH 1048580 Number of remote PEs connected: 2 Remote PE MAC label Aliasing label Mode 62.0.0.1 300112 300112 all-active 62.0.0.2 300208 300208 all-active
bormoglotx@RZN-PE-3> show evpn instance vSwitch-eVPN-2 extensive | find "ESI: " ESI: 00:00:00:00:00:00:00:00:00:01 Status: Resolved by NH 1048583 Number of remote PEs connected: 2 Remote PE MAC label Aliasing label Mode 62.0.0.1 0 302240 all-active 62.0.0.2 0 302272 all-active
bormoglotx@RZN-PE-3> show evpn instance vSwitch-eVPN-3 extensive | find "ESI: " ESI: 00:00:00:00:00:00:00:00:00:01 Status: Resolved by NH 1048588 Number of remote PEs connected: 2 Remote PE MAC label Aliasing label Mode 62.0.0.2 0 302624 all-active 62.0.0.1 0 302560 all-active
mpls.0ããŒãã«ã§ã¯ããã®ã©ãã«ã«ã¯Ingress-Aliasingãšããã©ãã«ãä»ããŠããŸãã
bormoglotx@RZN-PE-1> show route table mpls.0 label 302560 mpls.0: 32 destinations, 33 routes (32 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 302560 *[EVPN/7] 03:49:28, routing-instance vSwitch-eVPN-3, route-type Ingress-Aliasing to table vSwitch-eVPN-3.evpn-mac.0
Juniperæ©åšã¯ãEVIããšã«MAC / IPã«ãŒãã®ãããŒã¢ãã¬ã¹ã®ã©ãã«ãçæããŸãïŒã€ãŸããã€ã³ã¹ã¿ã³ã¹å šäœã«1ã€ïŒããããŠæãèå³æ·±ãã®ã¯ããšã€ãªã¢ã·ã³ã°ã©ãã«ãmac-labelãšãŸã£ããåãã«ãªãããšã§ããããã¯ã以äžã®åºåãã確èªã§ããŸãã
bormoglotx@RZN-PE-3> show evpn instance vSwitch-eVPN-1 extensive | find "ESI: " ESI: 00:00:00:00:00:00:00:00:00:01 Status: Resolved by NH 1048580 Number of remote PEs connected: 2 Remote PE MAC label Aliasing label Mode 62.0.0.1 300112 300112 all-active 62.0.0.2 300208 300208 all-active
ã芧ã®ãšãããMACã©ãã«=ãšã€ãªã¢ã¹ã©ãã«ãJunOSãMACã¢ãã¬ã¹ã®ã©ãã«ãEVIããšã«çæãããšããäºå®ã¯ã次ã®çµè«ã蚌æããŠããŸãã
bormoglotx@RZN-PE-3> show route table vSwitch-eVPN-1.evpn.0 next-hop 62.0.0.1 match-prefix *2:6* detail | match label Route Label: 300112 Route Label: 300112 Route Label: 300112 Route Label: 300112
ã¿ã€ã2ã®4ã€ã®ã«ãŒããRZN-PE-1ã§ã¢ããŠã³ã¹ããããã¹ãŠåãã©ãã«ãä»ããããŠããŸãããããã質åãçºçããŸãããšã€ãªã¢ã¹ã©ãã«ãmacã©ãã«ãšçããå Žåããªããšã€ãªã¢ã¹ã©ãã«ãçºè¡šããå¿ èŠãããã®ã§ãããããå®éãããã¯ãžã¥ãããŒã®æ©åšã®ç¹åŸŽã§ãããä»ã®ãã³ããŒïŒCiscoãBrocadeãHuaweiãALuïŒã¯ãã®åé¡ã«å¯ŸããŠç°ãªãããžã§ã³ãæã¡ãã¿ã°ãç°ãªãæ¹æ³ã§çæããå¯èœæ§ããããŸãã
ãšã€ãªã¢ã¹ã¿ã°ã䜿çšãããšãã«åé¡ããããã©ãããæšå®ããŸãããããã®ç¶æ³ãèæ ®ããŠãã ããã RZN-PE-3ã«ãŒã¿ãŒã¯ãRââZN-PE-1ããã³RZN-PE-2ããã¿ã€ã1 EVIããšã®ã«ãŒããåä¿¡ããäž¡æ¹ã®ã«ãŒã¿ãŒãžã®ãšã€ãªã¢ã·ã³ã°ã©ãã«ãèªèããŸãããã ããESIããšã®ã¿ã€ã1ããRZN-PE-3ãžã®ã«ãŒãã¯ãŸã ãããŸããã RZN-PE-3ããšã€ãªã¢ã·ã³ã°ã©ãã«ã䜿çšããŠãã©ãã£ãã¯ã®ãã©ã³ã¹ãåãå§ãããšãããšãã°ããã«ãããŒã ã«ãŒã¿ãŒãã·ã³ã°ã«ã¢ã¯ãã£ãã¢ãŒãã§åäœããããã·ãããŒãã«éä¿¡ããããã©ãã£ãã¯ã®äžéšãåçŽã«ããããããå Žåãçºçããå¯èœæ§ããããŸããã€ãŸããçè«çã«ã¯ãRZN-PE-3ã¯ãã©ãã£ãã¯ã®ãã©ã³ã¹ãåãå§ããããšãã§ããŸãããå®éã«ã¯ãããå®è¡ã§ãããã©ããã¯ããããŸãããã«ãªãæ¹æ³ãã®ç¶æ³ã§ã®ã«ãŒã¿ãŒã®åäœã¯ãRFCã«ãã£ãŠæ確ã«èŠå¶ãããŠããŸããã«ãŒã¿ãŒã¯ããã«ãããŒãã³ã°ã¢ãŒãã瀺ãESIããšã«çæãããã¿ã€ã1ã«ãŒããåä¿¡ãããŸã§ãã¿ã€ã1 EVIããšã®ã«ãŒãã§åä¿¡ãããšã€ãªã¢ã·ã³ã°ã©ãã«ã䜿çšããŠãã®ã»ã°ã¡ã³ãã«ãã©ãã£ãã¯ãéä¿¡ããªãã§ãã ããã
ãã®ã¿ã°ã¯ãã·ã³ã°ã«ã¢ã¯ãã£ãã¹ã¯ãªããã§éç¥ã§ããŸãããã®å Žåããã«ãããŒã PEã«ã¡ã©ã§ãã©ãã£ãã¯ã®ãã©ã³ã¹ãåãããã«äœ¿çšãããã®ã§ã¯ãªããã¡ã€ã³ã·ã§ã«ããŒãèœã¡ããšãã«èªåçã«ã¢ã¯ãã£ãã«ãªã転éããŒãã«ãžã®ããã¯ã¢ãããã¹ãèšå®ããããã«äœ¿çšãããŸãã
EVPNã«MC-LAGãå¿ èŠã§ããïŒ
LAGã䜿çšããŠãã«ãããŒã CEãPEã«ã¡ã©ã«æ¥ç¶ããã¹ããŒã ãæ€èšããŸãããããã«ãPEã«ãŒã¿ãŒã®å Žåãããã«ã«è¿œå ãããç©çã€ã³ã¿ãŒãã§ã€ã¹ã¯1ã€ã ãã§ãããCEåŽããã¯1ã€ã®LAGãããããã®ã€ã³ã¿ãŒãã§ã€ã¹ã¯äž¡æ¹ã®PEã·ã§ã¯ã®åŽé¢ã«è¿œå ãããŸããã€ãŸããäœããã®çš®é¡ã®MC-LAGãšãã¥ã¬ãŒã·ã§ã³ãã¹ã€ããã¯åããããã€ããŒããŒãã«æ¥ç¶ãããŠãããšå€æãããã³ãã«ã®äž¡æ¹ã®ã¡ã³ããŒã®ãã©ãã£ãã¯ãåæ£ããŸããèšå®ã®èŠ³ç¹ããã¯ã次ã®ããã«ãªããŸã
ãRZN-SW-1ã®åŽããã1ã€ã®LAGã€ã³ã¿ãŒãã§ã€ã¹ãèšå®ããŸãã
bormoglotx@RZN-SW-1> show configuration interfaces ae0 description "LAG to RZN-PE-1/2 | ae0<<>>ae3"; flexible-vlan-tagging; mtu 1600; encapsulation flexible-ethernet-services; aggregated-ether-options { lacp { active; periodic fast;
äž¡æ¹ã®PEã«ãŒã¿ãŒãžã®ãªã³ã¯ãè¿œå ãããŸãã
bormoglotx@RZN-SW-1> show configuration interfaces ge-0/0/0 description "RZN-PE-1 | ae1<<>>ae3"; gigether-options { 802.3ad ae0; } bormoglotx@RZN-SW-1> show configuration interfaces ge-0/0/1 description "RZN-PE-2 | ae2<<>>ae3"; gigether-options { 802.3ad ae0; }
PEã«ãŒã¿ãŒåŽã§ã¯ããã®ãããªã·ããªãªã§MC-LAGãæ§æããå¿ èŠããããŸãããEVPN / MPLSãªãã§è¡ããŸããPEã§ã¯ãCEãžã®LAGãåéããCEãžã®PEã·ã§ãã¯ã®MACã¢ãã¬ã¹ãåãã«ãªãããã«åãã·ã¹ãã IDãæå®ããŸãïŒããã§ãªãå ŽåãCEã¹ã€ããã¯MACãã©ããã³ã°ãæ€åºããŸãïŒã
bormoglotx@RZN-PE-1> show configuration interfaces ae3 description "RZN-SW-1 | ge-0/0/0 | ae3<<>>ae0 "; flexible-vlan-tagging; mtu 1600; encapsulation flexible-ethernet-services; esi { 00:00:00:00:00:00:00:00:00:01; all-active; } aggregated-ether-options { lacp { active; periodic fast; system-id 02:00:00:00:00:01;
bormoglotx@RZN-PE-2> show configuration interfaces ae3 description "RZN-SW-1 | ae3<<>>ae0 | MC-LAG with RZN-PE-2"; flexible-vlan-tagging; mtu 1600; encapsulation flexible-ethernet-services; esi { 00:00:00:00:00:00:00:00:00:01; all-active; } aggregated-ether-options { lacp { active; periodic fast; system-id 02:00:00:00:00:01;
ããã§ããã³ãã«ã®ã¹ããŒã¿ã¹ã確èªã§ããŸãã
RZN-SW-1ã®åŽé¢ããïŒ
bormoglotx@RZN-SW-1> show lacp interfaces ae0 Aggregated interface: ae0 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/0 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/0 Partner No No Yes Yes Yes Yes Fast Active ge-0/0/1 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/1 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/0 Current Fast periodic Collecting distributing ge-0/0/1 Current Fast periodic Collecting distributing
PEã«ãŒã¿ãŒã®åŽé¢ããïŒ
bormoglotx@RZN-PE-1> show lacp interfaces ae3 Aggregated interface: ae3 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/4 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/4 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/4 Current Fast periodic Collecting distributing
bormoglotx@RZN-PE-2> show lacp interfaces ae3 Aggregated interface: ae3 LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity ge-0/0/4 Actor No No Yes Yes Yes Yes Fast Active ge-0/0/4 Partner No No Yes Yes Yes Yes Fast Active LACP protocol: Receive State Transmit State Mux State ge-0/0/4 Current Fast periodic Collecting distributing
PEã«ãŒã¿ãŒåŽã«ã¯åçŽã«ç©çã€ã³ã¿ãŒãã§ã€ã¹ããããŸãããCEåŽã«ã¯åçŽãªéçLAGïŒLACPãªãïŒãååšããå¯èœæ§ããããŸãã
2çªç®ã®æ¥ç¶ãªãã·ã§ã³ã¯ããã¹ãŠã®çµæïŒICCPãICLïŒã䌎ãæšæºMC-LAGãä»ãããã®ã§ããæåã®ãªãã·ã§ã³ã2çªç®ã®ãªãã·ã§ã³ãããã¯ããã«åçŽã§ããããšãåŠå®ããããšã¯å°é£ã§ãããŸããMC-LAGãä»ã®ãµãŒãã¹çšã«äžå¯æ¬ ã§ãããããã§ã«æ§æãããŠããå Žåãé€ããç¹ã«ããã¹ãŠã¢ã¯ãã£ãã¢ãŒãã®MC-LAGã«ãICLãå¿ èŠãªå Žåã¯ãå人çã«EVPN / MPLSããã³MC-LAGã䜿çšããçç±ã¯ãããŸããä»ãããç ŽãïŒã
MC-LAGã䜿çšããEVPNã®å©ç¹ã«ã¯ãEVPNã«å ããŠããã®ãžã£ã³ã¯ã·ã§ã³ã§åé·æ§ãåããä»ã®ãµãŒãã¹ãå®è£ ã§ãããšããäºå®ãå«ãŸããŸãïŒããšãã°ãããã¯ã¢ãããµã€ããåããVPLSãŸãã¯ããã¯ã¢ãããã€ããŒãåããL2CKT-ãã¹ãŠã®ããŒããŠã§ã¢ãEVPNããµããŒãããŠããããã§ã¯ãããŸããïŒããã ãããã€ãã¹ã®ç¹ã§ã¯ãéåžžãMC-LAGã¯2ã€ã®ãã¥ãŒãã«å¶éãããŠããããšãåºå¥ã§ããŸãïŒEVPNãã«ãããŒãã³ã°ã¯ãã¢ã¯ãã£ã/ã¢ã¯ãã£ãã¢ãŒãã§2ã€ä»¥äžã®PEã·ã§ãã¯ããµããŒãããŸãïŒã PEéã®ãªã³ã¯ã®å¿ èŠæ§ããã¯ãããžãŒèªäœïŒMC-LAGãæå³ããïŒã®åŠ¥åœæ§ããããŠããããæ§æã®å¢å åããã€ãã¹ãšããŠè¿œå ã§ããŸãã
ãã®çµæãEVPNã«ã¯å®å šãªãã«ãããŒãã³ã°æ©èœãå«ãŸããŠãããVPLSã®å¶éãåé¿ããããšãã§ããŸããEVPN Active-Activeãã«ãããŒãã³ã°ã®å¯äžã®åé¡ã¯ãã¯ã©ã€ã¢ã³ãããã®ãã©ãã£ãã¯ã®ã·ã§ãŒãã³ã°ã«é¢ããåé¡ã§ããã¯ã©ã€ã¢ã³ãã100Mbpsã§ãã³ããè³Œå ¥ããã€ã³ã¿ãŒãã§ã€ã¹ã«50Mbosãèšå®ããå Žåãéåžžã®æäœäžã«å¿ èŠãªåèšãã³ããååŸããŸãããè©ã®1ã€ãå€ãããšããã«ãã¯ã©ã€ã¢ã³ãã¯2åã®é床ãåãã®ã§ããªãã«äžå¹³ãèšãæš©å©ããããŸãåãããããActive-Activeã䜿çšããL2VPNãã«ãããŒãã³ã°ã顧客ãèŠæ±ããé »åºŠã¯ã©ããããã§ããïŒ
ããããããã®èšäºã§èª¬æãããã£ãã®ã¯ããã ãã§ãã
ãæž èŽããããšãããããŸããã