27 configuring bgp/mpls vpn, 1 topology, 2 configuration steps – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 172

Advertising
background image

CanogaOS Configuration Guide

27-1

27 Configuring BGP/MPLS VPN

27.1 Topology

Figure 27-1: BGP/MPLS VPN

27.2 Configuration steps

27.2.1 CE1

(DUT1)

DUT#configure terminal

Enter the Configure mode.

DUT(config)#interface eth-0-9

Specify the interface (eth-0-9)to be configured and enter the
Interface mode.

DUT (config-if)#no shutdown

Enable the interface.

DUT(config-if) # no switchport

Configure on physical port only, change this port to Layer3
interface.

DUT(config-if) # ip address 2.2.2.3/24

Configure IP address to 2.2.2.3/24.

DUT(config-if)#exit Exit

the Interface mode and enter the Configure mode.

DUT(config)#interface eth-0-22

Specify the interface (eth-0-22)to be configured and enter the
Interface mode.

DUT (config-if)#no shutdown

Enable the interface.

DUT(config-if) # no switchport

Configure on physical port only, change this port to Layer3
interface.

DUT(config-if) # ip address 8.8.8.2/24

Configure IP address to 8.8.8.2/24.

DUT(config-if)#exit Exit

the Interface mode and enter the Configure mode.

DUT(config)# ip route 5.5.5.0/24 2.2.2.2

Add a static route 5.5.5.0/24 with nexthop 2.2.2.2

AS1

CE1 PE1 PE2 CE2

e-0-22 e-0-9 e-0-9 e-0-20

IBGP

e-0-20 e-0-9 e-0-9 e-0-1

eth62

8.8.8.2 2.2.2.3 2.2.2.2 1.1.1.3 1.1.1.2 5.5.5.5 5.5.5.3 9.9.9.8
9 9 9 3

VPN 100

VPN 100

Advertising