Multi-Protocol Label Switching (MPLS) Support
Configuring BGP/MPLS VPN with Static Labels ▀
Cisco ASR 5x00 Packet Data Network Gateway Administration Guide ▄
423
router bgp
<
as_number
>
ip vrf
<
vrf_name
>
route-distinguisher
{<
as_value
> | <
ip_address
>} <
rt_value
>
route-target export
{<
as_value
> | <
ip_address
>} <
rt_value
>
end
Set Neighbors and Enable VPNv4 Route Exchange
Use this example to set the neighbors and address family to exchange VPNv4 routing information with a peer router.
configure
context
<
context_name
>
router bgp
<
as_number
>
neighbor
<
ip_address
>
remote-as
<
AS_num
>
address-family
vpnv4
neighbor
<
ip_address
>
activate
neighbor
<
ip_address
>
send-community both
exit
interface
<
bind_intfc_name
>
ip address
<
ip_addr_mask_combo
>
end
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