R21xx-HP FlexFabric 11900 Layer 3 IP Routing Command Reference

298
# In BGP-VPN IPv4 unicast address family view, specify the maximum number of routes that can be
received from peer 1.1.1.1 to 10000, and configure the router to tear down the connection to the peer if
the number is exceeded.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] ipv4-family unicast
[Sysname-bgp-ipv4-vpn1] peer 1.1.1.1 route-limit 10000
# In BGP IPv6 unicast address family view, specify the maximum number of routes that can be received
from peer 1::1 to 10000, and configure the router to tear down the connection to the peer if the number
is exceeded.
<Sysname> system-view
[Sysname] bgp 109
[Sysname-bgp] ipv6-family unicast
[Sysname-bgp-ipv6] peer 1::1 route-limit 10000
peer route-policy
Use peer route-policy to apply a routing policy to routes incoming from or outgoing to a peer or peer
group.
Use undo peer route-policy to remove the configuration.
Syntax
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4
address family view/BGP VPNv6 address family view:
peer { group-name | ip-address } route-policy route-policy-name { export | import }
undo peer { group-name | ip-address } route-policy route-policy-name { export | import }
In BGP-VPN VPNv4 address family view:
peer { group-name | ip-address } route-policy route-policy-name import
undo peer { group-name | ip-address } route-policy route-policy-name import
In BGP IPv6 unicast address family view:
peer { group-name | ipv6-address } route-policy route-policy-name { export | import }
undo peer { group-name | ipv6-address } route-policy route-policy-name { export | import }
In BGP-VPN IPv6 unicast address family view:
peer { group-name | ipv6-address } route-policy route-policy-name { export | import }
undo peer { group-name | ipv6-address } ro
ute-policy route-policy-name { export | import }
Default
No routing policy is applied to routes from/to the peer or peer group.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP VPNv4 address
family view, BGP-VPN VPNv4 address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6
unicast address family view, BGP VPNv6 address family view