beautypg.com

CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 138

background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 138 of 350

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.1/24

Configure IP address to 2.2.2.1/24.

DUT(config-if)#exit

Exit the Interface mode and enter the Configure mode.

DUT(config)#ip route 3.3.3.0/24 2.2.2.2

Add a static route 3.3.3.0/24 with nexthop 2.2.2.2

DUT(config)#router bgp 100

Creat bgp 100 and enter the router mode

DUT(config-router)#bgp router-id 10.10.10.10

Configure the bgp router-id

DUT(config-router)#neighbor 1.1.1.2 remote-as
200

Configure the ebgp neighbor with as 200

DUT(config-router)#network 4.0.0.0/8

Network the specified route 4.0.0.0/8

DUT(config-router)#redistribute static

Redistribute the static route into bgp

DUT(config-router)#redistribute connected

Redistribute the connect route into bgp

DUT(config-router)#exit

Exit the router mode and enter the Configure mode.

18.2.3 Router B

DUT#configure terminal

Enter the Configure mode.

DUT(config)#interface eth-0-13

Specify the interface (eth-0-13)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)#router bgp 200

Creat bgp 200 and enter the router mode

DUT(config-router)#bgp router-id 11.11.11.11

Configure the bgp router-id

DUT(config-router)#neighbor 1.1.1.1 remote-as
100

Configure the ebgp neighbor with as 100