Configuring The Route Filtering Policy Based On As-Path List; Configuring The Route Filtering Policy Based On Ip Prefix - 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 export: filters the routes sent to a specified remote MBGP peer or peer group. Only the routes
----End

9.5.5 Configuring the Route Filtering Policy Based on AS-Path List

An AS_Path filter specifies rules for filtering routes regarding AS_Path attributes.
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 } as-path-filter { as-path-filter-number | as-path-
filter-name } { import | export }
The MBGP routing policy based on the AS-Path list is configured to control the route exchange
with a specified remote MBGP route.
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 as-path-filter-number and as-path-filter-name: specifies the AS-Path list.
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.6 Configuring the Route Filtering Policy Based on IP Prefix

By configuring an IP prefix list, you can filter MBGP routes based on route prefixes.
Issue 01 (2012-03-15)
that pass the filtering are sent.
NOTE
The configuration is optional. By default, the route filtering policy based on the AS-Path list is not
configured.
routes that pass the filtering are received.
that pass the filtering are sent.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 MBGP Configuration
570

Advertisement

Table of Contents
loading

Table of Contents