Configuring The Route Filtering Policy Based On Acl - Huawei S6700 Series Configuration Manual

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
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
l export: filters the routes sent to a specified remote MBGP peer or peer group. Only the routes
----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:
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
Issue 01 (2012-03-15)
routes that pass the filtering are received.
that pass the filtering are sent.
NOTE
The configuration is optional. By default, the route filtering policy based on the ACL is not configured.
routes that pass the filtering are received.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 MBGP Configuration
569

Advertisement

Table of Contents
loading

Table of Contents