beautypg.com

30 configuring mpls oam, 1 overview, 2 validating ldp ipv4 fec – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 194

background image

CanogaOS Configuration Guide

30-1

30 Configuring MPLS OAM

30.1 Overview

This chapter contains configuration for MPLS Operations, Administration and
Management (OAM). MPLS OAM is used to detect forwarding plane failures in an MPLS
network.
Similar to ICMP echo requests and replies in an IP network, an MPLS network can have
MPLS echo requests and replies for checking the data plane and control plane
operations in the Label Switched Path (LSP). The MPLS traceroute process also
provides path details for the LSP.

30.2 Validating LDP IPv4 FEC

30.2.1 Configurations on PE1

Command Description

DUT1#configure terminal

Enter the Configure mode.

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)# enable-ldp

Configure Interface for LDP

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

Create IP address on the port.

DUT1(config)#exit

Exit the Interface 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.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 1.1.1.0/24

Associate networks with the RIP process.

DUT1(config-router)# network 2.2.2.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.