< Home

Configuring EFM for IPv4 Static Routes

Background

EFM for static routes can be configured to provide a fault detection mechanism for static routes so that the static routes can detect the link quality changes in real time and switch services immediately. You can associate Ethernet in the First Mile (EFM) with an IPv4 static route so that the associated static route can be deleted from the IP routing table when the EFM session of a specified interface goes Down. Traffic is then switched to a route without link faults to prevent lengthy service interruptions.

Pre-configuration Tasks

Before associating IPv4 static routes with EFM, set link layer protocol parameters and assign IP addresses to interfaces to ensure that the link layer protocol status of the interfaces is Up.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] } [ preference preference ] track efm-state interface-type interface-number [ description text ]

    EFM is associated with the IPv4 static route.

Verifying the Configuration

  • Run the display efm session { all | interface interface-type interface-number command to check information about EFM OAM on a specified interface.

  • Run the display current-configuration | include efm command to check associations between EFM and IPv4 static routes.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >