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

ME60 V800R010C10SPC500 Configuration Guide - IP Routing 01

This is ME60 V800R010C10SPC500 Configuration Guide - IP Routing
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 the BGP GR Helper

Configuring the BGP GR Helper

You can configure a device to function as a Graceful Restart (GR) Helper to help a BGP peer with the BGP GR process.

Usage Scenario

When BGP restarts, the peer relationship is re-established, and traffic forwarding is interrupted. To address this issue, enable GR.

GR takes effect only when BGP GR is enabled and a GR-capable BGP session is established between the GR restarter and its peers.

Pre-configuration Tasks

Before configuring the BGP GR helper, configure basic BGP functions.

Configuration Procedures

Figure 10-13 Configuring the BGP GR helper

Enabling BGP GR

Enabling or disabling GR may delete and reestablish all sessions and instances.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run graceful-restart

    BGP GR is enabled.

  4. (Optional) Run graceful-restart timer restart time

    The maximum time for the local end to wait for GR recovery of the peer is set.

  5. (Optional) Run the ipv4-family flow command to enter the BGP-Flow IPv4 address family view, run the ipv4-flow vpn-instance command to enter the BGP-Flow VPN instance IPv4 address family view, run the ipv4-flow vpnv4 command to enter the BGP-Flow VPNv4 address family view, run the ipv6-family flow command to enter the BGP-Flow IPv6 address family view, or run the ipv6-flow vpn-instance command to enter the BGP-Flow VPN instance IPv6 address family view, and then run the peer { ipv4-address | ipv6-address } graceful-restart static-timer restart-time command to configure the maximum time for the local end to wait for GR recovery of the peer.

    NOTE:

    ipv6-address takes effect only in BGP-Flow IPv6 address family view and BGP-Flow VPN instance IPv6 address family view.

  6. (Optional) Run graceful-restart peer-reset

    The router is enabled to reset a BGP session in GR mode.

    Currently, BGP does not support dynamic capability negotiation. As a result, each time the BGP capability changes, the BGP peer relationship is re-established. In some scenarios where a BGP IPv4 unicast peer relationship is established and IPv4 services are running, if the BGP capability changes, the BGP IPv4 unicast peer relationship will be re-established. This process will interrupt ongoing IPv4 services. To prevent the service interruptions, run the graceful-restart peer-reset command to enable the router to reset a BGP session in GR mode.

  7. Run commit

    The configuration is committed.

Configuring the Parameter for a BGP GR Session

Changing the parameter of a BGP GR session may re-establish BGP peer relationships.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run graceful-restart timer wait-for-rib timer

    The period during which the restarting speaker and receiving speaker wait for End-Of-RIB messages is set.

  4. Run commit

    The configuration is committed.

Verifying the BGP GR Helper Configuration

After configuring a BGP GR helper, verify the BGP GR status.

Prerequisites

The BGP GR helper has been configured.

Procedure

  • Run the display bgp peer verbose command to check the BGP GR status.
  • Run the display bgp graceful-restart status command to check the GR information about a BGP speaker.

Example

Run the display bgp peer verbose command to view the BGP GR status.

<HUAWEI> display bgp peer 2.2.2.2 verbose

         BGP Peer is 2.2.2.2,  remote AS 200,
         Type: EBGP link 
         BGP version 4, Remote router ID 0.0.0.0

Group ID : 0
Peer Local Interface Name: GigabitEthernet1/0/0
Local Ifnet Tunnel: 0xb0010000
         BGP current state: Established, Up for 20h21m17s
         BGP current event: KATimerExpired
         BGP last state: OpenConfirm
         BGP Peer Up count: 3
         Received total routes: 0
         Received active routes total: 0
         Advertised total routes: 0
         Port:  Local - 179      Remote - 54446
         Configured: Active Hold Time: 180 sec   Keepalive Time:60 sec
         Received  : Active Hold Time: 180 sec
         Negotiated: Active Hold Time: 180 sec   Keepalive Time:60 sec
         Peer optional capabilities:
         Peer supports bgp multi-protocol extension
         Peer supports bgp route refresh capability
         Peer supports bgp 4-byte-as capability
         Graceful Restart Capability: advertised
         Address family IPv4 Unicast: advertised and received
 
 Received: Total 76 messages
                  Update messages                0
                  Open messages                  5
                  KeepAlive messages             71
                  Notification messages          0
                  Refresh messages               0

 Sent: Total 91 messages
                  Update messages                0
                  Open messages                  10
                  KeepAlive messages             77
                  Notification messages          4
                  Refresh messages               0
 Last keepalive received: 2009-03-30 09:14:14
 Minimum route advertisement interval is 30 seconds 
 Optional capabilities: 
 Route refresh capability has been enabled
 4-byte-as capability has been enabled
 Listen-only has been configured
 Peer Preferred Value: 0
 Routing policy configured:
 No routing policy is configured

Run the display bgp graceful-restart status command to view the GR information about a BGP speaker.

<HUAWEI> display bgp graceful-restart status
-------------------- BGP SYSTEM GR STATUS -------------
 GR is configured, TimerValues (RESTARTER: 150, EOR:600)
-------------------------------------------------------
IPv4-UNC (_public_)
Peers:
   200.1.1.2
    GR capability is not negotiated
     Peer state: Active
     GR state: false
-------------------------------------------------------
IPv4-VPN (_public_)
Peers:
   2.2.2.2
    GR capability is negotiated
     Peer state: Established
     GR state: false
-------------------------------------------------------
IPv4-MVPN (_public_)
Peers:
   2.2.2.2
    GR capability is negotiated
     Peer state: Established
     GR state: false
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 20286

Downloads: 15

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