Users Guide

Table Of Contents
1424 BGP
R1(config-if-Gi1/0/16)#switchport access vlan 200
R1(config-if-Gi1/0/16)#exit
7
Configure the BGP router.
R1(config)#router bgp 5500
R1(config-router)#bgp log-neighbor-changes
8
Configure the router ID.
R1(config-router)#bgp router-id 10.10.10.10
9
This router advertises the 192.168.100.0/24 network.
R1(config-router)#network 192.168.100.0 mask 255.255.255.0
10
Redistribute connected routes (10.10.10.10/32).
R1(config-router)#redistribute connected
11
Configure the R2 neighbor.
R1(config-router)#neighbor 172.16.10.2 remote-as 6500
12
Configure the R1 neighbor.
R1(config-router)#neighbor 192.168.100.11 remote-as 5500
R1(config-router)#address-family vpnv4 unicast
R1(config-router-af)#exit
R1(config-router)#exit
Router R2 Configuration
Router R2 has a VRF WAN with route distinguisher 2020:1. This attribute is
sent in the UPDATE message in the MP_REACH_NLRI path attribute.
Router R2 exhibits an MP-BGP capability toward router R1. The
administrator for R2 can implement route maps to control distribution of
VRF route information to R1 by matching on the extended community
attribute.
1
Configure a VLAN for the R1 neighbor.
console#configure
console(config)#vlan 100
console(config-vlan100)#exit
console(config)#hostname "R2"
2
Create a VRF.
R2(config)#ip vrf WAN
R2(config-vrf-WAN)#rd 2020:1
R2(config-vrf-WAN)#route-target export 2020:1
R2(config-vrf-WAN)#route-target import 2020:1
R2(config-vrf-WAN)#exit