HP 6125XLG R2306-HP 6125XLG Blade Switch MCE Command Reference - Page 17

routing-table limit, Syntax, Default, Views, Predefined user roles, Parameters, Description, Examples

Page 17 highlights

routing-table limit Use routing-table limit to set the maximum number of routes in a VPN instance. Use undo routing-table limit to restore the default. Syntax routing-table limit number { warn-threshold | simply-alert } undo routing-table limit Default No limit is set to the route number for a VPN instance. Views VPN instance view, IPv4 VPN view, IPv6 VPN view Predefined user roles network-admin Parameters number: Specifies the maximum number of routes. The value range is 1 to 8192 in VPN instance view and IPv6 VPN view, and is 1 to 16384 in IPv4 VPN view. warn-threshold: Specifies a warning threshold, in the range of 1 to 100 in percentages. When the percentage of the number of existing routes to the maximum number of routes exceeds the specified threshold, the system gives an alarm message but still permits new routes. If the number of routes in the VPN instance reaches the maximum, no more routes are added. simply-alert: Specifies that when the maximum route number is reached, the system still accepts routes but generates a syslog message. Description This command prevents the MCE from learning excessive routes. If you execute this command multiple times, the most recent configuration takes effect. The setting configured in VPN instance view applies to both the IPv4 VPN and IPv6 VPN. The setting configured in IPv4 VPN view applies only to the IPv4 VPN. The setting configured in IPv6 VPN view applies only to the IPv6 VPN. The setting configured in IPv4 VPN view or IPv6 VPN view takes precedence over that configured in VPN instance view. If you configure a limit in both IPv4 VPN view (or IPv6 VPN view) and VPN instance view, the IPv4 VPN (IPv6 VPN) uses the limit configured in IPv4 VPN view (IPv6 VPN view). Examples # Specify that VPN instance vpn1 can still learn new routes after the maximum number of 1000 routes is reached but generates a syslog. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] route-distinguisher 100:1 [Sysname-vpn-instance-vpn1] routing-table limit 1000 simply-alert # Specify that IPv4 VPN instance vpn1 can still learn new routes after the maximum number of 1000 routes is reached but generates a syslog. system-view 14

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29

14
routing-table limit
Use
routing-table
limit
to set the maximum number of routes in a VPN instance.
Use
undo routing-table limit
to restore the default.
Syntax
routing-table
limit
number
{
warn-threshold
|
simply-alert
}
undo routing-table limit
Default
No limit is set to the route number for a VPN instance.
Views
VPN instance view, IPv4 VPN view, IPv6 VPN view
Predefined user roles
network-admin
Parameters
number
: Specifies the maximum number of routes. The value range is 1 to 8192 in VPN instance view
and IPv6 VPN view, and is 1 to 16384 in IPv4 VPN view.
warn-threshold
: Specifies a warning threshold, in the range of 1 to 100 in percentages. When the
percentage of the number of existing routes to the maximum number of routes exceeds the specified
threshold, the system gives an alarm message but still permits new routes. If the number of routes in the
VPN instance reaches the maximum, no more routes are added.
simply-alert
: Specifies that when the maximum route number is reached, the system still accepts routes
but generates a syslog message.
Description
This command prevents the MCE from learning excessive routes.
If you execute this command multiple times, the most recent configuration takes effect.
The setting configured in VPN instance view applies to both the IPv4 VPN and IPv6 VPN. The setting
configured in IPv4 VPN view applies only to the IPv4 VPN. The setting configured in IPv6 VPN view
applies only to the IPv6 VPN.
The setting configured in IPv4 VPN view or IPv6 VPN view takes precedence over that configured in VPN
instance view. If you configure a limit in both IPv4 VPN view (or IPv6 VPN view) and VPN instance view,
the IPv4 VPN (IPv6 VPN) uses the limit configured in IPv4 VPN view (IPv6 VPN view).
Examples
# Specify that VPN instance
vpn1
can still learn new routes after the maximum number of 1000 routes
is reached but generates a syslog.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 100:1
[Sysname-vpn-instance-vpn1] routing-table limit 1000 simply-alert
# Specify that IPv4 VPN instance
vpn1
can still learn new routes after the maximum number of 1000
routes is reached but generates a syslog.
<Sysname> system-view