R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

274
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
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.
Examples
# I n B G P v i e w, s a ve r o u t i n g i n f o r m a t i o n f ro m p e e r 131.10 0 .1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 131.100.1.1 as-number 200
[Sysname-bgp] peer 131.100.1.1 keep-all-routes
# I n B G P-V P N i n s t a n c e v i e w, s a ve r o u t i n g i n f o r m a t i o n f ro m p e e r 131.10 0 .1.1. ( T h e V P N h a s b e e n c re a t e d . )
<Sysname> system-view
[Sysname] bgp 100