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

Page 452

Advertising
background image

436

Step

Command

Remarks

3.

Enter IPv6 MBGP address
family view.

ipv6-family multicast

N/A

4.

Advertise a default route to an
IPv6 MBGP peer or peer

group.

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

[ route-policy

route-policy-name ]

Not advertised by default.
With the peer default-route-advertise
command executed, the router sends a

default route with the next hop as itself
to the specified IPv6 MBGP peer or the

specified peer group, regardless of

whether the default route is available in

the routing table.

Configuring outbound IPv6 MBGP route filtering

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 MBGP address

family view.

ipv6-family multicast

N/A

4.

Configure outbound IPv6
MBGP route filtering.

Configure the filtering of outgoing
routes:

filter-policy { acl6-number |

ipv6-prefix ipv6-prefix-name } export
[ protocol process-id ]

Specify an IPv6 ACL to filter routes

advertised to a peer or a peer group:
peer { ipv6-group-name |

ipv6-address } filter-policy

acl6-number export

Specify an AS path list to filter IPv6

MBGP routing information advertised

to a peer or a peer group:
peer { ipv6-group-name |

ipv6-address } as-path-acl

as-path-acl-number export

Specify an IPv6 prefix list to filter

routes advertised to a peer or a peer

group:
peer { ipv6-group-name |

ipv6-address } ipv6-prefix

ipv6-prefix-name export

Apply a routing policy to routes

advertised to a peer or a peer group:

peer { ipv6-group-name |
ipv6-address } route-policy

route-policy-name export

Use any of the methods.
By default, no filtering is
configured.
You can configure filter
policies as required. If you

configure multiple filter

policies, they are applied in
the following order:

5.

filter-policy export.

6.

peer filter-policy export.

7.

peer as-path-acl export.

8.

peer ipv6-prefix export.

9.

peer route-policy

export.

A filter policy can be applied
only after the previous one is

passed. Routing information

can be advertised only after

passing all the configured
filter policies.

Advertising