![Zte ZXR10 GER Скачать руководство пользователя страница 261](http://html.mh-extra.com/html/zte/zxr10-ger/zxr10-ger_user-manual_941752261.webp)
Chapter 16 BGP Configuration
Confidential and Proprietary Information of ZTE CORPORATION
239
In this example, the
route-map
command and the access list
command
access-list
are used to prevent R1 from advertising
prefix 192.18.10.0/24 to AS200.
This command can also be used to filter certain network prefix to
be advertised.
ZXR10(config-router)#bgp filter out deny peer-ip 182.17.20.1
network 192.18.10.0 0.0.0.255
Route Filtering by Means of
AS_PATH
If all routers in one or multiple ASs need filtering, normally route
filtering based on AS path information is used. This filtering
method can avoid the complexity caused by prefix-based
filtering.
Refer to below procedure for route filtering by means of
AS_PATH configuration on ZTE ZXR10 GER.
Router Command Line Interface has been accessed.
BGP is running on a network.
1. To configure route filtering by means of AS_PATH, use
ip as-
path access-list
<
access-list-number
>
{
permit|deny
}
<
as-regular-expression
> command in global config mode as
T
A B L E
2 9 2
I
P
A
S
- P
A T H
A
C C E S S
- L
I S T
C
O M M A N D
Command Format
Command
Mode
Command
Function
ip as-path access-list
<
access-list-number
>
{
permit|deny
} <
as-
regular-expression
>
Global
This defines BGP
access list
Result:
This configures an ip as-path access list.
E
ND OF STEPS
Example:
As shown in Figure 98 , router filtering based on AS
path also can be used so that R1 will not advertise the network
192.18.10.0/24 from AS300 to AS200. The configuration is as
follows:
Introduction
Purpose
Prerequisite
Steps
Содержание ZXR10 GER
Страница 4: ...This page is intentionally blank ...
Страница 14: ...This page is intentionally blank ...
Страница 22: ......
Страница 24: ......
Страница 140: ......
Страница 206: ......
Страница 232: ......
Страница 248: ......
Страница 294: ......
Страница 326: ......
Страница 386: ......
Страница 407: ...Tables Confidential and Proprietary Information of ZTE CORPORATION 385 Table 426 Debug Ip Msdp Command 358 ...
Страница 408: ......