Figure 5-15 Use Community To Control Routes - 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)

Figure 5-15 Use Community to Control Routes

AS300 router (The following content omits configuration of port and IGP)
configuration:
ZXR10_AS300(config)#router bgp 300
ZXR10_AS300(config-bgp)#network 10.0.4.0 255.255.255.0
ZXR10_AS300(config-bgp)#neighbor 192.168.1.9 remote-as 200
ZXR10_AS300(config-bgp)#neighbor 192.168.1.9 activate
ZXR10_AS300(config-bgp)#neighbor 192.168.1.18 remote-as 600
ZXR10_AS300(config-bgp)#neighbor 192.168.1.18 activate
ZXR10_AS300(config-bgp)#network 10.0.4.0 255.255.255.0
ZXR10_AS300(config-bgp)#neighbor 192.168.1.18 route-map community out
ZXR10_AS300(config-bgp)#neighbor 192.168.1.18 send-community
ZXR10_AS300(config-bgp)#exit
ZXR10_AS300(config)#ip prefix-list AS200 seq 5 permit 10.0.3.0 24
ZXR10_AS300(config)#route-map Community permit 10
ZXR10_AS300(config-route-map)#match ip address prefix-list AS200
ZXR10_AS300(config-route-map)#set community 300:1
ZXR10_AS300(config-route-map)#exit
AS400 router (The following content omits configuration of port and IGP)
configuration:
ZXR10_AS400(config)#router bgp 300
ZXR10_AS400(config-bgp)#network 10.0.2.0 255.255.255.0
ZXR10_AS400(config-bgp)#neighbor 192.168.1.1 remote-as 100
ZXR10_AS400(config-bgp)#neighbor 192.168.1.1 activate
ZXR10_AS400(config-bgp)#neighbor 192.168.1.14 remote-as 600
ZXR10_AS400(config-bgp)#neighbor 192.168.1.14 activate
ZXR10_AS400(config-bgp)#network 10.0.2.0 255.255.255.0
5-44
SJ-20150114102049-003|2015-01-15 (R1.0)
ZTE Proprietary and Confidential

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents