Filtering Route Based On As_Path - Zte ZXR10 5900E Series User Manual

All gigabit-port intelligent routing switch
Hide thumbs Also See for ZXR10 5900E Series:
Table of Contents

Advertisement

ZXR10 5900E Series User Manual (IPv4 Volume)
Command
ip as-path access-list <acl-number>{pe
ZXR10(config)#
rmit|deny}<as-regular-expression>
52
Confidential and Proprietary Information of ZTE CORPORATION
F
17 FILTERING ROUTES USING NLRI
IGURE
Avoid AS100 from being a transitional AS and advertise the net-
work 192.18.10.0/24 from AS300 to AS200. Filtering on R1 is
performed.
The configuration on R1 is shown below.
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#no synchronization
ZXR10_R1(config-router)#neighbor 182.17.1.2
ZXR10_R1(config-router)#neighbor 182.17.20.1
ZXR10_R1(config-router)#neighbor 182.17.20.1
ZXR10_R1(config-router)#exit
ZXR10_R1(config)#route-map MAP1 permit 10
ZXR10_R1(config-route-map)#match ip address 1
ZXR10_R1(config-route-map)#exit
ZXR10_R1(config)#acl standard number 1
ZXR10_R1(config-std-acl)#rule 1 deny 192.18.10.0 0.0.0.255
ZXR10_R1(config-std-acl)#rule 2 permit any
To prevent R1 from transmitting the prefix 192.18.10.0/24 to
AS200, route-map command and ACL is used.

Filtering Route Based on AS_PATH

When all routes in one or multiple ASs need to be filtered, AS
path-based route filtering is used. It avoids the complexity caused
by prefix filtering.
To set a new ACL for imported and exported updates based on AS
paths, use the following command.
remote-as 100
remote-as 200
route-map MAP1 out
Function
This sets a new ACL.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents