Setting Community Attribute; Setting Bgp Synchronization - 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)
St-
Command
ep
1
ZXR10(config)#
2
ZXR10(config-router)#
send-community
56
Confidential and Proprietary Information of ZTE CORPORATION

Setting Community Attribute

Community attribute is optional transition attribute, with the range
from 0 to 4,294,967,200. According to the Community attribute,
decisions are made on a group of routes.
Several recognized definitions of the Community attribute as fol-
lows:
No-export: Forbid advertising the neighbors of the EBGP.
No-advertise: Forbid advertising any neighbors of the BGP.End
of steps.
No-export-subconfed: Forbid advertising the route with the at-
tribute outside the confederation.
route-map
neighbor <ip-address>
In the following configuration, the R1 notifies the neighbor to for-
bid advertising the route 192.166.1.0/24 to other EBGP neighbors.
R1 configuration:
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#neighbor 3.3.3.3 remote-as 300
ZXR10_R1(config-router)#neighbor 3.3.3.3 send-community
ZXR10_R1(config-router)#neighbor 3.3.3.3 route-map setcommunityout
ZXR10_R1(config-router)#exit
ZXR10_R1(config)#route-map setcommunity permit 10
ZXR10_R1(config-route-map)#match ip address 1
ZXR10_R1(config-route-map)#set community no-export
ZXR10_R1(config-route-map)#exit
ZXR10_R1(config)#route-map setcommunity permit 20
ZXR10_R1(config-route-map)#exit
ZXR10_R1(config)#acl standard number 1
ZXR10_R1(config-std-acl)#rule 1 permit 192.166.1.0 0.0.0.255

Setting BGP Synchronization

In the AS100 both the R1 and the R2 run the IBGP, R5 does not
run the BGP. This is shown in
Function
This defines the Community
attribute
This sends the community
attribute to neighbor
Figure
20.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents