3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
996
C
HAPTER
 72: BGP C
ONFIGURATION
 C
OMMANDS
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.
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 is specified.
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-vpn1] peer test ip-prefix list1 export 
peer keep-all-routes (BGP/BGP-VPN instance view)
Syntax
peer { group-name | ip-address keep-all-routes
undo peer { group-name | ip-address keep-all-routes
View
BGP view/BGP-VPN instance view
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Description
Use the peer keep-all-routes command to save original routing information 
from a peer or peer group, even routes that failed to pass the inbound policy (if 
configured).
Use the undo peer keep-all-routes command to disable this function.
By default, the function is not enabled.
Examples
# In BGP view, save routing information from peer 131.100.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