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).
Maintaining IP Routes

Maintaining IP Routes

Maintaining IP routes involves displaying the routing table and routing management module, and debugging the routing management module.

Displaying the Routing Table

Viewing information about the routing table helps locate faults on the network.

Context

It is necessary to check the information in the routing table using display commands in order to locate routing problems. The display commands can be used in all views. Common commands for displaying routing information are listed as follows:

Procedure

  • To check brief information about activated routes in the IP routing table, run the display ip routing-table command.
  • To check detailed information about the IP routing table, run the display ip routing-table verbose command.
  • To check limits on the number of routes and prefixes, run the display ip routing-table limit [ all-vpn-instance | vpn-instance vpn-instance-name ] command.
  • To check the number of routes, run the display ip routing-table route-number command.
  • To check the route to the specified destination IP address, run the display ip routing-table ip-address [ mask | mask-length ] [ longer-match ] [ verbose ] command.
  • To check routes to the specified range of destination IP addresses, run the display ip routing-table ip-address1 { mask1 | mask-length1 } ip-address2 { mask2 | mask-length2 } [ verbose ] command.
  • To check the routes discovered by the specified protocol, run the display ip routing-table protocol { direct | ospf | isis | static | rip | bgp | unr } [ inactive | verbose ] command.
  • To check general information about the routing table, run the display ip routing-table statistics command.
  • To check brief information about the VPN routing table, run the display ip routing-table vpn-instance vpn-instance-name command.
  • To check detailed information about the VPN routing table, run the display ip routing-table vpn-instance vpn-instance-name verbose command.
  • To check detailed information about the route to the specified destination IP address in the VPN routing table, run the display ip routing-table vpn-instance vpn-instance-name ip-address [ mask | mask-length ] [ longer-match ] [ verbose ] command.
  • To check detailed information about the routes to the specified network segment in the VPN routing table, run the display ip routing-table vpn-instance vpn-instance-name ip-address1 { mask1 | mask-length1 } ip-address2 { mask2 | mask-length2 } [ verbose ] command.
  • To check brief information about activated routes in the IPv6 routing table, run the display ipv6 routing-table command.
  • To check detailed information about the IPv6 routing table, run the display ipv6 routing-table verbose command.
  • To check limits on the number of IPv6 routes and prefixes, run the display ipv6 routing-table limit [ all-vpn-instance | vpn-instance vpn-instance-name ] command.
  • To check the number of IPv6 routes, run the display ipv6 routing-table route-number command.
  • To check the route to the specified destination IPv6 address, run the display ipv6 routing-table ipv6-address [ prefix-length ] [ longer-match ] [ verbose ] command.
  • To check routes to the specified range of destination IPv6 addresses, run the display ipv6 routing-table ipv6-address1 [ prefix-length1 ] ipv6-address2 prefix-length2 [ verbose ] command.
  • To check the IPv6 routes discovered by the specified protocol, run the display ipv6 routing-table protocol { bgp | direct | isis | ospfv3 | ripng | static | unr } [ inactive | verbose ] command.
  • To check general information about the IPv6 routing table, run the display ipv6 routing-table statistics command.
  • To check brief information about the VPN routing table, run the display ipv6 routing-table vpn-instance vpn-instance-name command.
  • To check detailed information about the VPN routing table, run the display ipv6 routing-table vpn-instance vpn-instance-name verbose command.
  • To check detailed information about the route to the specified destination IPv6 address in the VPN routing table, run the display ipv6 routing-table vpn-instance vpn-instance-name ipv6-address [ prefix-length ] [ longer-match ] [ verbose ] command.
  • To check detailed information about the routes to the specified IPv6 network segment in the VPN routing table, run the display ipv6 routing-table vpn-instance vpn-instance-name ipv6-address1 [ prefix-length1 ] ipv6-address2 prefix-length2 [ verbose ] command.

Clearing the Routing Table Statistics

Clear historical statistics about protocol routes in the IPv4 and IPv6 routing table. This enables the router to recollect statistics about protocol routes, facilitating route monitoring and fault location.

Context

Statistics in the IPv4 and IPv6 routing table cannot be restored after you clear them. Therefore, exercise caution when running the command.

Procedure

  • To clear statistics about protocol routes in the IPv4 routing table, run the reset ip routing-table statistics protocol command in the user view.
  • To clear statistics about protocol routes in the IPv6 routing table, run the reset ipv6 routing-table statistics protocol command in the user view.

Configuring Thresholds for the Number of IPv4 Route Prefixes

This section describes how to configure thresholds (one alarm threshold and one clear alarm threshold) for the number of IPv4 route prefixes on a device. After the thresholds are configured, an alarm is generated when the number of IPv4 route prefixes on the device exceeds the alarm threshold, and the alarm is cleared when the number of IPv4 route prefixes falls below the clear alarm threshold. Configuring these thresholds facilitates maintenance.

Context

The number of IPv4 route prefixes that can be added to a routing table is limited. If the number exceeds the limit, new prefixes cannot be added to the routing table, which may interrupt services. To address this problem, configure an alarm threshold for the number of IPv4 route prefixes.

An alarm is generated when the following conditions are met:
  • The number of IPv4 route prefixes on the device exceeds the alarm threshold.

The alarm informs users that an abnormality may exist and to take corrective actions.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip prefix-limit system threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

    Two thresholds (one alarm threshold and one clear alarm threshold) are configured for the number of IPv4 route prefixes on the device.

    NOTE:
    When you configure upper-limit-value and lower-limit-value, note the following suggestions:
    • Set a value less than or equal to 95 for upper-limit-value.
    • lower-limit-value must be less than upper-limit-value. Set lower-limit-value to a value at least 10 less than upper-limit-value to prevent alarms from being frequently generated and cleared due to route flapping.

  3. Run commit

    The configuration is committed.

Configuring Thresholds for the Number of IPv6 Route Prefixes

This section describes how to configure thresholds (one alarm threshold and one clear alarm threshold) for the number of IPv6 route prefixes on a device. After the thresholds are configured, an alarm is generated when the number of IPv6 route prefixes on the device exceeds the alarm threshold, and the alarm is cleared when the number of IPv6 route prefixes falls below the clear alarm threshold. Configuring these thresholds facilitates maintenance.

Context

The number of IPv6 route prefixes that can be added to a routing table is limited. If the number exceeds the limit, new prefixes cannot be added to the routing table, which may interrupt services. To address this problem, configure an alarm threshold for the number of IPv6 route prefixes.

An alarm is generated when the following conditions are met:
  • The number of IPv6 route prefixes on the device exceeds the alarm threshold.

The alarm informs users that an abnormality may exist and to take corrective actions.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ipv6 prefix-limit system threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

    Two thresholds (one alarm threshold and one clear alarm threshold) are configured for the number of IPv6 route prefixes on the device.

    NOTE:
    When you configure upper-limit-value and lower-limit-value, note the following suggestions:
    • Set a value less than or equal to 95 for upper-limit-value.
    • lower-limit-value must be less than upper-limit-value. Set lower-limit-value to a value at least 10 less than upper-limit-value to prevent alarms from being frequently generated and cleared due to route flapping.

  3. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 22481

Downloads: 15

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