Cisco Systems 10000 Network Router User Manual


 
3-15
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 3 Configuring Remote Access to MPLS VPN
Configuration Tasks for RA to MPLS VPN
Example 3-3 Configuring MP-BGP
router bgp 100
no synchronization
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.1.1.4 remote-as 100
neighbor 10.1.1.4 update-source Loopback0
neighbor 10.1.1.4 activate
neighbor 10.3.1.4 remote-as 100
neighbor 10.3.1.4 update-source Loopback0
neighbor 10.3.1.4 activate
no auto-summary
!
address-family ipv4 vrf vrf-1
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
Step 6
Router(config-router)# address-family ipv4 vrf
vrf-name
Enters address family configuration mode and configures the
VRF routing table for BGP routing sessions that use standard
IPv4 address prefixes.
The vrf-name argument specifies the name of the virtual
routing and forwarding (VRF) instance to associate with
subsequent IPv4 address family configuration mode
commands.
Step 7
Router(config-router-af)# redistribute
protocol
Redistributes routes from one routing domain into another
routing domain.
The protocol argument is the source protocol from which
routes are being redistributed. It can be one of the following
keywords: bgp, connected, egp, igrp, isis, ospf, static [ip],
or rip.
The connected keyword refers to routes that are established
automatically by virtue of having enabled IP on an interface.
Step 8
Router(config-router-af)# exit-address-family
Exits address family configuration mode.
Step 9
Router(config-router)# address-family vpnv4
[unicast]
Enters address family configuration mode for configuring
BGP routing sessions that use standard Virtual Private
Network (VPN) Version 4 address prefixes.
(Optional) The unicast keyword specifies VPN Version 4
unicast address prefixes.
Step 10
Router(config-router-af)# neighbor {ip-address
| peer-group-name} activate
Activates route exchanges with the global BGP neighbors.
Step 11
Router(config-router-af)# neighbor {ip-address
| peer-group-name} send-community [both]
Specifies that a communities attribute should be sent to a
BGP neighbor.
The both keyword specifies that both communities attributes
should be sent.
Command Purpose