CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 261

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 261 of 350

DUT1(config-if)#exit

Exit the Interface mode.

DUT1(config)# router ldp

Enter the router-ldp mode.

DUT1(config-router)#
targeted-peer 10.10.10.10

Configure Targeted Peer in LDP.

DUT1(config-router)#
transport-address 11.11.11.11

Configure Transport Address in
LDP.

DUT1(config-router)#exit

Exit the router-ldp mode.

DUT1(config)#ip vrf vpn2

Configure a VPN routing and
forwarding(VRF) routing table

DUT1(config-vrf)#rd 1:100

Assign a route distinguisher (RD)
for the VRF.

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

Add a list of import and export
route-target extended communities
to the VRF.

DUT1(config-vrf)#exit

Exit VPN routing and
forwarding(VRF) routing table.

DUT1(config)#interface eth-0-1 Enter the Interface mode.

• eth-0-1—Specify the interface

DUT1(config-if)# no switchport Configure the port to layer 3 port.

DUT1(config-if)#ip vrf
forwarding
vpn2

Associate a VPN routing and
forwarding(VRF)instance with an
Layer3 interface.

DUT1(config-if)#ip address
5.5.5.1/24

Create IP address on the port.

DUT1(config-if)#exit

Exit the Interface mode.

DUT1(config)#router rip

Enter the router-rip mode

DUT1(config-router)#network
4.4.4.0/24

Associate networks with the RIP
process.

DUT1(config-router)#network
11.11.11.11/32

Associate networks with the RIP
process.

DUT1(config-router)#exit

Exit the router-rip mode.

DUT1(config)#mpls
enable-all-interfaces

Enable label-switching on all
interfaces.

DUT1(config)# router bgp 1

Configure a BGP routing process.

Advertising