3Com S7902E Command Reference Manual - page 917
1-53
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 based filtering is configured.
Examples
# In BGP view, use the IP prefix list
list 1
to filter routes advertised to the peer group
test
.
[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] 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
Default Level
2: System level
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,
including routes that fail 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.