Configuring BGP 469
By default, AS serial number, BGP community attribute, next hop, local preference,
metric value, and origin attributes are not applied.
See “Define Apply Clause “of “Configuration of IP Routing Policy” for details.
Configuring a Route
Filter for BGP
Perform the following configurations in BGP view.
Configure a route filter for information received by BGP
Table 556 Filter Routing Information Received from BGP
Set the communities attributes apply community { { [aa:nn ] [
no-export-subconfed ] [ no-advertise
] [ no-export ] } [ additive ] | none
| additive }
Delete the communities attributes undo apply community
Set the next hop of BGP routing
information
apply ip next-hop ip-address
delete the next hop of BGP routing undo apply ip next-hop
Set the local preference value of source
route
apply local-preference value
Cancel the local preference value of
source route
undo apply local-preference
Apply cost to the imported routes apply cost cost
Restore the destination routing protocol's
cost value
undo apply cost
Set the origin attribute of the original
route in the Route-policy
apply origin { igp | egp as-number |
incomplete }
Remove the origin attribute undo apply origin
Operation Command
Operation Command
Filter routing information received from a
specified gateway
filter-policy gateway
prefix-list-name import
Change or cancel filtering the routing
information received from a specified
gateway
undo filter-policy gateway
prefix-list-name import
Filter the routing information received filter-policy {acl-number | ip-prefix
prefix-list-name } import
Change or cancel filtering routing
information received
undo filter-policy {acl-number |
ip-prefix prefix-list-name } import
Configure to filter the routing information
received from the specified address and
that matching prefix-list.
filter-policy ip-prefix
prefix-list-name { gateway
prefix-list-name | import }
Configure not to filter the routing
information received from the specified
address and that matching prefix-list.
undo filter-policy ip-prefix
prefix-list-name { gateway
prefix-list-name | import }