l group-name specifies an MBGP peer group.
l ipv4-address: specifies the IP address of the remote MBGP peer.
l route-policy-name: specifies the routing policy.
l import: filters the routes sent by a specified remote MBGP peer or peer group. Only the
routes that pass the filtering are received.
l export: filters the routes sent to a specified remote MBGP peer or peer group. Only the routes
that pass the filtering are sent.
----End
9.5.4 Configuring the Route Filtering Policy Based on ACL
By defining an ACL, you can specify the IP address and subnet range to match the destination
network segment address or the next hop address of a route.
Context
Do as follows on the switch configured with an MBGP peer:
NOTE
The configuration is optional. By default, the route filtering policy based on the ACL is not configured.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
bgp as-number
The BGP view is displayed.
Step 3 Run:
ipv4-family multicast
The BGP-IPv4 multicast address family view is displayed.
Step 4 Run:
peer { ipv4-address | group-name } filter-policy { acl-number | acl-name acl-name }
{ import | export }
The MBGP routing policy based on the ACL is configured to control the route exchange with
a specified remote MBGP peer.
The parameters of the command are explained as follows:
l group-name specifies an MBGP peer group.
l ipv4-address: specifies the IP address of a remote MBGP peer.
l acl-number and acl-name acl-name: specifies the ACL.
l import: filters the routes sent by a specified remote MBGP peer or peer group. Only the
routes that pass the filtering are received.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 9 MBGP Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
569