beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 203

background image

CanogaOS Configuration Guide

30-10

Command Description

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

Specify that a community attribute should be sent
to a BGP neighbor.

DUT1(config-router-af)#redistribute connected

Redistribute connected routes in the VRF

DUT1(config-router-af)#redistribute static

Redistribute static routes in the VRF

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

Exit the address family mode.

DUT1(config-router)#address-family ipv4 vrf vpn1

Enter the IPv4 address-family command mode.

DUT1(config-router-af)#redistribute connected

Redistribute connected routes in the VRF

30.4.2 Configurations on PE2

Command Description

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)#interface eth-0-12

Enter the Interface mode.

• eth-0-12—Specify the interface

DUT1(config-if)#no switchport

Configure the port to layer 3 port.

DUT1(config-if)#enable-ldp

Configure Interface for LDP

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

Create IP address on the port.

DUT1(config-if)# exit

Exit the Interface mode.

DUT1(config)#interface eth-0-17

Enter the Interface mode.

• eth-0-17—Specify the interface

DUT1(config-if)#no switchport

Configure the port to layer 3 port.

DUT1(config-if)#enable-ldp

Configure Interface for LDP

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

Create IP address on the port.

DUT1(config-if)#exit

Exit the Interface mode.

DUT1(config)# router ldp

Enter the router-ldp mode.

DUT1(config-router)#exit

Exit the router-ldp mode.

DUT1(config)#router rip

Enter the router-rip mode

DUT1(config-router)#network 2.2.2.0/24

Associate networks with the RIP process.

DUT1(config-router)#network 3.3.3.0/24

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.

30.4.3 Configurations on PE3

Command Description

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)#interface eth-0-17

Enter the Interface mode.