beautypg.com

Configuring a static default route on a pe router, Static route to ce example, Ce 1 configuration – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 740: Ce 5 configuration, Pe 1 configuration

background image

716

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

53-1003031-02

BGP or MPLS VPN sample configurations

6

Configuring a static default route on a PE router

To allow route exchange between a PE router and its associated CE router, a static route must be
created to the route that the user wants to provide access to with a next hop consisting of the IP
address of the interface that is connected to the VRF. In

Figure

75

, the IP address of the connected

port on the CE router is 10.33.33.2, and the address on the CE that is provided access from the
PE’s VRF is 10.1.2.0/24. To create a static route from PE 1 to CE 1, enter the following command.

Brocade(config)# ip route vrf VPN1 10.1.2.0/24 10.33.33.2

Static route to CE example

In this example, the network shown in

Figure

75

is configured for a default static route 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

75

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

75

. In

this example, a default static route is configured between the CE 1 router and the attached
interface of PE 1.

Brocade(config)# ip route 0.0.0.0/0 10.33.33.3

Brocade(config)# interface ethernet 1/1

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

CE 5 configuration

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

Figure

75

. In

this example, a default static route is configured between the CE 5 router and the attached
interface of PE 4.

Brocade(config)# ip route 0.0.0.0/0 10.33.36.3

Brocade(config)# interface ethernet 1/1

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

PE 1 configuration

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

Figure

75

. In

this example, the VRF VPN1 is created with a unique route descriptor consisting of the BGP AS
number (1) and a random other number (2), and route targets are set for import and export. The
VRF (VPN1) is defined on the interface that connects to CE 1. A static route is configured between
this router and the network connected to CE 1. IBGP with extended community attributes is
configured between PE 1 and PE 4.

The OSPF area is specified as 0 and MPLS is set up for OSPF traffic engineering. In addition, MPLS
is configured with a signaled LSP named “tunnel1” to PE 4.