HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 108
import-route (OSPF view
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 108 highlights
cost: Cost of the route, in the range of 1 to 65535. Description Use host-advertise to advertise a host route. Use undo host-advertise to remove a host route. No host route is advertised by default. Examples # Advertise route 1.1.1.1 with a cost of 100. system-view [Sysname] ospf 100 [Sysname-ospf-100] area 0 [Sysname-ospf-100-area-0.0.0.0] host-advertise 1.1.1.1 100 import-route (OSPF view) Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | type type | tag tag | route-policy route-policy-name ] * View undo import-route protocol [ process-id | all-processes ] OSPF view Default level 2: System level Parameters protocol: Redistributes routes from the specified protocol, which can be bgp, direct, ospf, rip, or static. process-id: Process ID, in the range of 1 to 65535. The default is 1. It is available only when the protocol is rip or ospf. all-processes: Redistributes routes from all the processes of the specified routing protocol. This keyword takes effect only when the protocol is rip or ospf. allow-ibgp: Allows IBGP routes redistribution. It is optional only when the protocol is bgp. cost cost: Specifies a route cost, in the range of 0 to 16777214. The default is 1. type type: Specifies a cost type, 1 or 2. The default is 2. tag tag : Specifies a tag for external LSAs. The default is 1. route-policy route-policy-name: Specifies a routing policy to redistribute qualified routes only. A routing policy name is a string of up to 63 case-sensitive characters. Description Use import-route to redistribute routes from another protocol. Use undo import-route to disable route redistribution from a protocol. Route redistribution from another protocol is not configured by default. OSPF prioritize routes into the following levels: 97