Operation Manual – Routing ProtocolH3C S7500 Series Ethernet Switches Chapter 4 OSPF Configuration4-184.6.6 Configuring OSPF to Redistribute RoutesFollow these steps to configure OSPF to redistribute routes:To do... Use the command... RemarksEnter system view System-view —Enter OSPF view ospf [ process-id[ router-id router-id ] ] —Enable OSPF toredistribute routes fromanother protocol(excluding the defaultroute)import-route protocol[ process-id | allow-ibgp ][ cost value | type value |tag value | route-policyroute-policy-name ]*RequiredBy default, OSPF doesnot import the routinginformation of otherprotocols.Enable OSPF to filteradvertised routesfilter-policy { acl-number| ip-prefixip-prefix-name } export[ protocol ]OptionalBy default, OSPF doesnot filter advertisedroutes.Enable OSPF to importthe default routedefault-route-advertise[ always | cost value |type type-value |route-policyroute-policy-name ]*RequiredBy default, OSPF doesnot import the defaultroute.Configure the default costfor OSPF to importexternal routesdefault cost valueOptionalBy default, the cost forOSPF to import externalroutes is 1.Configure the defaultmaximum number ofexternal routes that canbe imported by OSPF perunit time.default limit routesOptionalBy default, a maximum of1000 routes can beimported.Configure the default tagfor OSPF to importexternal routesdefault tag tag OptionalThe default tag is 1.Configure the default typeof external routes thatOSPF will importdefault type { 1 | 2 }OptionalBy default, the type ofimported external routesis Type-2.