beautypg.com

Enabling rip on the pe router interface, Rip to ce example – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 744

background image

720

Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide

53-1003031-02

BGP or MPLS VPN sample configurations

6

Configuring the VRF on the PE router to redistribute RIP routes

To allow RIP route exchange between a specified VRF on a PE router and its associated CE router,
the VRF must be enabled redistribute RIP routes. To enable the VRF VPN1 on PE 1 router in

Figure

76

to redistribute RIP routes, enter the following commands.

Brocade(config-bgp)# address-family ipv4 unicast vrf VPN1

Brocade(config-bgp-ipv4u-vrf)# redistribute rip

Configuring RIP on the PE router to redistribute BGP-VPNv4 routes

To allow RIP route exchange between a specified VRF on a PE router and its associated CE router,
RIP must be configured to redistribute BGP routes from the local AS. To enable RIP on PE 1 in

Figure

76

and configure it to redistribute BGP-VPNv4 routes into RIP, enter the following

commands.

Brocade(config)# router rip vrf VPN1

Brocade(config-rip-router)# redistribute bgp

Enabling RIP on the PE router interface

To allow RIP route exchange between a PE router and its associated CE router, RIP must be enabled
on the PE’s interface that is associated with the VRF and connected to the PE router. To configure
RIP on the interface of the PE 1 router that is associated with VRF VPN1 in

Figure

76

to CE 1, enter

the following commands.

Brocade(config)# interface ethernet 1/1

Brocade(config-if-e10000-1/1)# vrf forwarding VPN1

Brocade(config-if-e10000-1/1)# ip address 10.33.33.3/24

Brocade(config-if-e10000-1/1)# ip rip v2-only

RIP to CE example

In this example, the network shown in

Figure

76

is configured for RIP to forward routes between the

networks attached to the CE routers and the PE routers. IBGP is used to forward routes between
the PE routers and an LSP tunnel is configured across the MPLS domain.

Figure

76

contains all of

the network addresses and AS numbers required to perform this configuration. The configurations
are shown for only the CE 1, CE 5, PE 1 and PE 5 routers, which demonstrates what is required to
make VPN1 work. The configurations for VPN2, VPN3, and VPN 4 would essentially be the same.

CE 1 configuration
This configuration example describes what is required to operate the CE 1 router in

Figure

76

. In

this example, a static route is configured between the external network (10.1.2.0/24) and the
loopback interface. RIP is configured to redistribute static routes between the CE 1 router and the
attached interface of PE 1.

Brocade(config)# interface loopback 1

Brocade(config-lbif-1)# ip address 10.33.33.1/32

Brocade(config-lbif-1)# exit

Brocade(config)# ip route 10.1.2.0/24 10.33.33.1