Figure 5-10 Filtering Route By Using Nlri - Zte ZXR10 5900E Series Configuration Manual

Easy-maintenance mpls routing switch (ipv4 routing)
Hide thumbs Also See for ZXR10 5900E Series:
Table of Contents

Advertisement

ZXR10 5900E Series Configuration Guide (IPv4 Routing)
As shown in
of EBGP peers, S2 and S4 are a pair of EBGP peers, S2 and S4 are a pair of EBGP
peers. To avoid AS100 to act as transitive AS and prevent S1 from advertising network
segment 192.18.10.0/24 of AS300 to AS200, configure filter function on S1.

Figure 5-10 Filtering Route by Using NLRI

Configuration on S1(The following content omits configuration of port and IGP):
S1(config)#router bgp 100
S1(config-bgp)#no synchronization
S1(config-bgp)#neighbor 182.17.1.2 remote-as 100
S1(config-bgp)#neighbor 182.17.1.2 next-hop-self
S1(config-bgp)#neighbor 182.17.20.1 remote-as 200
S1(config-bgp)#neighbor 182.17.20.1 route-map MAP1 out
S1(config-bgp)#exit
S1(config)#route-map MAP1 permit 10
S1(config-route-map)#match ip address 1
S1(config-route-map)#exit
S1(config)#ipv4-access-list 1
S1(config-ipv4-acl)#rule 1 deny 192.18.10.0 0.0.0.255
S1(config-ipv4-acl)#rule 2 permit any
The route-map command and ACL are used to prevent S1 from advertising the route
with prefix 192.18.10.0/24 to AS200, that is, this route is filtered on S1. Therefore, S3
can not learn the route 192.18.10.0/24.
To view BGP routing table on S3, use the show ip bgp route command.
S3#show ip bgp route
Status codes: *-valid, >-best, i-internal,s-stale
Origin codes: i-IGP, e-EGP, ?-incomplete
Network
*>192.168.11.0/24
SJ-20150114102049-003|2015-01-15 (R1.0)
Figure
5-10, S1 and S2 are a pair of IBGP peers, S1 and S3 are a pair
Next Hop
Metric
182.17.20.2
5-30
LocPrf
RtPrf
Path
20
300
100 i
ZTE Proprietary and Confidential

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents