R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

340
A limit configured in IPv4 VPN view applies to only the IPv4 VPN.
IPv4 VPN prefers the limit configured in IPv4 view over the limit configured in VPN instance view.
Examples
# Specify that VPN instance vpn1 supports up to 1000 routes, and when routes exceed the limit, can
receive new routes but generates a system log message.
<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 the IPv4 VPN vpn2 supports up to 1000 routes, and when routes reaches 70% of the limit,
can receive new routes but generates a system log message.
<Sysname> system-view
[Sysname] ip vpn-instance vpn2
[Sysname-vpn-instance-vpn2] route-distinguisher 100:2
[Sysname-vpn-instance-vpn2] ipv4-family
[Sysname-vpn-ipv4-vpn2] routing-table limit 1000 70
rr-filter (BGP-VPNv4 subaddress family view/BGP-L2VPN
address family view/BGP-VPLS address family view)
Use rr-filter to create an RR reflection policy so that only IBGP routes whose Extended Communities
attribute matches the specified one are reflected.
Use undo rr-filter to restore the default.
Syntax
rr-filter extended-community-number
undo rr-filter
Default
An RR does not filter the reflected routes.
Views
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, BGP-VPLS address family view
Default command level
2: System level
Parameters
extended-community-number: Number of the Extended Communities attribute supported by the RR, in the
range of 1 to 199.
Usage guidelines
By configuring different RR reflection policies on different RRs, you can implement load balancing among
the RRs.
Examples
# In BGP-VPNv4 subaddress family view, specify an Extended Communities attribute for the RR to filter
the incoming VPNv4 route update packets.