Configuring The Route Filtering Policy Globally - 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
No.
2
3
4
5
6
7

9.5.2 Configuring the Route Filtering Policy Globally

By configuring an MBGP routing policy, you can control route exchange with any remote MBGP
peer.
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:
filter-policy { acl-number | acl-name acl-name | ip-prefix ip-prefix-name } import
MBGP routing policy is configured to filter the received routes.
The parameters of the command are explained as follows:
l acl-number and acl-name acl-name: specifies the address filtering table.
l ip-prefix-name: specifies the address prefix list.
l import: filters the routes sent by any MBGP peer. Only the routes that pass the filtering are
Issue 01 (2012-03-15)
Data
Address of a peer or name of a peer group
Name of the routing policy, sequence number of the node, and matching rule
ID of the ACL
AS-Path filter
IP-Prefix
The threshold of the route-limit
NOTE
The configuration is optional and is applicable to the route exchange with any peer.
received.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 MBGP Configuration
567

Advertisement

Table of Contents
loading

Table of Contents