beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 27

background image

1-15

To do…

Use the command…

Remarks

Apply a filter policy to the routes to

be advertised

filter-policy

{ acl-number |

ip-prefix

ip-prefix-name } export

[ direct | isis process-id | ospf

process-id

| rip process-id |

static

]

Optional

By default, routes to be advertised

are not filtered.

Apply a filter policy to routes

received

filter-policy

{ acl-number |

ip-prefix ip-prefix-name

} import

Optional

By default, received routes are not

filtered.

Configure to permit the routes

with their AS numbers contained

in their AS_PATH attributes being

the local AS number (this

operation can also specify the

number of the AS number

occurrences allowed)

peer

{ group-name | ip-address }

allow-as-loop

[ number ]

Optional

By default, routes with their AS

numbers contained in their

AS_PATH attributes being the

local AS number are denied.

AS number contained in the AS_PATH attribute can be used for route loop detect. With EBGP
running between a MCE and a site, the routes advertised by an MCE device to the site carry the
local AS number. So do the routes advertised by the site. In this case, you need to configure to
permit the routes with their AS numbers contained in their AS_PATH attributes being the local AS
number on MCE devices for the routes advertised by the site to be received and processed by the
MCE device.

2) Configuration on the site

The site configuration procedures vary with device model. The following takes an S7500E Ethernet
switch as an example. As for switches from other vendors, see the corresponding user manuals.

Follow these steps to configure the site:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number