3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
978 CHAPTER 72: BGP CONFIGURATION COMMANDS
rip process-id: Filters outgoing routes redistributed from a RIP process. The ID is in
the range 1 to 65535.
static: Filters static routes.
If no routing protocol is specified, all outgoing routes are filtered.
Description Use the
filter-policy export command to filter outgoing redistributed routes
and only the routes permitted by the specified filter can be advertised.
Use the
undo filter-policy export command to remove the filtering.
If no routing protocol is specified, the filtering applies to all outgoing redistributed
routes.
By default, the filtering is not configured.
Examples # In BGP view, reference ACL 2000 to filter all outgoing redistributed routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] filter-policy 2000 export
# In BGP-VPN instance view, reference ACL 2000 to filter all outgoing redistributed
routes (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] filter-policy 2000 export
filter-policy import (BGP/BGP-VPN instance view)
Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy import
View BGP view/BGP-VPN instance view
Parameters acl-number: Number of an ACL used to filter incoming routing information,
ranging from 2000 to 3999.
ip-prefix-name: Name of an IP prefix list used to filter incoming routing
information, a string of 1 to 19 characters.
Description Use the
filter-policy import command to configure the filtering of incoming
routing information.
Use the
undo filter-policy import command to remove the filtering.
By default, incoming routing information is not filtered.