ZXR105900ESeriesCongurationGuide(IPv4Routing)
TocongureBGPcommunitystringattributes,performthefollowingsteps.
StepCommandFunction
1ZXR10(config)#route-map<map-tag>[permit|
deny][<sequence-number>]
Thisdenesaroutemap.
2ZXR10(config)#ipprefix-list<prefix-list-name>[seq
<seq-number>]{permit|deny}<network-num><len>[ge
<value>|le<value>]
Thisconguresalistof
addressprexes.Itisused
toltertheadvertisementsof
routingprotocol.
ZXR10(config)#route-map<map-tag>[permit|
deny][<sequence-number>]
Thisentersroutemapping
congurationmode.
ZXR10(config-route-map)#setas-pathprepend
<as-path-number>[<as-path-number>]
ThismodiesBGProuteAS
path.
ZXR10(config-route-map)#setlocal-preference
<value>
ThisspeciespriorityforAS
path.
ZXR10(config-route-map)#setipmetric[+|
-]<metric-value>
Thisconguresthemetricof
routing.
ZXR10(config-route-map)#setcommunity
{none|[additive]{no-advertise|no-export|
no-export-subconfed|<aa:nn>|<nn>}[{no-advertise|
no-export|no-export-subconfed|<aa:nn>|<nn>}]}
Thissetscommunityattribute
ofBGProute.
3
ZXR10(config-route-map)#setdampening
<half-life><reuse><suppress><max-suppress-time>
ThissetsBGProute
dampening.
Descriptionsoftheparametersusedbystep1areshownbelow.
ParameterDescription
<map-tag>Thenameofroutemapping,thelengthis1-31characters.
permitPermitredistributioniftheroutemappingmatches
condition
denyDonotpermitredistributioniftheroutemappingmatches
condition
<sequence-number>Sequencenumber,rangingfrom0-65535
Descriptionsoftheparametersusedbystep2areshownbelow.
ParameterDescription
<prefix-list-name>Thenameofprex-list,thelengthis1-31characters
seq<seq-number>Sequencenumberofprex-listentry.Thematching
startsfromtheonewithsmallervalue.Therangeis
1-4294967294
5-42
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential