ZXR105900ESeriesCongurationGuide(IPv4Routing)
Tocongurerouteredistribution,performthefollowingsteps:
StepCommandFunction
1ZXR10(config)#routerospf<process-id>[vrf<vrf-name>]EntersOSPFroutingmode.
2ZXR10(config-ospfv2)#redistribute<protocol>[as
<as-number>][peer<peer-address>][tag<tag-value>][metric
<metric-value>][metric-type<type>][route-map<map-tag>]
Controlstheredistributionof
routes(theseroutesmeet
therelativeconditions)of
otherprotocolsintoanOSPF
autonomoussystem.After
thecommandisexecuted,the
routerbecomesanASBR.
ForadescriptionoftheparametersinStep2,refertothefollowingtable:
ParameterDescription
protocolPerformlteringoperationsinaccordancewithprotocol
types,Options:connected,staticandRIP ,bgp-extand
bgp-int,IS-IS-1,IS-IS-1-2andIS-IS-2.
as<as-number>Ifprotocolissettobgp-ext,twoadditionalconditionsare
available,<as-number>and<peer-address>.<as-number>is
theASnumberofthepeerrouter.Itsrangeisfrom1to
65535.
peer<peer-address>IPaddressofthepeerrouter.
tag<tag-value>TagoftheredistributedLSA.Range:0-4294967295.
metric<metric-value>MetricvalueoftheredistributedLSA.Bydefault,usethe
defaultmetric.Range:1-16777214.
metric-type<type>Metric-typeoftheredistributedLSA.Value:ext-1andext-2.
Bydefault,itisext-2.
route-map<map-tag>Redistributedroutemappingname.Length:1-16characters.
CongurationExample
RedistributeRIProutesinarea0,seeFigure3-10.
RouterIDsarelistedbelow.
DeviceRouterID
S11.1.1.2
S21.1.1.3
3-30
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential