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

Page 452

Advertising
background image

437

To do…

Use the command…

Remarks

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 ]

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 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

Follow these steps to configure outbound IPv6 MBGP route filtering:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 MBGP address family
view

ipv6-family multicast

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 ACL 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 commands.
No filtering is configured by

default.
You can configure filter

policies as required. If you
configure multiple filter

policies, they are applied in

the following order:

filter-policy export

peer filter-policy export

peer as-path-acl export

peer ipv6-prefix export

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.

NOTE:

Members of an IPv6 MBGP peer group must have the same outbound route filtering policy as the peer
group.

IPv6 BGP advertises the redistributed routes that pass the specified policy to the IPv6 MBGP peer.

Advertising