Multi-Protocol Label Switching (MPLS) Support
▀ Configuring BGP/MPLS VPN with Dynamic Labels
▄ Cisco ASR 5x00 Packet Data Network Gateway Administration Guide
428
Configure Address Family and Redistributed Connected Routes
Use this example to configure the
address-family
and to
redistribute
the connected routes or IP pools into BGP.
This takes any routes from another protocol and redistributes them using the BGP protocol.
configure
context
<
context_name
>
router bgp
<
as_number
>
address-family ipv4
<
type
>
vrf
<
vrf_name
>
redistribute connected
end
Configure IP Pools with MPLS Labels
Use this example to configure IP Pools with dynamic MPLS labels.
configure
context
<
context_name
>
-noconfirm
ip pool
<
name
> <
ip_addr_mask_combo
>
private vrf
<
vrf_name
>
end
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
>
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
>