▀ Configuring BGP/MPLS VPN with Dynamic Labels
Configure Address Family and Redistributed Connected Routes
Use this example to configure the
This takes any routes from another protocol and redistributes them using the BGP protocol.
configure
context <context_name>
Configure IP Pools with MPLS Labels
Use this example to configure IP Pools with dynamic MPLS labels.
configure
context <context_name> -noconfirm
Bind DHCP Service for Corporate Servers
Use this example to bind DHCP service with dynamic MPLS labels in Corporate network.
configure
context <dest_ctxt_name>
▄ Cisco ASR 5x00 Packet Data Network Gateway Administration Guide
428
address-family
router bgp <as_number>
address-family ipv4 <type> vrf <vrf_name>
redistribute connected
end
ip pool <name> <ip_addr_mask_combo> private vrf <vrf_name>
end
interface <intfc_name> loopback
ip vrf forwarding <vrf_name>
ip address <bind_ip_address subnet_mask>
exit
dhcp-service <dhcp_svc_name>
dhcp ip vrf <vrf_name>
bind address <bind_ip_address>
dhcp server <ip_address>
and to
the connected routes or IP pools into BGP.
redistribute
Multi-Protocol Label Switching (MPLS) Support