
339
Examples
# Specify that the VPN instance
vpn1
supports up to 1000 routes and can receive new routes after the
number of existing routes exceeds the limit.
<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
rr-filter
Description
Use the
rr-filter
command to create an RR reflection policy.
Use the
undo rr-filter
command to disable the function.
Only IBGP routes whose route target extended community attributes satisfy the matching conditions are
reflected. This provides a way to implement load balancing between RRs.
Syntax
rr-filter
extended-community-list-number
undo rr-filter
View
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, VPLS address family view
Default level
2: System level
Parameters
extended-community-list-number
: Specifies the number of the extended community list supported by the RR
group, ranging from 1 to 199.
Examples
# In BGP-VPNv4 subaddress family view, create an RR group and configure it to filter the incoming
VPNv4 route update packets automatically based on the route target extended community attribute.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] rr-filter 10
# In BGP-L2VPN address family view, create an RR group and configure it to filter the incoming VPNv4
route update packets automatically based on the route target extended community attribute.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] rr-filter 10
# In VPLS address family view, create an RR group and configure it to filter the incoming VPNv4 route
update packets automatically based on the route target extended community attribute.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] vpls-family