CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 219

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 219 of 350

DUT(config-router)# address-family vpnv4
unicast

Enter vpnv4 address family

DUT(config-router-af)# neighbor 11.11.11.11
activate

Activate the neighbor 11.11.11.11 in the vpnv4 address-family

DUT(config-router-af)#neighbor 11.11.11.11
send-community both

Configure the neighbor to send-community both

DUT(config-router-af)# exit-address-family

Exit the vpnv4 address-family and enter the router mode

DUT(config-router)#address-family ipv4 vrf 100 Enter the vrf address-family

DUT(config-router-af)#redistribute connected

Redistribute the connect route into bgp vrf address-family

DUT(config-router-af)#redistribute static

Redistribute the static route into bgp vrf address-family

27.1.5 PE2(DUT3)

DUT#configure terminal

Enter the Configure mode.

DUT(config)#interface eth-0-20

Specify the interface (eth-0-20)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 1.1.1.2/24

Configure IP address to 1.1.1.2/24.

DUT(config-if)#exit

Exit the Interface mode and enter the Configure mode.

DUT(config)#interface loopback 0

Specify the interface (loopback 0)to be configured and enter
the Interface mode.

DUT(config-if) # ip address 11.11.11.11/32

Configure IP address to 11.11.11.11/32.

DUT(config-if)#exit

Exit the Interface mode and enter the Configure mode.

DUT(config)#ip route 10.10.10.10/32 1.1.1.3

Add a static route 10.10.10.10/32 with nexthop 1.1.1.3

DUT(config)# ip vrf 100

Creat vrf with the name 100

DUT(config-vrf)#rd 1:100

Configure the rd value 1:100

DUT(config-vrf)#route-target both 1:100

Configure the route-target with both 1:100

DUT(config-vrf)#exit

Exit vrf mode and enter the configure mode

Advertising