Configuring outbound mbgp route filtering – H3C Technologies H3C S10500 Series Switches User Manual

Page 255

Advertising
background image

240

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv4 MBGP address family
view

ipv4-family multicast

Advertise a default route to an
MBGP peer or peer group

peer { group-name | ip-address }
default-route-advertise

[ route-policy route-policy-name ]

Required
Not advertised by default.

NOTE:

With the peer default-route-advertise command executed, the router sends a default route with the next
hop as itself to the specified MBGP peer or peer group, whether the default route is available or not in the

routing table.

Configuring outbound MBGP route filtering

If several filtering policies are configured, they are applied in the following sequence:

filter-policy export

peer filter-policy export

peer as-path-acl export

peer ip-prefix export

peer route-policy export

Only the routes that have passed all the configured policies can be advertised.
Follow these steps to configure BGP route distribution filtering policies:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv4 MBGP address family
view

ipv4-family multicast

Advertising