No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Unicast Routing

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a BGP Peer to Track the Physical Status of a Specified Physical Interface

Configuring a BGP Peer to Track the Physical Status of a Specified Physical Interface

Configuring a BGP peer to track the physical status of a specified physical interface allows the BGP peer to detect status changes of the interface in time. If the physical status is Down, the peer relationship is disconnected.

Context

A device sets up BGP peer relationships with some servers in a VLAN through a VLANIF interface. If the physical status of the interface connected to a server goes Down, the BGP peer cannot detect the status change in time, and the BGP peer relationship is disconnected only after a period of time (180s by default). During this period, traffic is lost. To prevent this problem, enable the BGP peer to track the physical status of a specified physical interface. The establishment of a BGP peer relationship depends on the physical status of the specified physical interface. If the physical status of the specified physical interface is Up, the BGP peer relationship can be established. If the physical status is Down, the BGP peer relationship is disconnected.

Pre-configuration Tasks

Before configuring a BGP peer to track the physical status of a specified physical interface, "Configuring Basic BGP Functions".

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  3. (Optional) Run ipv4-family vpn-instance vpn-instance

    The BGP-VPN instance IPv4 address family view is displayed.

  4. Run peer ipv4-address rely-state interface interface-type interface-number

    The BGP peer is configured to track the physical status of the specified physical interface.

    By default, the BGP peer is not configured to track the physical status of any physical interface.

  5. Run commit

    The configuration is committed.

Verifying the Configuration

After configuring a BGP peer to track the physical status of a specified physical interface, run the display bgp peer verbose command to check the configuration results.

If Rely-state interface has been enabled is displayed in the command output, the configuration succeeds.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074760

Views: 45619

Downloads: 58

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next