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 BMP

Configuring BMP

The BGP Monitoring Protocol (BMP) monitors BGP running status, such as the status of BGP peer relationship establishment and termination and route updates.

Usage Scenario

Without BMP, manual query is required if you want to know about BGP running status. To improve the network monitoring efficiency, you can configure BMP on a router to use a monitoring server on the network to monitor BGP running status.

Pre-configuration Tasks

Before configuring BMP, configure basic BGP functions.

Procedure

  • Configuring BMP.
    1. Run system-view

      The system view is displayed.

    2. Run bmp

      BMP is started and the BMP view is displayed.

    3. (Optional) Run statistics-timer time

      An interval is set, at which the router sends BGP running statistics to a monitoring server.

      Configure the interval based on the network stability requirements. If BGP requires high stability, configure a small interval. However, if the router sends BGP running statistics frequently, a large amount of bandwidth resources will be consumed.

    4. (Optional) Set the type of route whose statistics are to be sent to the monitoring server.

      • To configure a global type, run the route-mode { pre-policy | post-policy } command.

      • To configure a route type for the public-network or VPN peers, run the peer ipv4-address [ vpn-instance vpn-instance-name ] route-mode { pre-policy | post-policy } command.

      To configure a type of route whose statistics are to be sent by BMP to the monitoring server, run the peer route-mode command. To configure BMP to send statistics about all the routes received from a specified peer to the monitoring server, specify pre-policy in the command. To configure BMP to send statistics about only the accepted routes (the ones that match the import policy) received from a specified peer to the monitoring server, specify post-policy in the command. The route type configured using the route-mode command applies to all BGP peers. That is, pre-policy or post-policy applies to the routes received from all BGP peers. The route type configured using the peer route-mode command applies to only the specified type of BGP peer. That is, pre-policy can be configured for some BGP peers, and post-policy is configured for other BGP peers.

      NOTE:

      If you specify pre-policy in the command, run the keep-all-routes command in the BGP view to save the routes carried in the BGP Update messages that are advertised by all BGP peers or peer groups after BGP connections are established, or run the peer keep-all-routes command to save the routes carried in the BGP Update messages that are advertised by a specified BGP peer or peer group after the BGP connection is established.

    5. Run session ipv4-address [ alias alias-name ]

      An IPv4 address of the monitoring server is specified for TCP connections to be set up between the router and the monitoring server.

      If the alias alias-name parameter is specified in the command, the alias of a session is specified. If the parameter is specified, multiple TCP connections can be established with servers using different interfaces and the same IP address.

    6. Run tcp connect port port-number [ password md5 cipher-password | keychain keychain-name ]

      Parameters are configured for TCP connections to be set up between the router and the monitoring server.

    7. (Optional) Run monitor address-family all disable

      Monitoring of all BGP peers is disabled.

      By default, all BGP peers are monitored in BMP scenarios. To allow each server to monitor BGP peers in a unique address family so that different BGP services can be controlled, run the monitor peer command. Before you run the monitor peer command, you need to run the monitor address-family all disable command to disable monitoring of all BGP peers.

    8. (Optional) Run monitor ipv4-family { unicast | vpn-instance vpn-instance-name | vpnv4 } peer ipv4-address

      Monitoring of BGP peers in a specified address family is enabled.

      By default, all BGP peers are monitored in BMP scenarios. To allow each server to monitor BGP peers in a unique address family so that different BGP services can be controlled, run the monitor peer command.

    9. Run commit

      The configuration is committed.

      NOTE:

      After configuring BMP session parameters, run the reset bmp session command to reset the BMP session for the new BMP session parameters to take effect.

Checking the Configurations

Run the following commands to check configurations:
  • Run the display bmp session [ ipv4-address [ alias alias-name ] verbose ] command to check configurations of a BMP session.
  • Run the display bgp bmp-monitor { all | { ipv4 | vpnv4 vpn-instance vpn-instance-name | vpnv4 } ipv4-address } command to check information about the BGP peers monitored by a BMP session in all address families or in a specified address family.

# Run the display bmp session [ ipv4-address [ alias alias-name ] verbose ] command to view BMP session configurations.

<HUAWEI> display bmp session 1.1.1.1 verbose
  BMP session 1.1.1.1, port 0
    Current state: Down (Reason: Manual Stop), Age: 11m55s
    VPN-instance name: _public_
    Local address: 0.0.0.0, Local port: 0
    Route Mode: post-policy 
    Statistics timeout: 3600(s)
    ConnectRetry Timer Remainder: 15(s)
    Statistics-report Timer Remainder: 1884(s)
  Bmp monitoring all peers

# Run the display bgp bmp-monitor { all | { ipv4 | vpnv4 vpn-instance vpn-instance-name | vpnv4 } ipv4-address } command to view information about the BGP peers monitored by a BMP session in all address families or in a specified address family.

<HUAWEI> display bgp bmp-monitor all
*>BGP ipv4-family unicast :
 Peer : 10.1.1.1       route-mode : post-policy
  Session Ip      Alias      State     
  2.2.2.2         b          down      
*>BGP ipv4-family vpn-instance ABC :
 Peer : 3.3.3.3       route-mode : post-policy
  Session Ip      Alias      State     
  2.2.2.2         b          down      
 Peer : 4.4.4.4       route-mode : post-policy
  Session Ip      Alias      State     
  2.2.2.2         b          down   
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 20347

Downloads: 15

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