Configuring BGP 469

 

 

Operation

Command

 

 

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

apply ip next-hop ip-address

information

 

 

 

delete the next hop of BGP routing

undo apply ip next-hop

 

 

Set the local preference value of source

apply local-preference value

route

 

 

 

Cancel the local preference value of

undo apply local-preference

source route

 

 

 

Apply cost to the imported routes

apply cost cost

 

 

Restore the destination routing protocol's

undo apply cost

cost value

 

 

 

Set the origin attribute of the original

apply origin { igp egp as-number

route in the Route-policy

incomplete }

 

 

Remove the origin attribute

undo apply origin

 

 

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 Perform the following configurations in BGP view.

Filter for BGP

Configure a route filter for information received by BGP

Table 556 Filter Routing Information Received from BGP

Operation

Command

 

 

Filter routing information received from a

filter-policy gateway

specified gateway

prefix-list-name import

 

 

Change or cancel filtering the routing

undo filter-policy gateway

information received from a specified

prefix-list-name import

gateway

 

 

 

Filter the routing information received

filter-policy {acl-number ip-prefix

 

prefix-list-name } import

 

 

Change or cancel filtering routing

undo filter-policy {acl-number

information received

ip-prefixprefix-list-name } import

 

 

Configure to filter the routing information

filter-policy ip-prefix

received from the specified address and

prefix-list-name { gateway

that matching prefix-list.

prefix-list-name import }

 

 

Configure not to filter the routing

undo filter-policy ip-prefix

information received from the specified

prefix-list-name { gateway

address and that matching prefix-list.

prefix-list-name import }

 

 

Page 473
Image 473
3Com 10014299 manual Filter for BGP