{"id":334534,"date":"2022-06-15T15:00:52","date_gmt":"2022-06-15T15:00:52","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=334534"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=334534","title":{"rendered":"<span>\u0412\u044b\u0431\u043e\u0440 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u0443\u0442\u0438 \u043f\u043e \u0432\u0435\u0440\u0441\u0438\u0438 BGP \u0432 L3VPN: \u0441\u043a\u0440\u044b\u0442\u044b\u0439 \u043d\u044e\u0430\u043d\u0441<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u044c \u0440\u0430\u0437 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b\u0438 MPLS L3VPN, \u0442\u043e \u0443 \u0432\u0430\u0441 \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u0435\u0441\u044c \u043f\u043e\u0434\u0445\u043e\u0434 \u0432\u0435\u0440\u0442\u0438\u0442\u0441\u044f \u0432\u043e\u043a\u0440\u0443\u0433 BGP. \u0411\u0443\u0434\u0443\u0447\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 \u0440\u0430\u0437\u0432\u0438\u0442\u044b\u043c \u0447\u0443\u0432\u0441\u0442\u0432\u043e\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u043e\u0438\u043d\u0441\u0442\u0432\u0430 (\u0432 \u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u043d\u0446\u043e\u0432, \u043e\u043d \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0441\u043d\u043e\u0432\u043e\u0439 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430), BGP \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043b\u0435\u0436\u0438\u0442 \u0432 \u043e\u0441\u043d\u043e\u0432\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0432\u044b\u0431\u043e\u0440\u0430 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043d\u0435\u043f\u0440\u0438\u043b\u0438\u0447\u043d\u0443\u044e \u0434\u043b\u0438\u043d\u0443 \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430, \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430, \u0430 \u043d\u0435 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u0440\u0430\u0444\u0438\u043a\u043e\u043c \u0440\u0443\u043a\u0430\u043c\u0438 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0438\u043d\u043e\u0433\u0434\u0430 \u0434\u0430\u0436\u0435 \u0441\u0430\u043c\u044b\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435 EIGRP \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 L3VPN, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044d\u0442\u043e \u043d\u0430\u0448 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u043f\u0430\u0446\u0438\u0435\u043d\u0442.<\/p>\n<p>\u0421\u0435\u0441\u0442\u0440\u0430, \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u044e:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d24\/638\/7ba\/d246387baf17e230323b0e3d8f097bc5.png\" width=\"879\" height=\"406\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d24\/638\/7ba\/d246387baf17e230323b0e3d8f097bc5.png\"\/><figcaption><\/figcaption><\/figure>\n<p>R1-R3 \u2013 \u044d\u0442\u043e PE-\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0432 \u044f\u0434\u0440\u0435 OSPF \u043d\u0430\u0440\u044f\u0434\u0443 \u0441 LDP. \u041e\u043d\u0438 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0442 \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430\u043c\u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u043d\u044b\u0445 IGP:  R1\u2194R4 \u2261 OSPF, R2\u2194R5 \u2261 EIGRP, R3\u2194R6 \u2261 eBGP. \u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 CE, R4-R6, \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u043c \u0438 \u0442\u043e\u043c \u0436\u0435 VRF. R4 \u0438 R5 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 R6 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0435\u043a\u043e\u0435\u043c\u0443 \u0441\u0435\u0440\u0432\u0438\u0441\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 8.8.8.8\/32.<\/p>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 R1 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0431\u0440\u0430\u0437\u0446\u0430:<\/p>\n<pre><code class=\"xml\">R1(config)#vrf definition A R1(config-vrf)# rd 1:1 R1(config-vrf)# route-target export 1:1 R1(config-vrf)# route-target import 1:1 R1(config-vrf)# address-family ipv4 R1(config)#interface Loopback0 R1(config-if)# ip address 1.1.1.1 255.255.255.255 R1(config)#interface FastEthernet0\/0 R1(config-if)# vrf forwarding A R1(config-if)# ip address 192.168.14.1 255.255.255.0         R1(config)#interface FastEthernet1\/0 R1(config-if)# ip address 192.168.13.1 255.255.255.0 R1(config)#interface FastEthernet1\/1 R1(config-if)# ip address 192.168.12.1 255.255.255.0 R1(config)#router ospf 2 vrf A R1(config-router)# redistribute bgp 123 subnets R1(config-router)# network 0.0.0.0 255.255.255.255 area 0 R1(config)#router ospf 1 R1(config-router)# mpls ldp autoconfig R1(config-router)# router-id 1.1.1.1 R1(config-router)# network 0.0.0.0 255.255.255.255 area 0 R1(config)#router bgp 123 R1(config-router)# bgp router-id 1.1.1.1 R1(config-router)# no bgp default ipv4-unicast R1(config-router)# neighbor L3VPN peer-group R1(config-router)# neighbor L3VPN remote-as 123 R1(config-router)# neighbor L3VPN update-source Loopback0 R1(config-router)# neighbor 2.2.2.2 peer-group L3VPN R1(config-router)# neighbor 3.3.3.3 peer-group L3VPN R1(config-router)# address-family vpnv4 R1(config-router-af)#  neighbor L3VPN send-community both R1(config-router-af)#  neighbor 2.2.2.2 activate R1(config-router-af)#  neighbor 3.3.3.3 activate R1(config-router-af)# exit-address-family R1(config-router)# address-family ipv4 vrf A R1(config-router-af)#  redistribute ospf 2<\/code><\/pre>\n<p>\u041d\u0430 CE-\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u0445 \u0432\u0441\u0451 \u0435\u0449\u0451 \u0430\u0441\u043a\u0435\u0442\u0438\u0447\u043d\u0435\u0435:<\/p>\n<pre><code class=\"xml\">R6(config)#interface Loopback0 R6(config-if)# ip address 6.6.6.6 255.255.255.255 R6(config)#interface FastEthernet0\/0 R6(config-if)# ip address 192.168.36.6 255.255.255.0 R6(config)#router bgp 6 R6(config-router)# bgp router-id 6.6.6.6 R6(config-router)# no bgp default ipv4-unicast R6(config-router)# neighbor 192.168.36.3 remote-as 123 R6(config-router)# address-family ipv4 R6(config-router-af)#  network 6.6.6.6 mask 255.255.255.255 R6(config-router-af)#  neighbor 192.168.36.3 activate<\/code><\/pre>\n<p>\u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b loopback \u044d\u043c\u0443\u043b\u0438\u0440\u0443\u044e\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u043d\u0435\u043a\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430:<\/p>\n<pre><code class=\"xml\">R4(config)#interface Loopback1 R4(config-if)# ip address 8.8.8.8 255.255.255.255<\/code><\/pre>\n<pre><code class=\"xml\">R5(config)#interface Loopback1 R5(config-if)# ip address 8.8.8.8 255.255.255.255<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0435\u0441\u0442\u044c \u043b\u0438 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 R6 \u0438 8.8.8.8:<\/p>\n<pre><code class=\"xml\">R6#ping 8.8.8.8 source loopback 0 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds: Packet sent with a source address of 6.6.6.6  !!!!! Success rate is 100 percent (5\/5), round-trip min\/avg\/max = 52\/60\/80 ms<\/code><\/pre>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u0442\u0430\u043a\u043e\u0439 \u0441\u0445\u0435\u043c\u044b \u2013 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f R6 \u043a 8.8.8.8\/32 \u0447\u0435\u0440\u0435\u0437 R4 \u0438 R5, \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 BGP-\u0441\u0435\u0441\u0441\u0438\u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043c\u0435\u0436\u0434\u0443 PE-\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e. R1 \u0438 R2 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u044b \u043e\u0442 IGP \u043b\u0443\u0447\u0448\u0438\u043c\u0438 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f BGP RIB (\u044d\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b); \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435, R3 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0431\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430, \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043e\u0442 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u0441\u043e\u0441\u0435\u0434\u0435\u0439.<\/p>\n<pre><code class=\"xml\">R3#sho bgp vpnv4 unicast all  BGP table version is 13, local router ID is 3.3.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,                r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,                x best-external, a additional-path, c RIB-compressed,  Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found       Network          Next Hop            Metric LocPrf Weight Path Route Distinguisher: 1:1 (default for vrf A)  *>i 4.4.4.4\/32       1.1.1.1                  2    100      0 ?  *>i 5.5.5.5\/32       2.2.2.2             103040    100      0 ?  *>  6.6.6.6\/32       192.168.36.6             0             0 6 i  *>i 8.8.8.8\/32       2.2.2.2             103040    100      0 ?  *>i 192.168.14.0     1.1.1.1                  0    100      0 ?  *>i 192.168.25.0     2.2.2.2                  0    100      0 ?<\/code><\/pre>\n<p>\u041f\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044e \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432 R3 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u0432\u0443\u0445. \u0412\u043f\u043e\u043b\u043d\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0447\u0442\u043e R1 \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u0441\u043b\u0430\u043b \u043d\u0438\u0447\u0435\u0433\u043e \u043e 8.8.8.8\/32:<\/p>\n<pre><code class=\"xml\">R1#sho bgp vpnv4 unicast all BGP table version is 13, local router ID is 1.1.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,                r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,                x best-external, a additional-path, c RIB-compressed,  Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found       Network          Next Hop            Metric LocPrf Weight Path Route Distinguisher: 1:1 (default for vrf A)  *>  4.4.4.4\/32       192.168.14.4             2         32768 ?  *>i 5.5.5.5\/32       2.2.2.2             103040    100      0 ?  *>i 6.6.6.6\/32       3.3.3.3                  0    100      0 6 i  r>i 8.8.8.8\/32       2.2.2.2             103040    100      0 ?  r                    192.168.14.4             2         32768 ?  *>  192.168.14.0     0.0.0.0                  0         32768 ?  *>i 192.168.25.0     2.2.2.2                  0    100      0 ?<\/code><\/pre>\n<p>R1 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 8.8.8.8\/32, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043e\u0442 R2, \u043b\u0443\u0447\u0448\u0438\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u043c (\u0441\u0438\u043c\u0432\u043e\u043b \u2018>\u2019). \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044d\u0442\u043e\u0442 \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u043f\u043e iBGP, \u043e\u043d \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044b\u0447\u043d\u044b\u043c iBGP-\u0441\u043e\u0441\u0435\u0434\u044f\u043c. \u041f\u043e\u0447\u0435\u043c\u0443 \u0436\u0435 \u0432\u044b\u0431\u043e\u0440 R1 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0439? \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 \u0432\u044b\u0431\u043e\u0440\u0430 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430, \u0442\u043e\u043b\u044c\u043a\u043e weight \u0438 local preference \u0438\u043c\u0435\u044e\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442, \u0447\u0435\u043c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0430. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 weight \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c 32768. \u041f\u043e \u0432\u0441\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a, \u0447\u0442\u043e 8.8.8.8\/32 \u043e\u0442 OSPF \u0434\u043e\u043b\u0436\u0435\u043d \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043e\u0442\u0440\u044b\u0432\u043e\u043c \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043e\u0442 R2. \u0427\u0442\u043e \u0436\u0435 \u043d\u0435 \u0442\u0430\u043a?<\/p>\n<pre><code class=\"xml\">R1#sho bgp vpnv4 unicast all 8.8.8.8\/32 BGP routing table entry for 1:1:8.8.8.8\/32, version 13 Paths: (2 available, best #1, table A, RIB-failure(17) - next-hop mismatch)   Not advertised to any peer   Refresh Epoch 1   Local     2.2.2.2 (metric 2) from 2.2.2.2 (2.2.2.2)       Origin incomplete, metric 103040, localpref 100, valid, internal, best       Extended Community: RT:1:1 Cost:pre-bestpath:128:103040 0x8800:32768:0          0x8801:1:2560 0x8802:65281:25600 0x8803:65281:1500 0x8806:0:134744072       mpls labels in\/out nolabel\/22   Refresh Epoch 1   Local     192.168.14.4 from 0.0.0.0 (1.1.1.1)       Origin incomplete, metric 2, localpref 100, weight 32768, valid, sourced       Extended Community: RT:1:1 OSPF DOMAIN ID:0x0005:0x000000020200          OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:192.168.14.1:0<\/code><\/pre>\n<p>\u0417\u0443\u0431\u0440\u0438\u0442\u044c \u0441\u0443\u0445\u0438\u0435 \u0446\u0438\u0444\u0440\u044b \u2013 \u043a\u0440\u0430\u0439\u043d\u0435 \u043d\u0435\u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0438\u043c\u0435\u0442\u044c \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u0448\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0443 \u0441 \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438 \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c community \u0434\u043b\u044f <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc4577#section-4.2.6\" rel=\"noopener noreferrer nofollow\">OSPF<\/a> \u0438 <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/support\/docs\/multiprotocol-label-switching-mpls\/mpls\/40883-mplsvpneigrp.html\" rel=\"noopener noreferrer nofollow\">EIGRP<\/a>. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0432\u0438\u043d\u043e\u0432\u043d\u0438\u043a \u0442\u043e\u0440\u0436\u0435\u0441\u0442\u0432\u0430 \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u0438\u043c\u0435\u0435\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u2013 <em>Cost:pre-bestpath:128:103040<\/em>.<\/p>\n<p>\u0420\u043e\u043b\u044c cost community \u0432 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u044f\u0445 L3VPN \u0441 EIGRP \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u0440\u043e\u0437\u0430\u0438\u0447\u043d\u0430. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0434\u0432\u0435 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0438, A \u0438 B, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e L3VPN \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u0438 \u0447\u0435\u0440\u0435\u0437 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043f\u0430\u0441\u043d\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430. \u0412 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432 \u043d\u0435\u0434\u0440\u0430\u0445 \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0438-\u0410 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u041f\u0440\u0435\u0444\u0438\u043a\u0441-\u0410, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u043e\u0431\u043e\u0438\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043c. \u0412 \u0442\u0430\u043a\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 race condition:<\/p>\n<ul>\n<li>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u041f\u0440\u0435\u0444\u0438\u043a\u0441\u0435-\u0410 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442 \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0438-\u0412 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0447\u0435\u0440\u0435\u0437 MPLS backbone. PE \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u0432 BGP RIB, \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 EIGRP (\u043f\u043e\u043f\u0443\u0442\u043d\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044f \u043c\u0435\u0442\u0440\u0438\u043a\u0443 \u0438\u0437 community) \u0438 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u0443\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043d\u0430 \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0435-\u0412. \u0412\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u044f \u0438\u043c\u0435\u0435\u0442 \u0445\u0443\u0434\u0448\u0443\u044e \u043c\u0435\u0442\u0440\u0438\u043a\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u0443\u0442\u044c \u0434\u043e \u041f\u0440\u0435\u0444\u0438\u043a\u0441\u0430-\u0410 \u043b\u0435\u0436\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u044f\u0434\u0440\u043e MPLS, \u0447\u0442\u043e \u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c.<\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u041f\u0440\u0435\u0444\u0438\u043a\u0441\u0435-\u0410 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442 \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0438-\u0412 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0447\u0435\u0440\u0435\u0437 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e. \u041f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u0435 \u041f\u0440\u0435\u0444\u0438\u043a\u0441-\u0410 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 BGP RIB \u0447\u0435\u0440\u0435\u0437 EIGRP \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0433\u0434\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b MPLS, \u043e\u043d\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u0442\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0438\u043c \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f BGP. \u041a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435, \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0430-\u0412 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438, \u0447\u0442\u043e \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u043e\u043c\u0443 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044e.<\/p>\n<\/li>\n<\/ul>\n<p>Cost community \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u042d\u0442\u043e\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 BGP \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0435\u0442\u0440\u0438\u043a\u0443 <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/draft-ietf-idr-custom-decision#section-3\" rel=\"noopener noreferrer nofollow\">\u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435<\/a> \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0432\u044b\u0431\u043e\u0440\u0430 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u0443\u0442\u0438 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u2013 \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435). \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 EIGRP \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c cost community, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043a\u0440\u0430\u0442\u0447\u0430\u0439\u0448\u0438\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442.<\/p>\n<p>\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 EIGRP \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 L3VPN, \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u043f\u043e\u0431\u043e\u0447\u043d\u044b\u0439 \u044d\u0444\u0444\u0435\u043a\u0442 \u2013 \u043e\u043d \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0438 \u0432\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0432\u044b\u0431\u043e\u0440\u0430 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u0443\u0442\u0438. \u041a\u0430\u043a \u0432\u044b \u0443\u0436\u0435 \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0438\u0441\u044c, OSPF \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435 \u0432 \u043a\u0443\u0440\u0441\u0435  \u043f\u0440\u043e cost community, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u0435\u0433\u043e \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u043e\u0432 c\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/support\/docs\/ip\/border-gateway-protocol-bgp\/13753-25.html#anc4\" rel=\"noopener noreferrer nofollow\">\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/a>, 0x7FFFFFFF (214748347), \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0442\u0438\u043f\u043e\u0432\u043e\u0439 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 EIGRP.<\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043c\u0435\u0442\u0440\u0438\u043a\u0443 EIGRP \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0430 \u0431\u044b\u043b\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0x7FFFFFFF. \u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u043b\u043e \u0431\u044b \u043b\u0438\u0448\u044c \u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e \u00ab\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u00bb \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0436\u0435 R2 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043b \u0431\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u043e\u0432 OSPF \u0441 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0439 \u043c\u0435\u0442\u0440\u0438\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 EIGRP.  <\/p>\n<p>\u0421\u0430\u043c\u044b\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c, \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 cost community \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u043d\u043e \u0443\u0432\u044b, \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u0422\u043e, \u0447\u0442\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0441\u043c\u0435\u0440\u0442\u043d\u044b\u043c \u2013 \u044d\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c cost community \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430:<\/p>\n<pre><code class=\"xml\">R1(config)#router bgp 123 R1(config-router)#bgp bestpath cost-community ignore <\/code><\/pre>\n<pre><code class=\"xml\">R3#sho bgp vpnv4 unicast all  BGP table version is 26, local router ID is 3.3.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,                r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,                x best-external, a additional-path, c RIB-compressed,  Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found       Network          Next Hop            Metric LocPrf Weight Path Route Distinguisher: 1:1 (default for vrf A)  *>i 4.4.4.4\/32       1.1.1.1                  2    100      0 ?  *>i 5.5.5.5\/32       2.2.2.2             103040    100      0 ?  *>  6.6.6.6\/32       192.168.36.6             0             0 6 i  * i 8.8.8.8\/32       1.1.1.1                  2    100      0 ?  *>i                  2.2.2.2             103040    100      0 ?  *>i 192.168.14.0     1.1.1.1                  0    100      0 ?  *>i 192.168.25.0     2.2.2.2                  0    100      0 ?<\/code><\/pre>\n<p>\u0425\u043e\u0442\u044c \u043d\u0430\u043c \u0438 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u0432\u043b\u0435\u0447\u044c R1 \u043e\u0442 cost community, R3 \u0441\u0442\u0440\u0430\u0434\u0430\u0435\u0442 \u0442\u0435\u043c \u0436\u0435 \u0441\u0430\u043c\u044b\u043c \u043d\u0435\u0434\u0443\u0433\u043e\u043c: \u043c\u0435\u0442\u043e\u0434\u0438\u0447\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u043b\u0443\u0447\u0448\u0438\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043e\u0442 EIGRP, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b.<\/p>\n<pre><code class=\"xml\">R3#sho bgp vpnv4 unicast all  BGP table version is 29, local router ID is 3.3.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,                r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,                x best-external, a additional-path, c RIB-compressed,  Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found       Network          Next Hop            Metric LocPrf Weight Path Route Distinguisher: 1:1 (default for vrf A)  *>i 4.4.4.4\/32       1.1.1.1                  2    100      0 ?  *>i 5.5.5.5\/32       2.2.2.2             103040    100      0 ?  *>  6.6.6.6\/32       192.168.36.6             0             0 6 i  *>i 8.8.8.8\/32       1.1.1.1                  2    100      0 ?  * i                  2.2.2.2             103040    100      0 ?  *>i 192.168.14.0     1.1.1.1                  0    100      0 ?  *>i 192.168.25.0     2.2.2.2                  0    100      0 ?<\/code><\/pre>\n<p>\u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0432\u044b\u0431\u043e\u0440 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u043c \u0432\u0441\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c: \u043c\u0435\u043d\u044c\u0448\u0438\u0439 MED \u0440\u0435\u0448\u0430\u0435\u0442 \u0438\u0441\u0445\u043e\u0434 \u0433\u043e\u043d\u043a\u0438. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u044b\u0439 cost community \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439:<\/p>\n<pre><code class=\"xml\">R2(config)#ip extcommunity-list 100 permit pre-bestpath R2(config)#route-map COSTCOMM R2(config-route-map)#set extcomm-list 100 delete R2(config)#router bgp 123 R2(config-router)#address-family vpnv4 R2(config-router-af)#neighbor L3VPN route-map COSTCOMM out <\/code><\/pre>\n<pre><code class=\"xml\">R2#sho bgp vpnv4 unicast all extcommunity-list 100 BGP table version is 23, local router ID is 2.2.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,                r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,                x best-external, a additional-path, c RIB-compressed,  Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found       Network          Next Hop            Metric LocPrf Weight Path Route Distinguisher: 1:1 (default for vrf A)  *>  5.5.5.5\/32       192.168.25.5        103040         32768 ?  *>  8.8.8.8\/32       192.168.25.5        103040         32768 ?  *>  192.168.25.0     0.0.0.0                  0         32768 ?<\/code><\/pre>\n<pre><code class=\"xml\">R3#sho bgp vpnv4 unicast all 8.8.8.8\/32 BGP routing table entry for 1:1:8.8.8.8\/32, version 46 Paths: (2 available, best #1, table A)   Advertised to update-groups:      1            Refresh Epoch 5   Local     1.1.1.1 (metric 2) from 1.1.1.1 (1.1.1.1)       Origin incomplete, metric 2, localpref 100, valid, internal, best       Extended Community: RT:1:1 OSPF DOMAIN ID:0x0005:0x000000020200          OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:192.168.14.1:0       mpls labels in\/out nolabel\/23   Refresh Epoch 1   Local     2.2.2.2 (metric 2) from 2.2.2.2 (2.2.2.2)       Origin incomplete, metric 103040, localpref 100, valid, internal       Extended Community: RT:1:1 0x8800:32768:0 0x8801:1:2560          0x8802:65281:25600 0x8803:65281:1500 0x8806:0:134744072       mpls labels in\/out nolabel\/23<\/code><\/pre>\n<p>\u0426\u0435\u043b\u0438 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u2013 \u043e\u0431\u0441\u0443\u0434\u0438\u0442\u044c cost community \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043f\u0440\u0430\u043a\u0442\u0438\u043a\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0435. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435: \u0432 \u0442\u0435\u0445\u043d\u0438\u043a\u0435 \u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u043d\u0435\u0442 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0432\u043e\u043b\u0448\u0435\u0431\u0441\u0442\u0432\u0430, \u043a\u0440\u043e\u043c\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0430 \u0437\u0430 \u0440\u0435\u0446\u0435\u043d\u0437\u0438\u044e: <strong>\u0410\u043d\u0430\u0441\u0442\u0430\u0441\u0438\u0438 \u041a\u0443\u0440\u0430\u043b\u0451\u0432\u043e\u0439.<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/671288\/\"> https:\/\/habr.com\/ru\/post\/671288\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u044c \u0440\u0430\u0437 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b\u0438 MPLS L3VPN, \u0442\u043e \u0443 \u0432\u0430\u0441 \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u0435\u0441\u044c \u043f\u043e\u0434\u0445\u043e\u0434 \u0432\u0435\u0440\u0442\u0438\u0442\u0441\u044f \u0432\u043e\u043a\u0440\u0443\u0433 BGP. \u0411\u0443\u0434\u0443\u0447\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 \u0440\u0430\u0437\u0432\u0438\u0442\u044b\u043c \u0447\u0443\u0432\u0441\u0442\u0432\u043e\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u043e\u0438\u043d\u0441\u0442\u0432\u0430 (\u0432 \u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u043d\u0446\u043e\u0432, \u043e\u043d \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0441\u043d\u043e\u0432\u043e\u0439 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430), BGP \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043b\u0435\u0436\u0438\u0442 \u0432 \u043e\u0441\u043d\u043e\u0432\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0432\u044b\u0431\u043e\u0440\u0430 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043d\u0435\u043f\u0440\u0438\u043b\u0438\u0447\u043d\u0443\u044e \u0434\u043b\u0438\u043d\u0443 \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430, \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430, \u0430 \u043d\u0435 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u0440\u0430\u0444\u0438\u043a\u043e\u043c \u0440\u0443\u043a\u0430\u043c\u0438 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0438\u043d\u043e\u0433\u0434\u0430 \u0434\u0430\u0436\u0435 \u0441\u0430\u043c\u044b\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435 EIGRP \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 L3VPN, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044d\u0442\u043e \u043d\u0430\u0448 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u043f\u0430\u0446\u0438\u0435\u043d\u0442.<\/p>\n<p>\u0421\u0435\u0441\u0442\u0440\u0430, \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u044e:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>R1-R3 \u2013 \u044d\u0442\u043e PE-\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0432 \u044f\u0434\u0440\u0435 OSPF \u043d\u0430\u0440\u044f\u0434\u0443 \u0441 LDP. \u041e\u043d\u0438 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0442 \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430\u043c\u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0440\u0430\u0437\u043d\u044b\u0445 IGP:  R1\u2194R4 \u2261 OSPF, R2\u2194R5 \u2261 EIGRP, R3\u2194R6 \u2261 eBGP. \u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 CE, R4-R6, \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u043c \u0438 \u0442\u043e\u043c \u0436\u0435 VRF. R4 \u0438 R5 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 R6 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0435\u043a\u043e\u0435\u043c\u0443 \u0441\u0435\u0440\u0432\u0438\u0441\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 8.8.8.8\/32.<\/p>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 R1 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0431\u0440\u0430\u0437\u0446\u0430:<\/p>\n<pre><code class=\"xml\">R1(config)#vrf definition A R1(config-vrf)# rd 1:1 R1(config-vrf)# route-target export 1:1 R1(config-vrf)# route-target import 1:1 R1(config-vrf)# address-family ipv4 R1(config)#interface Loopback0 R1(config-if)# ip address 1.1.1.1 255.255.255.255 R1(config)#interface FastEthernet0\/0 R1(config-if)# vrf forwarding A R1(config-if)# ip address 192.168.14.1 255.255.255.0         R1(config)#interface FastEthernet1\/0 R1(config-if)# ip address 192.168.13.1 255.255.255.0 R1(config)#interface FastEthernet1\/1 R1(config-if)# ip address 192.168.12.1 255.255.255.0 R1(config)#router ospf 2 vrf A R1(config-router)# redistribute bgp 123 subnets R1(config-router)# network 0.0.0.0 255.255.255.255 area 0 R1(config)#router ospf 1 R1(config-router)# mpls ldp autoconfig R1(config-router)# router-id 1.1.1.1 R1(config-router)# network 0.0.0.0 255.255.255.255 area 0 R1(config)#router bgp 123 R1(config-router)# bgp router-id 1.1.1.1 R1(config-router)# no bgp default ipv4-unicast R1(config-router)# neighbor L3VPN peer-group R1(config-router)# neighbor L3VPN remote-as 123 R1(config-router)# neighbor L3VPN update-source Loopback0 R1(config-router)# neighbor 2.2.2.2 peer-group L3VPN R1(config-router)# neighbor 3.3.3.3 peer-group L3VPN R1(config-router)# address-family vpnv4 R1(config-router-af)#  neighbor L3VPN send-community both R1(config-router-af)#  neighbor 2.2.2.2 activate R1(config-router-af)#  neighbor 3.3.3.3 activate R1(config-router-af)# exit-address-family R1(config-router)# address-family ipv4 vrf A R1(config-router-af)#  redistribute ospf 2<\/code><\/pre>\n<p>\u041d\u0430 CE-\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u0445 \u0432\u0441\u0451 \u0435\u0449\u0451 \u0430\u0441\u043a\u0435\u0442\u0438\u0447\u043d\u0435\u0435:<\/p>\n<pre><code class=\"xml\">R6(config)#interface Loopback0 R6(config-if)# ip address 6.6.6.6 255.255.255.255 R6(config)#interface FastEthernet0\/0 R6(config-if)# ip address 192.168.36.6 255.255.255.0 R6(config)#router bgp 6 R6(config-router)# bgp router-id 6.6.6.6 R6(config-router)# no bgp default ipv4-unicast R6(config-router)# neighbor 192.168.36.3 remote-as 123 R6(config-router)# address-family ipv4 R6(config-router-af)#  network 6.6.6.6 mask 255.255.255.255 R6(config-router-af)#  neighbor 192.168.36.3 activate<\/code><\/pre>\n<p>\u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b loopback \u044d\u043c\u0443\u043b\u0438\u0440\u0443\u044e\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u043d\u0435\u043a\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430:<\/p>\n<pre><code class=\"xml\">R4(config)#interface Loopback1 R4(config-if)# ip address 8.8.8.8 255.255.255.255<\/code><\/pre>\n<pre><code class=\"xml\">R5(config)#interface Loopback1 R5(config-if)# ip address 8.8.8.8 255.255.255.255<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0435\u0441\u0442\u044c \u043b\u0438 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0441\u0432\u044f\u0437\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 R6 \u0438 8.8.8.8:<\/p>\n<pre><code class=\"xml\">R6#ping 8.8.8.8 source loopback 0 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds: Packet sent with a source address of 6.6.6.6  !!!!! Success rate is 100 percent (5\/5), round-trip min\/avg\/max = 52\/60\/80 ms<\/code><\/pre>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u0442\u0430\u043a\u043e\u0439 \u0441\u0445\u0435\u043c\u044b \u2013 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f R6 \u043a 8.8.8.8\/32 \u0447\u0435\u0440\u0435\u0437 R4 \u0438 R5, \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 BGP-\u0441\u0435\u0441\u0441\u0438\u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043c\u0435\u0436\u0434\u0443 PE-\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e. R1 \u0438 R2 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u044b \u043e\u0442 IGP \u043b\u0443\u0447\u0448\u0438\u043c\u0438 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f BGP RIB (\u044d\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b); \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435, R3 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0431\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430, \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043e\u0442 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u0441\u043e\u0441\u0435\u0434\u0435\u0439.<\/p>\n<pre><code class=\"xml\">R3#sho bgp vpnv4 unicast all  BGP table version is 13, local router ID is 3.3.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,                r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,                x best-external, a additional-path, c RIB-compressed,  Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found       Network          Next Hop            Metric LocPrf Weight Path Route Distinguisher: 1:1 (default for vrf A)  *>i 4.4.4.4\/32       1.1.1.1                  2    100      0 ?  *>i 5.5.5.5\/32       2.2.2.2             103040    100      0 ?  *>  6.6.6.6\/32       192.168.36.6             0             0 6 i  *>i 8.8.8.8\/32       2.2.2.2             103040    100      0 ?  *>i 192.168.14.0     1.1.1.1                  0    100      0 ?  *>i 192.168.25.0     2.2.2.2                  0    100      0 ?<\/code><\/pre>\n<p>\u041f\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044e \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432 R3 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u0432\u0443\u0445. \u0412\u043f\u043e\u043b\u043d\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0447\u0442\u043e R1 \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u0441\u043b\u0430\u043b \u043d\u0438\u0447\u0435\u0433\u043e \u043e 8.8.8.8\/32:<\/p>\n<pre><code class=\"xml\">R1#sho bgp vpnv4 unicast all BGP table version is 13, local router ID is 1.1.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,                r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,                x best-external, a additional-path, c RIB-compressed,  Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found       Network          Next Hop            Metric LocPrf Weight Path Route Distinguisher: 1:1 (default for vrf A)  *>  4.4.4.4\/32       192.168.14.4             2         32768 ?  *>i 5.5.5.5\/32       2.2.2.2             103040    100      0 ?  *>i 6.6.6.6\/32       3.3.3.3                  0    100      0 6 i  r>i 8.8.8.8\/32       2.2.2.2             103040    100      0 ?  r                    192.168.14.4             2         32768 ?  *>  192.168.14.0     0.0.0.0                  0         32768 ?  *>i 192.168.25.0     2.2.2.2                  0    100      0 ?<\/code><\/pre>\n<p>R1 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 8.8.8.8\/32, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043e\u0442 R2, \u043b\u0443\u0447\u0448\u0438\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u043c (\u0441\u0438\u043c\u0432\u043e\u043b \u2018>\u2019). \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044d\u0442\u043e\u0442 \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u043f\u043e iBGP, \u043e\u043d \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044b\u0447\u043d\u044b\u043c iBGP-\u0441\u043e\u0441\u0435\u0434\u044f\u043c. \u041f\u043e\u0447\u0435\u043c\u0443 \u0436\u0435 \u0432\u044b\u0431\u043e\u0440 R1 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0439? \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 \u0432\u044b\u0431\u043e\u0440\u0430 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430, \u0442\u043e\u043b\u044c\u043a\u043e weight \u0438 local preference \u0438\u043c\u0435\u044e\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442, \u0447\u0435\u043c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0430. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 weight \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c 32768. \u041f\u043e \u0432\u0441\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a, \u0447\u0442\u043e 8.8.8.8\/32 \u043e\u0442 OSPF \u0434\u043e\u043b\u0436\u0435\u043d \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043e\u0442\u0440\u044b\u0432\u043e\u043c \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043e\u0442 R2. \u0427\u0442\u043e \u0436\u0435 \u043d\u0435 \u0442\u0430\u043a?<\/p>\n<pre><code class=\"xml\">R1#sho bgp vpnv4 unicast all 8.8.8.8\/32 BGP routing table entry for 1:1:8.8.8.8\/32, version 13 Paths: (2 available, best #1, table A, RIB-failure(17) - next-hop mismatch)   Not advertised to any peer   Refresh Epoch 1   Local     2.2.2.2 (metric 2) from 2.2.2.2 (2.2.2.2)       Origin incomplete, metric 103040, localpref 100, valid, internal, best       Extended Community: RT:1:1 Cost:pre-bestpath:128:103040 0x8800:32768:0          0x8801:1:2560 0x8802:65281:25600 0x8803:65281:1500 0x8806:0:134744072       mpls labels in\/out nolabel\/22   Refresh Epoch 1   Local     192.168.14.4 from 0.0.0.0 (1.1.1.1)       Origin incomplete, metric 2, localpref 100, weight 32768, valid, sourced       Extended Community: RT:1:1 OSPF DOMAIN ID:0x0005:0x000000020200          OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:192.168.14.1:0<\/code><\/pre>\n<p>\u0417\u0443\u0431\u0440\u0438\u0442\u044c \u0441\u0443\u0445\u0438\u0435 \u0446\u0438\u0444\u0440\u044b \u2013 \u043a\u0440\u0430\u0439\u043d\u0435 \u043d\u0435\u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0438\u043c\u0435\u0442\u044c \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u0448\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0443 \u0441 \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438 \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c community \u0434\u043b\u044f <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc4577#section-4.2.6\" rel=\"noopener noreferrer nofollow\">OSPF<\/a> \u0438 <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/support\/docs\/multiprotocol-label-switching-mpls\/mpls\/40883-mplsvpneigrp.html\" rel=\"noopener noreferrer nofollow\">EIGRP<\/a>. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0432\u0438\u043d\u043e\u0432\u043d\u0438\u043a \u0442\u043e\u0440\u0436\u0435\u0441\u0442\u0432\u0430 \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u0438\u043c\u0435\u0435\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0432\u044b\u0440\u0430\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u2013 <em>Cost:pre-bestpath:128:103040<\/em>.<\/p>\n<p>\u0420\u043e\u043b\u044c cost community \u0432 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u044f\u0445 L3VPN \u0441 EIGRP \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u0440\u043e\u0437\u0430\u0438\u0447\u043d\u0430. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0434\u0432\u0435 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0438, A \u0438 B, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e L3VPN \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u0438 \u0447\u0435\u0440\u0435\u0437 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043f\u0430\u0441\u043d\u043e\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430. \u0412 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432 \u043d\u0435\u0434\u0440\u0430\u0445 \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0438-\u0410 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u041f\u0440\u0435\u0444\u0438\u043a\u0441-\u0410, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u043e\u0431\u043e\u0438\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043c. \u0412 \u0442\u0430\u043a\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 race condition:<\/p>\n<ul>\n<li>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u041f\u0440\u0435\u0444\u0438\u043a\u0441\u0435-\u0410 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442 \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0438-\u0412 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0447\u0435\u0440\u0435\u0437 MPLS backbone. PE \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u0432 BGP RIB, \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 EIGRP (\u043f\u043e\u043f\u0443\u0442\u043d\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044f \u043c\u0435\u0442\u0440\u0438\u043a\u0443 \u0438\u0437 community) \u0438 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u0443\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043d\u0430 \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0435-\u0412. \u0412\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u044f \u0438\u043c\u0435\u0435\u0442 \u0445\u0443\u0434\u0448\u0443\u044e \u043c\u0435\u0442\u0440\u0438\u043a\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u0443\u0442\u044c \u0434\u043e \u041f\u0440\u0435\u0444\u0438\u043a\u0441\u0430-\u0410 \u043b\u0435\u0436\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u044f\u0434\u0440\u043e MPLS, \u0447\u0442\u043e \u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c.<\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u041f\u0440\u0435\u0444\u0438\u043a\u0441\u0435-\u0410 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442 \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0438-\u0412 \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0447\u0435\u0440\u0435\u0437 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e. \u041f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u0435 \u041f\u0440\u0435\u0444\u0438\u043a\u0441-\u0410 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 BGP RIB \u0447\u0435\u0440\u0435\u0437 EIGRP \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0433\u0434\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b MPLS, \u043e\u043d\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u0442\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0438\u043c \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f BGP. \u041a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435, \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0430-\u0412 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438, \u0447\u0442\u043e \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u043e\u043c\u0443 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044e.<\/p>\n<\/li>\n<\/ul>\n<p>Cost community \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u042d\u0442\u043e\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 BGP \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0435\u0442\u0440\u0438\u043a\u0443 <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/draft-ietf-idr-custom-decision#section-3\" rel=\"noopener noreferrer nofollow\">\u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435<\/a> \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0432\u044b\u0431\u043e\u0440\u0430 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u0443\u0442\u0438 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u2013 \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435). \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 EIGRP \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c cost community, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043a\u0440\u0430\u0442\u0447\u0430\u0439\u0448\u0438\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442.<\/p>\n<p>\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 EIGRP \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 L3VPN, \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u043f\u043e\u0431\u043e\u0447\u043d\u044b\u0439 \u044d\u0444\u0444\u0435\u043a\u0442 \u2013 \u043e\u043d \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0438 \u0432\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0432\u044b\u0431\u043e\u0440\u0430 \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u0443\u0442\u0438. \u041a\u0430\u043a \u0432\u044b \u0443\u0436\u0435 \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0438\u0441\u044c, OSPF \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435 \u0432 \u043a\u0443\u0440\u0441\u0435  \u043f\u0440\u043e cost community, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u0435\u0433\u043e \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u043e\u0432 c\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/support\/docs\/ip\/border-gateway-protocol-bgp\/13753-25.html#anc4\" rel=\"noopener noreferrer nofollow\">\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/a>, 0x7FFFFFFF (214748347), \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0442\u0438\u043f\u043e\u0432\u043e\u0439 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 EIGRP.<\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043c\u0435\u0442\u0440\u0438\u043a\u0443 EIGRP \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0430 \u0431\u044b\u043b\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0x7FFFFFFF. \u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u043b\u043e \u0431\u044b \u043b\u0438\u0448\u044c \u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e \u00ab\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u00bb \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0436\u0435 R2 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043b \u0431\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u043e\u0432 OSPF \u0441 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0439 \u043c\u0435\u0442\u0440\u0438\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 EIGRP.  <\/p>\n<p>\u0421\u0430\u043c\u044b\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c, \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c <\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-334534","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/334534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=334534"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/334534\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=334534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=334534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=334534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}