422 CHAPTER 31: R OUTING POLICY CONFIGURATIONn The apply ip-address next-hop command do not apply to redistributed IPv4routes.Displaying andMaintaining theRouting PolicyRouting PolicyConfigurationExampleApplying Routing PolicyWhen RedistributingIPv4 RoutesNetwork Requirements■ Switch B exchanges routing information with Switch A via OSPF, with Switch Cvia IS-IS.■ On Switch B, configure route redistribution from IS-IS to OSPF and apply arouting policy to set attributes of redistributed routes, setting the cost of route172.17.1.0/24 to 100, tag of route 172.17.2.0/24 to 20.Set a next hop for IPv4 routes apply ip-address next-hopip-addressOptionalNot set by defaultRedistribute routes to aspecified ISIS levelapply isis { level-1 | level-1-2 |level-2 }OptionalNot configured by defaultSet a local preference for BGProutesapply local-preferencepreferenceOptionalNot set by defaultSet an origin attribute for BGProutesapply origin { igp | egpas-number | incomplete }OptionalNot set by defaultSet a preference for thematched routing protocolapply preference preference OptionalNot set by defaultSet a preferred value for BGProutesapply preferred-valuepreferred-valueOptionalNot set by defaultSet a tag value for RIP, OSPFor IS-IS routesapply tag value OptionalNot set by defaultTo do… Use the command… RemarksTo do… Use the command… RemarksDisplay BGP AS path ACLinformationdisplay ip as-path [ as-path-number ] Available in anyviewDisplay BGP community listinformationdisplay ip community-list[ basic-community-list-number |adv-community-list-number ]Display BGP extendedcommunity list informationdisplay ip extcommunity-list[ ext-comm-list-number ]Display IPv4 prefix liststatisticsdisplay ip ip-prefix [ ip-prefix-name ]Display routing policyinformationdisplay route-policy[ route-policy-name ]Clear IPv4 prefix list statistics reset ip ip-prefix [ ip-prefix-name ] Available in userview