3com 8807 Reference Guide

Page of 1099
520
C
HAPTER
 27: BGP C
ONFIGURATION
 C
OMMANDS
View
BGP view
Parameter
acl-number: Number of IP access control list, in the range of 2000 to 3999.
ip-prefix-name: Name of an address prefix list. It is used for filtering routing 
information by destination address. Its length ranges from 1 to 19.
gateway ip-prefix-name: Name of a peer-router address prefix list. It is used for 
filtering routing information by peer-router address. Its length ranges from 1 to 
19.
Description
Use the filter-policy gateway import command to filter the learned routing 
information advertised by the peer with the specified address.
Use the undo filter-policy gateway import command to cancel the filtration to 
the routing information advertised by the peer with specified address.
Use the filter-policy import command to filter the received global routing 
information. Use the undo filter-policy import command to remove the 
filtration to the received global routing information.
By default, filtration to the received routing information is not configured.
This command can be used to filter the routes received by BGP and determines 
whether to add the routes to the BGP routing table.
Example
# Use ACL 2000 to filter the routing information received by BGP.
[3Com-bgp] filter-policy 2000 import 
group
Syntax
group group-name [ internal | external ]
undo group group-name
View
BGP view
Parameter
group-name: Specifies the name of the peer group. It can consist of numbers or 
letters with a length ranging from 1 to 47. group-name is locally significant.
internal: Specifies the type of the peer group as IBGP.
external: Specifies the type of the peer group as EBGP, including other groups of 
other sub-ASs in the confederation.