HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 363
keyword is specified at the same, time
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 363 highlights
Use undo default-route-advertise to restore the default. Syntax default-route-advertise [ [ always | permit-calculate-other ] | cost cost | route-policy route-policy-name | type type ] * undo default-route-advertise Default No default route is redistributed into the OSPFv3 routing domain. Views OSPFv3 view Predefined user roles network-admin Parameters always: Generates a default route in an AS-external-LSA into the OSPFv3 routing domain regardless of whether a default route exists in the routing table. If this keyword is not specified, the router generates a default route in an AS-external-LSA into the OSPFv3 routing domain only when the default route exists in the IP routing table. permit-calculate-other: Enables OSPFv3 to calculate default routes received from other routers. Without this keyword, OSPFv3 does not calculate default routes from other routers. If the router does not generate any default route in an AS-external-LSA into the OSPFv3 routing domain, the router calculates default routes from other routers regardless of whether this keyword is specified. cost cost: Specifies a cost for the default route, in the range of 0 to 16777214. The default is 1. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. When a default route exists in the routing table and the specified routing policy is matched, the command generates a default route in an AS-external-LSA into the OSPFv3 routing domain, and the routing policy modifies some values in the AS-external-LSA. If the always keyword is specified at the same time, the command can generate a default route in an AS-external-LSA into the OSPFv3 routing domain when the specified routing policy is matched, regardless of whether a default route exists in the routing table, and the routing policy modifies some values in the AS-external-LSA. type type: Specifies a type for the AS-external-LSA, 1 or 2. The default is 2. Usage guidelines This command redistributes a default route in an AS-external-LSA, which cannot be redistributed with the import-route command. If the local routing table has no default route, you must provide the always keyword for the command. Examples # Generate a default route into the OSPFv3 routing domain. (The default route does not exist in the local router.) system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] default-route-advertise always Related commands import-route (OSPFv3 view) 352