R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

273
Default
No IP prefix list based filtering is configured.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
ip-prefix-name: Specifies the IP prefix list name, a string of 1 to 19 characters.
export: Applies the filter to routes advertised to the specified peer/peer group.
import: Applies the filter to routes received from the specified peer/peer group.
Examples
# In BGP view, use the IP prefix list list 1 to filter routes advertised to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test ip-prefix list1 export
# In BGP-VPN view, use the IP prefix list list 1 to filter routes advertised to the peer group test. (The VPN
has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test ip-prefix list1 export
peer keep-all-routes (BGP/BGP-VPN instance view)
Use peer keep-all-routes to save original routing information from a peer or peer group, regardless of
whether the routes have passed the configured routing policy.
Use undo peer keep-all-routes to disable this function.
Syntax
peer { group-name | ip-address } keep-all-routes
undo peer { group-name | ip-address } keep-all-routes
Default
The function is not enabled.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level