
LDP. The ASR 5x00 forwards the packets to the next-hop with two labels
–
an inner label learned from PE
and an outer label learned from the next hop IBGP neighbor.
Figure 21: 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
exit
address-family ipv4 vrf vrf2
redistribute connected
exit
interface interface_to_internet
ip address 192.168.109.65/24
mpls ip
exit
router ospf
ASR 5000 System Administration Guide, StarOS Release 21.1
292
BGP MPLS VPNs
Sample Configuration
Содержание ASR 5000
Страница 26: ...ASR 5000 System Administration Guide StarOS Release 21 1 xxvi Contents ...
Страница 44: ...ASR 5000 System Administration Guide StarOS Release 21 1 16 System Operation and Configuration Quoted Strings ...
Страница 114: ...ASR 5000 System Administration Guide StarOS Release 21 1 86 Config Mode Lock Mechanisms show administrators Command ...
Страница 184: ...ASR 5000 System Administration Guide StarOS Release 21 1 156 Monitoring the System Monitoring ASR 5000 Hardware Status ...
Страница 308: ...ASR 5000 System Administration Guide StarOS Release 21 1 280 Routing Viewing Routing Information ...
Страница 316: ...ASR 5000 System Administration Guide StarOS Release 21 1 288 VLANs VLAN Related CLI Commands ...
Страница 384: ...ASR 5000 System Administration Guide StarOS Release 21 1 356 Interchassis Session Recovery Fallback Procedure ...
Страница 400: ...ASR 5000 System Administration Guide StarOS Release 21 1 372 Engineering Rules ECMP Groups ...
Страница 426: ...ASR 5000 System Administration Guide StarOS Release 21 1 398 StarOS Tasks Management Processes ...
Страница 466: ...ASR 5000 System Administration Guide StarOS Release 21 1 438 ASR 5000 SDR CLI Strings ASR 5000 SDR CLI Command Strings ...