Sunteți pe pagina 1din 9

Configure MPLS routers (CE router)

Basic requirements: Generally there are two interfaces of the MPLS or CE router that we are
using for connectivity. One interface is connected to core switch while another is connected to
PE (ISP) router. We configured the dynamic routing protocol like OSPF, EIGRP between core
switch and CE router and Path vector protocol i.e. EBGP between CE and PE.

Steps to configure the CE router

Interface Configuration
1) Login to the router using console cable connect the cable to the console port of router.

2) Use the default username and password cisco/cisco

3) You will get the prompt mentioned below use the command enable

router>

4) There is router# appear on screen here we can give the configuration commands.

5) Check the number of interfaces on router. And assign the IP addresses to it using
following commands.

Router# conf t
Router(config)#int GigabitEthernet0/0.99
Router(config-subif)# ip address 10.252.120.9 255.255.255.0
Router(config-subif)#=no shut
Router(config-subif)# description L3 Link to LAN

6) Create a sub interface. Configure the IP address and trunk related parameters like router on a
stick on it. Make sure that the main interface and sub interface are in up. Ping the IP address of PE
router and CS switch to check the connectivity. Apply the policy on interface.
3)Create an access-list class map and policy

3) Create a sub interface. Configure the IP address and trunk related parameters like router on a stick on
it. Make sure that the main interface and sub interface are in upstate. Ping the IP address of PE router
and CS switch to check the connectivity .The policy has been applied to classify the traffic and assign the
priority depends upon the traffic type. Apply the policy on interface.
IGP Configuration

4) Configure the EIGRP/OSPF on the interface facing towards core switch and check the neighborship the
Q count should be zero. Make all the interface passive except G0/0.99 which is facing towards Core
switch. Redistribute the BGP routes to EIGRP.

BGP Configuration

5) Configure BGP between the CE router and PE router interface. The AS number and IP details are
obtained from ISP.As show below 65139 is the local AS number,8034 is the remote (ISP)AS number.
Advertised the connected interface using the network commands. Redistribute connected command will
redistribute the connected interfaces in BGP process.

Router# Conf t
Router(config)# router bgp 65139
Router(config-router)#network 10.252.120.8 mask 255.255.255.248
Router(config-router)# network 10.255.192.5 mask 255.255.255.255
Router(config-router)#redistribute connected
Router(config-router)#neighbor 10.254.120.38 remote-as 8034
Router(config-router)#neighbor 10.254.120.38 soft-reconfiguration inbound
Check the BGP neighborship and the prefixes received from BGP neighbor.

To Redistribution of EIGRP routes into BGP please follow the process.

Create an access-list match the network you want to redistribute.


ip prefix-list EIGRP-TO-BGP permit 10.168.49.0/24
ip prefix-list EIGRP-TO-BGP permit 10.169.49.0/24
ip prefix-list EIGRP-TO-BGP permit 10.165.49.0/24

Create a route-map

Apply the route-map to redistribute statement.

S-ar putea să vă placă și