Chapter5BGPConguration
StepCommandFunction
ZXR10(config)#ipv4-access-list{name<acl-name>}ThisentersstandardACL
congurationmodeand
conguresACLnumber,
nameandalias.
2
ZXR10(config-ipv4-acl)#rule<rule-no>{permit|
deny}{<source>[<source-wildcard>]|any}
Thisdenestheruleof
standardACL.
ZXR10(config)#route-map<map-tag>[permit|
deny][<sequence-number>]
Thisentersroutemapping
congurationmode.
3
ZXR10(config-route-map)#setmetric[+|
-]<metric-value>
ThissetstheMEDofBGP .
Descriptionsoftheparametersusedbystep1areshownbelow.
ParameterDescription
<map-tag>Thenameofroutemapping,thelengthis1-31characters
permitPermitredistributioniftheroutemappingmatches
condition
denyDonotpermitredistributioniftheroutemappingmatches
condition
<sequence-number>Sequencenumber,rangingfrom0-65535
Descriptionsoftheparametersusedbystep2areshownbelow.
ParameterDescription
<acl-name>StandardACLlistname,thelengthisl-31characters.
<rule-no>ACLrulerange:1-2147483644.
permitPermitthematchedpacketstopass
denyDenythematchedpacketstopass
<source>SourceIPaddress
<source-wildcard>WildmaskofsourceIPaddress
anyAnysourceIPaddress
Descriptionsoftheparametersusedbystep3areshownbelow.
ParameterDescription
+AddMEDvalue
-DecreaseMEDvalue
<metric-value>MEDvalue,therangeis0-4294967295
5-39
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential