3 validating layer 2 fec – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 197

Advertising
background image

CanogaOS Configuration Guide

30-4

mpls ipv4 and traceroute mpls ipv4 on PE1.

DUT1# show ldp session
Peer IP Address IF Name My Role State KeepAlive
2.2.2.2 eth-0-12 Passive OPERATIONAL 30
DUT1# show mpls ftn-forwarding
FEC Out-Label Nexthop Out-Intf
3.3.3.0/24 3 2.2.2.2 eth-0-12
4.4.4.0/24 1027 2.2.2.2 eth-0-12
5.5.5.0/24 1028 2.2.2.2 eth-0-12
DUT1# ping mpls ipv4 5.5.5.0/24
Sending 5 MPLS Echos to 5.5.5.0, timeout is 5 seconds

Codes:
'!' - Success, 'Q' - request not sent, '.' - timeout,
'x' - Retcode 0, 'M' - Malformed Request, 'm' - Errored TLV,
'D' - DS Mismatch,'F' No FEC Found,
'U' - Unknown Interface, 'R' - Transit (LBL Switched),

Type 'Ctrl+C' to abort

! seq_num = 1 4.4.4.2 419.75 ms
! seq_num = 2 4.4.4.2 264.28 ms
! seq_num = 3 4.4.4.2 302.05 ms
! seq_num = 4 4.4.4.2 320.63 ms
! seq_num = 5 4.4.4.2 304.02 ms

DUT1# traceroute mpls ipv4 5.5.5.0/24 detail
Tracing MPLS Label Switched Path to 5.5.5.0, timeout is 5 seconds

Codes:
'!' - Success, 'Q' - request not sent, '.' - timeout,
'x' - Retcode 0, 'M' - Malformed Request, 'm' - Errored TLV,
'D' - DS Mismatch,'F' No FEC Found,
'U' - Unknown Interface, 'R' - Transit (LBL Switched),

Type 'Ctrl+C' to abort

0 2.2.2.1 MTU 1500 [Labels: 1028]
R 1 2.2.2.2 MTU 1500 [Labels: 1026] 133.35 ms
R 2 3.3.3.2 MTU 9182 [Labels: implicit-null] 243.27 ms
! 3 4.4.4.2 308.84 ms

30.3 Validating Layer 2 FEC

30.3.1 Configurations on PE1

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

Create IP address on the port.

DUT1(config-if)# exit

Exit the Interface mode.

DUT1(config)#interface loopback 0

Enter the Interface mode.

Advertising