для Cisco Cisco Tunnel Terminating Gateway (TTG)
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
BGP MPLS VPNs
▀ ASR 5x00 as a PE
▄ ASR 5500 System Administration Guide, StarOS Release 16
274
Figure 17. Sample Configuration
mpls ip
protocol ldp
enable
exit
exit
ip vrf vrf1
mpls traffic-class copy
exit
ip vrf vrf2
mpls traffic-class value 5
exit
router bgp 300
ip vrf vrf1
route-target export 300 1
route-target import 300 1
route-distinguisher 300 1
exit
ip vrf vrf2
route-target export 300 2
route-target import 300 2
route-distinguisher 300 2
exit
router-id 2.2.2.2
neighbor 192.168.107.20 remote-as 300
neighbor 192.168.107.20 update-source node1_loopback
address-family vpnv4
neighbor 192.168.107.20 activate
neighbor 192.168.107.20 send-community both
neighbor 192.168.107.20 next-hop-self
exit
address-family ipv4 vrf vrf1
redistribute connected
protocol ldp
enable
exit
exit
ip vrf vrf1
mpls traffic-class copy
exit
ip vrf vrf2
mpls traffic-class value 5
exit
router bgp 300
ip vrf vrf1
route-target export 300 1
route-target import 300 1
route-distinguisher 300 1
exit
ip vrf vrf2
route-target export 300 2
route-target import 300 2
route-distinguisher 300 2
exit
router-id 2.2.2.2
neighbor 192.168.107.20 remote-as 300
neighbor 192.168.107.20 update-source node1_loopback
address-family vpnv4
neighbor 192.168.107.20 activate
neighbor 192.168.107.20 send-community both
neighbor 192.168.107.20 next-hop-self
exit
address-family ipv4 vrf vrf1
redistribute connected