fec-node

Function

The fec-node command adds a FEC node to a FEC list.

The undo fec-node command deletes a FEC node.

By default, no FEC node is created.

Format

fec-node fec-node-address [ nexthop nexthop-address | outgoing-interface { interface-name | interface-type interface-number } ] *

undo fec-node fec-node-address [ nexthop nexthop-address | outgoing-interface { interface-name | interface-type interface-number } ] *

Parameters

Parameter Description Value
fec-node-address

Specifies the FEC address.

The value is in dotted decimal notation.

nexthop nexthop-address

Specifies the next-hop IP address.

The value is in dotted decimal notation.

outgoing-interface

Specifies an outbound interface.

-

interface-type interface-number

Specifies the type and number of an outbound interface.

-

Views

FEC list view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp write

Usage Guidelines

Usage Scenario

To add a FEC node to a FEC list, run the fec-node command. The FEC list is used to dynamically establish BFD sessions so that the BFD sessions can monitor LDP LSPs that are mapped to FECs in the FEC list. Compared with establishing the BFD sessions that monitor all LSPs, establishing BFD sessions that monitor specified LSPs helps reduce network costs. After a FEC list is created and nodes are added to the list, configure BFD to reference this list.

Prerequisites

A FEC list has been created using the fec-list command.

Example

# Create a FEC node in the FEC list.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls ldp
[*HUAWEI-mpls-ldp] quit
[*HUAWEI] fec-list 1
[*HUAWEI-fec-list-1] fec-node 2.2.2.2 nexthop 10.1.2.1 outgoing-interface GigabitEthernet 0/1/0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >