beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 187

background image

CanogaOS Configuration Guide

29-4

Command Description

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)#interface eth-0-17

Enter the Interface mode.

• eth-0-17—Specify the interface

DUT1(config)#no switchport

Configure the port to layer 3 port.

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

Create IP address on the port.

DUT1(config-if)#enable-ldp

Configure Interface for LDP.

DUT1(config-if)#label-switching

Enable label-switching on interface.

DUT1(config-if)#exit

Exit the Interface mode

DUT1(config)# interface loopback 0

Enter the Interface mode.

• loopback0—Specify the loopback interface
name.

DUT1(config-if)#ip address 11.11.3.3/32

Create loopback addresses on both PE
routers. Use a /32 host route for the loopback
address.

DUT1(config-if)#exit

Exit the Interface mode.

DUT1(config)# router ldp

Enter the router-ldp mode.

DUT1(config-router)#transport-address 11.11.3.3

Configure the transport address for a label
space.

DUT1(config-router)#targeted-peer 11.11.1.1 Configure

Targeted

Peer.

DUT1(config-router)#targeted-peer 11.11.4.4 Configure

Targeted

Peer.

DUT1(config)#exit

Exit the router-ldp mode.

DUT1(config)# router rip

Enter the router-rip mode

DUT1(config-router)#network 11.11.1.1/16

Associate networks with the RIP process.

DUT1(config-router)# exit

Exit the router-rip mode.

DUT1(config)#mpls vpls-vlan 4000 4010

Create a block of continuous vlan id which
used for vpls function.

DUT1(config)#mpls vpls v3 100

Create a VPLS instance and come into the
VPLS instance mode.

DUT1(config-vpls)#vpls-peer 11.11.1.1 raw

Add a PE for VPLS instance.

DUT1(config-vpls)#vpls-peer 11.11.4.4 raw

Add a PE for VPLS instance.

DUT1(config-vpls)#exit

Exit VPLS instance mode.

DUT1(config)#interface eth-0-1

Enter the Interface mode

• eth-0-1—Specify the interface

DUT1(config-if)#mpls-vpls v3

Bind an interface to a VPLS instance.

DUT1(config-if)#exit

Exit the Interface mode.

DUT1(config)#interface eth-0-2

Enter the Interface mode

• eth-0-2—Specify the interface