Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-27
Description
Using filter-policy gateway import command, you can filter the learned routing
information advertised by the peer with the specified address. Using undo filter-policy
gateway import command, you can cancel the filtration to the routing information
advertised by the peer with specified address.
Using filter-policy import command, you can filter the received global routing
information. Using undo filter-policy import command, you can 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.
[Quidway-bgp] filter-policy 2000 import
5.1.28 group
Syntax
group group-name [ internal | external ]
undo group group-name
View
BGP view
Parameter
group-name: Specify the name of the peer group. group-name is locally significant.
internal: Specify the type of the peer group as IBGP.
external: Specify the type of the peer group as EBGP.
Description
Using group group-name command, you can establish a peer group. Using undo
group group-name command, you can cancel the configured peer group.
The default type of BGP peer group is internal.
The external peer group members must be in the same network segment. Otherwise,
some EBGP peers may discard the transmitted route update.
Example
# Create a BGP group named test.