Zte ZXR10 GER User Manual page 260

Excellent router
Table of Contents

Advertisement

ZXR10 GER (V2.6.03) General Excellent Router User Manual Volume-I
238
Confidential and Proprietary Information of ZTE CORPORATION
T
2 9 1 A
A B L E
C C E S S
Command Format
access-list
<number>
deny/permit
ip address
<ip address>
<network mask>
Result: This configures a prefix parameter for denying
certain network prefix.
E
ND OF STEPS
Example: As shown in Figure 98, R1 and R2 are mutually IBGP
peers, R1 and R3 are mutually EBGP peers, and R4 and R2 are
mutually EBGP peers.
F
9 8 R
F
I G U R E
O U T E
I L T E R I N G B Y
AS100
R1
182.17.1.1/30
182.17.20.2/30
AS200
182.17.20.1/30
R3
To prevent AS100 from playing the role of a transitional AS, the
network 192.18.10.0/24 from AS300 can be advertised to
AS200. R1 is configured with filtering function as follows:
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#no synchronization
ZXR10_R1(config-router)#neighbor 182.17.1.2 remote-as 100
ZXR10_R1(config-router)#neighbor 182.17.20.1 remote-as 200
ZXR10_R1(config-router)#neighbor 182.17.20.1 route-map MAP1
out
ZXR10_R1(config)#route-map MAP1 permit 10
ZXR10_R1(config-route-map)#match ip address 1
ZXR10_R1(config)#access-list 1 deny 192.18.10.0 0.0.0.255
ZXR10_R1(config)#access-list 1 permit 0.0.0.0 255.255.255.255
- L
C
I S T
O M M A N D
Command
Mode
Global
M
O
N
E A N S
F
L R I
182.17.1.2/30
R2
AS300
192.18.10.0/24
R4
Command Function
This prevents certain
network prefix for
advertising into BGP

Advertisement

Table of Contents
loading

Table of Contents