3com S7906E Guide De Référence

Page de 2327
 
1-39 
import: Applies the filter to routes from the specified peer/peer group.  
Description 
Use the peer ip-prefix command to reference an IP prefix list to filter routes received from or advertised 
to a peer or peer group. 
Use the undo peer ip-prefix command to remove the configuration. 
By default, no IP prefix list based filtering is configured. 
Examples 
# In IPv4 MBGP address family view, use the IP prefix list 1 to filter routes outgoing to the peer group 
test
<Sysname> system-view 
[Sysname]bgp 100 
[Sysname-bgp]group test external 
[Sysname-bgp]peer test as-number 200 
[Sysname-bgp]ipv4-family multicast 
[Sysname-bgp-af-mul] peer test enable 
[Sysname-bgp-af-mul] peer test ip-prefix list1 export 
peer keep-all-routes (MBGP family view) 
Syntax 
peer { group-name | ip-address keep-all-routes 
undo peer { group-name | ip-address keep-all-routes 
View 
IPv4 MBGP address family view 
Default Level 
2: System level 
Parameters 
group-name: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.  
ip-address: IP address of an IPv4 MBGP peer.  
Description 
Use the peer keep-all-routes command to save original routing information from a peer or peer group, 
including routes that fail to pass the inbound policy (if configured).  
Use the undo peer keep-all-routes command to disable this feature.  
By default, the feature is not enabled.  
Examples 
# In IPv4 MBGP address family view, save all the routing information from peer 131.108.1.1. 
<Sysname> system-view 
[Sysname]bgp 100 
[Sysname-bgp] peer 131.108.1.1 as-number 100