Chapter5BGPConguration
StepCommandFunction
ZXR10(config)#routerbgp<as-number>ThisentersBGProute
congurationmode.
3
ZXR10(config-bgp)#neighbor[<ipv4-address>|<peer-gr
oup-name>]route-map<map-tag>{in|out}
Thisdenesaroutemap,
lteringtherouteswhichare
advertisedbyneighbororare
senttoneighbor.
inimpliestheinputroute.
outimpliestheoutputroute.
Descriptionsoftheparametersusedbystep1areshownbelow.
ParameterDescription
<map-tag>Nameofroutemapping,thelengthis1-31characters
permitPermitredistributioniftheroutemappingmatches
condition
denyDonotpermitredistributioniftheroutemappingmatches
condition
<sequence-number>Sequencenumber,0-65535
Descriptionsoftheparametersusedbystep2areshownbelow.
ParameterDescription
<acl-name>StandardACLtablename,thelengthis1-31characters
<rule-no>ACLrulerange:1-2147483644.
permitPermitthepacketsmatchingruletopass
denyDenythepacketsmatchingruletopass
<source>SourceIPaddress
<source-wildcard>WildmaskofsourceIPaddress
anyAnysourceIPaddress
Descriptionsoftheparametersusedbystep3areshownbelow.
ParameterDescription
<ipv4-address>IPv4addressofneighbor,indotteddecimalnotation
<peer-group-name>peer-groupname
<map-tag>Thenameofroutemapping,thelengthis1-31characters
in|outItappliestoinorout
CongurationExample
5-29
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential