mpls ftn-entry

Use this command to create a static LSP. In the hardware, this command creates an IP route with outgoing MPLS parameters.

Only global label space is supported and per interface label space is not supported.

Command Syntax

Copy
mpls ftn-entry  (A.B.C.D/M|A.B.C.D A.B.C.D) <16-1048575> A.B.C.D IFNAME
no mpls ftn-entry  (A.B.C.D/M|A.B.C.D A.B.C.D) <16-1048575> A.B.C.D IFNAME

Parameters

A.D.C.D/M

Forwarding Equivalence Class with Mask

A.B.C.D

Mask for forwarding equivalency class

<16-1048575>

Outgoing label <16-1048575>

A.B.C.D

Nexthop IPv4 address

IFNAME

Outgoing interface name

Default

Disabled

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3.

Example

Copy
#configure terminal 
(config)# mpls ftn-entry 2.2.2.2/32 111 20.0.0.2 eth1 
(config)# no mpls ftn-entry 2.2.2.2/32 111 20.0.0.2 eth1